Skip to content

fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2#235

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/kotlin-poet
Open

fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2#235
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/kotlin-poet

Conversation

@renovate

@renovate renovate Bot commented Apr 17, 2023

Copy link
Copy Markdown
Contributor

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.squareup:kotlinpoet 1.12.0 -> 1.14.2 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

square/kotlinpoet

v1.14.2

Compare Source

  • Fix: Fix one more missing API in binary compatibility override in Annotatable.Builder (#​1581).

v1.14.1

Compare Source

  • Fix: Restore ABI stability for annotatable and documentable builders (#​1580).

v1.14.0

Compare Source

Thanks to @​Omico, @​drawers, @​RBusarow for contributing to this release.

  • New: Kotlin 1.8.21.

  • New: KSP 1.8.21-1.0.11.

  • New: Enable default methods in Java bytecode (#​1561).

  • New: Group Kotlin and Renovate updates together in Renovate (#​1562).

  • New: Extract trait interface for annotatable constructs and their builders (#​1564).

  • New: Extract trait interface for documentable constructs and their builders (#​1571).

  • New: Document the usage of STAR (#​1572).

  • New: Add builder for FunSpec which accepts a MemberName (#​1574).

  • Fix: Omit public modifier on override function or constructor parameters (#​1550).

  • Fix: Correct handling of members in various types (#​1558).

  • Fix: Function return types now default to Unit unless explicitly set (#​1559).

    Previously the default was null which behaved like Unit for block bodies. When an expression body was produced,
    however, no return type would be emitted. This meant that the return type was implicit based on the contents of
    the body.

    With this change, when no return type is specified and an expression body is produced, the return type will be
    explicitly Unit. Specify the actual return type explicitly to correct the output.

    Old versions:

    val funSpec = FunSpec.builder("foo")
      .addStatement("return 1")
      .build()
    public fun foo() = 1

    This version, incorrect:

    val funSpec = FunSpec.builder("foo")
      .addStatement("return 1")
      .build()
    public fun foo(): Unit = 1 //

    This version, correct:

     val funSpec = FunSpec.builder("foo")
    +  .returns(INT)
       .addStatement("return 1")
       .build()
    public fun foo(): Int = 1 //

    Additionally, as part of this change, FunSpec.returnType has changed to be non-nullable. This is a source- and
    binary-compatible change, although if you were performing null-checks then new warnings may appear after upgrade.

  • Fix: Append nested class names to alias during name lookup (#​1568).

  • Fix: Allow PropertySpec with context receivers and without getter or setter (#​1575).

v1.13.2

Compare Source

What's Changed

New Contributors

Full Changelog: square/kotlinpoet@1.13.1...1.13.2

v1.13.1

Compare Source

What's Changed

New Contributors

Full Changelog: square/kotlinpoet@1.13.0...1.13.1

v1.13.0

Compare Source

What's Changed

  • New: Kotlin 1.8.0.
  • New: KSP 1.8.0-1.0.9.
  • New: Support context receivers on TypeSpecs + extract ContextReceivable API (#​1269).
  • New: Optimize OriginatingElements and TagMap implementations (#​1270).
  • New: Auto-generate import aliases for types and members (#​1355).
  • New: Insert underscores into large decimal literals (#​1384).
  • New: New factory function FileSpec.builder(ClassName) (#​1397).
  • Fix: Fix StackOverflowError when calling KSTypeArgument.toTypeName() for a wildcard in a recursive type bound (#​1272).
  • Fix: Fix transitive aliases (#​1306).
  • Fix: Fix Aliases as TypeArgument (#​1321).
  • Fix: Don't escape special characters inside raw strings (#​1331).
  • Fix: Fix KSP interop's output of the annotation parameter value of type Char (#​1338).
  • Fix: Fix KSP interop's output for primitive arrays (#​1340).
  • Fix: Avoid emitting public if shouldEmitPublicModifier returns false (#​1342).
  • Fix: Fix context receivers being rendered in an incorrect position when on a nullable/suspending LambdaTypeName (#​1454).
  • Fix: Do not use bestGuess for KClass.asClassName (#​1469).
  • Fix: Handle fake nested types with platform mapped parents (#​1472).
  • Fix: Fix TypeName equals (#​1477).
  • Fix: Make equals consistent with compareTo for ClassName (#​1506).

New Contributors

Full Changelog: square/kotlinpoet@1.12.0...1.13.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.13.0 fix(deps): update dependency com.squareup:kotlinpoet to v1.13.2 May 28, 2023
@renovate
renovate Bot force-pushed the renovate/kotlin-poet branch from b89e476 to 912a58b Compare May 28, 2023 10:41
@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.13.2 fix(deps): update dependency com.squareup:kotlinpoet to v1.14.0 May 29, 2023
@renovate
renovate Bot force-pushed the renovate/kotlin-poet branch from 912a58b to c49b23c Compare May 29, 2023 10:05
@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.14.0 fix(deps): update dependency com.squareup:kotlinpoet to v1.14.1 May 29, 2023
@renovate
renovate Bot force-pushed the renovate/kotlin-poet branch from c49b23c to 9bfced0 Compare May 29, 2023 15:45
@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.14.1 fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 May 30, 2023
@renovate
renovate Bot force-pushed the renovate/kotlin-poet branch from 9bfced0 to f430524 Compare May 30, 2023 09:24
@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 - autoclosed May 31, 2023
@renovate renovate Bot closed this May 31, 2023
@renovate
renovate Bot deleted the renovate/kotlin-poet branch May 31, 2023 18:14
@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 - autoclosed fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 May 31, 2023
@renovate renovate Bot reopened this May 31, 2023
@renovate
renovate Bot restored the renovate/kotlin-poet branch May 31, 2023 22:24
@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 - autoclosed Jun 1, 2023
@renovate renovate Bot closed this Jun 1, 2023
@renovate
renovate Bot deleted the renovate/kotlin-poet branch June 1, 2023 01:07
@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 - autoclosed fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 Jun 1, 2023
@renovate renovate Bot reopened this Jun 1, 2023
@renovate
renovate Bot restored the renovate/kotlin-poet branch June 1, 2023 03:21
@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 - autoclosed Jun 1, 2023
@renovate renovate Bot closed this Jun 1, 2023
@renovate
renovate Bot deleted the renovate/kotlin-poet branch June 1, 2023 04:33
@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 - autoclosed fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 Jun 1, 2023
@renovate renovate Bot reopened this Jun 1, 2023
@renovate
renovate Bot restored the renovate/kotlin-poet branch June 1, 2023 06:51
@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 - autoclosed Jun 1, 2023
@renovate renovate Bot closed this Jun 1, 2023
@renovate
renovate Bot deleted the renovate/kotlin-poet branch June 1, 2023 09:51
@renovate renovate Bot changed the title fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 - autoclosed fix(deps): update dependency com.squareup:kotlinpoet to v1.14.2 Jun 1, 2023
@renovate renovate Bot reopened this Jun 1, 2023
@renovate
renovate Bot restored the renovate/kotlin-poet branch June 1, 2023 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants