Repository navigation
chore(deps): update dependency com.squareup:kotlinpoet to v1.14.2 - #535
Merged
Merged
Conversation
Codecov Report
@@ 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
Flags with carried forward coverage won't be shown. Click here to find out more. |
kgevorkyan
approved these changes
Jun 5, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.13.2->1.14.2Release Notes
square/kotlinpoet
v1.14.2Compare Source
Annotatable.Builder(#1581).v1.14.1Compare Source
v1.14.0Compare 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
FunSpecwhich accepts aMemberName(#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
Unitunless explicitly set (#1559).Previously the default was
nullwhich behaved likeUnitfor 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:
This version, incorrect:
This version, correct:
val funSpec = FunSpec.builder("foo") + .returns(INT) .addStatement("return 1") .build()Additionally, as part of this change,
FunSpec.returnTypehas changed to be non-nullable. This is a source- andbinary-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.
This PR has been generated by Mend Renovate. View repository job log here.