Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency com.squareup:kotlinpoet to v1.14.2 #535

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 5, 2023

Mend Renovate

This PR contains the following updates:

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

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).


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.

@codecov
Copy link

codecov bot commented Jun 5, 2023

Codecov Report

Merging #535 (fbde992) into main (9115ac2) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #535   +/-   ##
=========================================
  Coverage     48.32%   48.32%           
  Complexity      164      164           
=========================================
  Files            53       53           
  Lines          1877     1877           
  Branches        313      313           
=========================================
  Hits            907      907           
  Misses          841      841           
  Partials        129      129           
Flag Coverage Δ
unittests 48.32% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@github-actions
Copy link

github-actions bot commented Jun 5, 2023

JUnit Tests (Linux, EnricoMi/publish-unit-test-result-action@v1)

245 tests  ±0   221 ✔️ ±0   10m 49s ⏱️ +9s
  48 suites ±0     24 💤 ±0 
  48 files   ±0       0 ±0 

Results for commit fbde992. ± Comparison against base commit 9115ac2.

@github-actions
Copy link

github-actions bot commented Jun 5, 2023

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v1)

240 tests  +168   214 ✔️ +152   16m 37s ⏱️ + 8m 37s
  46 suites +  33     24 💤 +  14 
  46 files   +  33       2 +    2 

For more details on these failures, see this check.

Results for commit fbde992. ± Comparison against base commit 9115ac2.

@github-actions
Copy link

github-actions bot commented Jun 5, 2023

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v1)

245 tests  ±0   221 ✔️ ±0   21m 57s ⏱️ + 5m 41s
  48 suites ±0     24 💤 ±0 
  48 files   ±0       0 ±0 

Results for commit fbde992. ± Comparison against base commit 9115ac2.

@kgevorkyan kgevorkyan enabled auto-merge (squash) June 5, 2023 08:36
@kgevorkyan kgevorkyan merged commit dd1e3c3 into main Jun 5, 2023
16 of 17 checks passed
@kgevorkyan kgevorkyan deleted the renovate/all-minor-patch branch June 5, 2023 08:59
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.

None yet

1 participant