F43nd1r / Acrarium

A Backend for ACRA written in Kotlin using Spring Boot, Vaadin and MySQL
Apache License 2.0
196 stars 51 forks source link

Update dependency com.squareup:kotlinpoet to v1.14.0 #427

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

square/kotlinpoet ### [`v1.14.0`](https://togithub.com/square/kotlinpoet/releases/tag/1.14.0) [Compare Source](https://togithub.com/square/kotlinpoet/compare/1.13.2...1.14.0) Thanks to [@​Omico](https://togithub.com/Omico), [@​drawers](https://togithub.com/drawers), [@​RBusarow](https://togithub.com/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](https://togithub.com/square/kotlinpoet/issues/1561)). - New: Group Kotlin and Renovate updates together in Renovate ([#​1562](https://togithub.com/square/kotlinpoet/issues/1562)). - New: Extract trait interface for annotatable constructs and their builders ([#​1564](https://togithub.com/square/kotlinpoet/issues/1564)). - New: Extract trait interface for documentable constructs and their builders ([#​1571](https://togithub.com/square/kotlinpoet/issues/1571)). - New: Document the usage of `STAR` ([#​1572](https://togithub.com/square/kotlinpoet/issues/1572)). - New: Add builder for `FunSpec` which accepts a `MemberName` ([#​1574](https://togithub.com/square/kotlinpoet/issues/1574)). - Fix: Omit public modifier on override function or constructor parameters ([#​1550](https://togithub.com/square/kotlinpoet/issues/1550)). - Fix: Correct handling of members in various types ([#​1558](https://togithub.com/square/kotlinpoet/issues/1558)). - Fix: Function return types now default to `Unit` unless explicitly set ([#​1559](https://togithub.com/square/kotlinpoet/issues/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: ```kotlin val funSpec = FunSpec.builder("foo") .addStatement("return 1") .build() ``` ```kotlin public fun foo() = 1 ``` This version, incorrect: ```kotlin val funSpec = FunSpec.builder("foo") .addStatement("return 1") .build() ``` ```kotlin public fun foo(): Unit = 1 // ❌ ``` This version, correct: ```diff val funSpec = FunSpec.builder("foo") + .returns(INT) .addStatement("return 1") .build() ``` ```kotlin 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](https://togithub.com/square/kotlinpoet/issues/1568)). - Fix: Allow PropertySpec with context receivers and without getter or setter ([#​1575](https://togithub.com/square/kotlinpoet/issues/1575)).

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.



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

github-actions[bot] commented 1 year ago

Test Results

125 tests  Β±0   125 :heavy_check_mark: Β±0   28s :stopwatch: -1s βŸβ€„62 suites Β±0β€‚β€ƒβ€ƒβŸβ€„βŸβ€„0 :zzz: Β±0  βŸβ€„62 files   Β±0β€‚β€ƒβ€ƒβŸβ€„βŸβ€„0 :x: Β±0 

Results for commit 82f7bb5f. ± Comparison against base commit 4f66d5f8.