norm
norm copied to clipboard
Bump kotlinpoet from 1.9.0 to 1.12.0
Bumps kotlinpoet from 1.9.0 to 1.12.0.
Release notes
Sourced from kotlinpoet's releases.
1.12.0
What's Changed
- Fix typo in changelog by
@WhosNickDoglio
in square/kotlinpoet#1228- Fix doc site list by
@ZacSweers
in square/kotlinpoet#1231- Add Java 18 to CI build matrix by
@Egorand
in square/kotlinpoet#1237- Run tests on all JDKs but only build on 18 by
@Egorand
in square/kotlinpoet#1238- setup-java v3 by
@sullis
in square/kotlinpoet#1239- Add support for context-receivers by
@DRSchlaubi
in square/kotlinpoet#1233- Resolve enum constants when emitting types by
@martinbonnin
in square/kotlinpoet#1235- Update dependencies by
@Egorand
in square/kotlinpoet#1240- Properly unwrap KSTypeAlias with an unused type parameter by
@Egorand
in square/kotlinpoet#1241- Unwrap nested KSTypeAliases recursively by
@Egorand
in square/kotlinpoet#1242- Add support for context receivers
@PropertySpec
and fix issues with annotations by@seriouslyhypersonic
in square/kotlinpoet#1247- Work around KT-52315 by
@ephemient
in square/kotlinpoet#1248- use %N instead of %L for annotation arg names so keywords are handled by
@dkilmer
in square/kotlinpoet#1249- Add a test for #1035 by
@Egorand
in square/kotlinpoet#1250- Fix KDoc link by
@aksh1618
in square/kotlinpoet#1255- Fix a bug caused by too long return expressions by
@zsqw123
in square/kotlinpoet#1256- Add support for external property getter by
@roihershberg
in square/kotlinpoet#1260- Update to Kotlin 1.7 + other deps by
@ZacSweers
in square/kotlinpoet#1262- Promote KSP APIs to stable + integrate ABI validator by
@ZacSweers
in square/kotlinpoet#1263- Gradle 7.4.2 by
@Egorand
in square/kotlinpoet#1265- Add version badge to docs/index.md by
@Egorand
in square/kotlinpoet#1266New Contributors
@WhosNickDoglio
made their first contribution in square/kotlinpoet#1228@DRSchlaubi
made their first contribution in square/kotlinpoet#1233@seriouslyhypersonic
made their first contribution in square/kotlinpoet#1247@ephemient
made their first contribution in square/kotlinpoet#1248@dkilmer
made their first contribution in square/kotlinpoet#1249@aksh1618
made their first contribution in square/kotlinpoet#1255@zsqw123
made their first contribution in square/kotlinpoet#1256@roihershberg
made their first contribution in square/kotlinpoet#1260Full Changelog: https://github.com/square/kotlinpoet/compare/1.11.0...1.12.0
1.11.0
Thanks to
@liujingxing
and@BoD
for contributing to this release.
New: Kotlin scripting support in
FileSpec
.val spec = FileSpec.scriptBuilder("Taco") .addStatement("println(%S)", "hello world!") .addKotlinDefaultImports() .build()
Generates a Taco.kts file with the following contents:
... (truncated)
Changelog
Sourced from kotlinpoet's changelog.
Version 1.12.0
2022-06-13
Thanks to [
@WhosNickDoglio
][WhosNickDoglio], [@sullis
][sullis], [@DRSchlaubi
][DRSchlaubi], [@martinbonnin
][martinbonnin], [@seriouslyhypersonic
][seriouslyhypersonic], [@ephemient
][ephemient], [@dkilmer
][dkilmer], [@aksh1618
][aksh1618], [@zsqw123
][zsqw123], [@roihershberg
][roihershberg] for contributing to this release.
- New: Kotlin 1.7.0.
- New: Add support for context receivers.
- New: Add support for external property getter.
- New:
interop-ksp
API promoted to stable.- Fix: Resolve enum constants when emitting types.
- Fix: Fix type argument mapping when processing typealiases with KSP.
- Fix: Properly unwrap
KSTypeAlias
with an unused type parameter.- Fix: Unwrap nested
KSTypeAlias
-es recursively.- Fix: Add support for context receivers
@PropertySpec
and fix issues with annotations.- Fix: Treat
header
andimpl
as keywords (workaround for KT-52315).- Fix: Use
%N
instead of%L
for annotation arg names so keywords are handled.- Fix: Improve handling of long
return
expressions.Version 1.11.0
2022-03-24
Thanks to [
@liujingxing
][liujingxing] and [@BoD
][BoD] for contributing to this release.
- New: Kotlin scripting support in
FileSpec
.val spec = FileSpec.scriptBuilder("Taco") .addStatement("println(%S)", "hello world!") .addKotlinDefaultImports() .build()
Generates a
Taco.kts
file with the following contents:println("hello world!")
- New: Emit trailing commas for multi-line parameters and annotations.
- New: Add
KSAnnotation.toAnnotationSpec()
.- New: Add
Unit
andCharSequence
conversions injavapoet-interop
.- New: Add support for default imports in
FileSpec
.
- This is particularly oriented at scripting support, but can also be used in non-script files.
- New: Update to Kotlin 1.6.10.
- Fix: Fail compilation if you only pass one string to
ClassName
.
... (truncated)
Commits
c0116f9
Prepare for release 1.12.03300767
Merge pull request #1266 from square/egor/220613/version-badge6a68bff
Merge pull request #1265 from square/egor/220613/gradle-7.4.2a1e84b7
Add version badge to docs/index.mdaad363e
Gradle 7.4.2f496b9b
Promote KSP APIs to stable + integrate ABI validator (#1263)298bc22
Update to Kotlin 1.7 + other deps (#1262)c17e163
Merge pull request #1260 from roihershberg/support_external_getter75898ae
Add support for external property getter35da0d5
Fix a bug caused by too long return expressions (#1256)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)