Bump kotlinpoet-metadata from 1.7.2 to 1.12.0
Bumps kotlinpoet-metadata from 1.7.2 to 1.12.0.
Release notes
Sourced from kotlinpoet-metadata's releases.
1.12.0
What's Changed
- Fix typo in changelog by
@WhosNickDoglioin square/kotlinpoet#1228- Fix doc site list by
@ZacSweersin square/kotlinpoet#1231- Add Java 18 to CI build matrix by
@Egorandin square/kotlinpoet#1237- Run tests on all JDKs but only build on 18 by
@Egorandin square/kotlinpoet#1238- setup-java v3 by
@sullisin square/kotlinpoet#1239- Add support for context-receivers by
@DRSchlaubiin square/kotlinpoet#1233- Resolve enum constants when emitting types by
@martinbonninin square/kotlinpoet#1235- Update dependencies by
@Egorandin square/kotlinpoet#1240- Properly unwrap KSTypeAlias with an unused type parameter by
@Egorandin square/kotlinpoet#1241- Unwrap nested KSTypeAliases recursively by
@Egorandin square/kotlinpoet#1242- Add support for context receivers
@PropertySpecand fix issues with annotations by@seriouslyhypersonicin square/kotlinpoet#1247- Work around KT-52315 by
@ephemientin square/kotlinpoet#1248- use %N instead of %L for annotation arg names so keywords are handled by
@dkilmerin square/kotlinpoet#1249- Add a test for #1035 by
@Egorandin square/kotlinpoet#1250- Fix KDoc link by
@aksh1618in square/kotlinpoet#1255- Fix a bug caused by too long return expressions by
@zsqw123in square/kotlinpoet#1256- Add support for external property getter by
@roihershbergin square/kotlinpoet#1260- Update to Kotlin 1.7 + other deps by
@ZacSweersin square/kotlinpoet#1262- Promote KSP APIs to stable + integrate ABI validator by
@ZacSweersin square/kotlinpoet#1263- Gradle 7.4.2 by
@Egorandin square/kotlinpoet#1265- Add version badge to docs/index.md by
@Egorandin square/kotlinpoet#1266New Contributors
@WhosNickDogliomade their first contribution in square/kotlinpoet#1228@DRSchlaubimade their first contribution in square/kotlinpoet#1233@seriouslyhypersonicmade their first contribution in square/kotlinpoet#1247@ephemientmade their first contribution in square/kotlinpoet#1248@dkilmermade their first contribution in square/kotlinpoet#1249@aksh1618made their first contribution in square/kotlinpoet#1255@zsqw123made their first contribution in square/kotlinpoet#1256@roihershbergmade 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
@liujingxingand@BoDfor 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-metadata'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-kspAPI promoted to stable.- Fix: Resolve enum constants when emitting types.
- Fix: Fix type argument mapping when processing typealiases with KSP.
- Fix: Properly unwrap
KSTypeAliaswith an unused type parameter.- Fix: Unwrap nested
KSTypeAlias-es recursively.- Fix: Add support for context receivers
@PropertySpecand fix issues with annotations.- Fix: Treat
headerandimplas keywords (workaround for KT-52315).- Fix: Use
%Ninstead of%Lfor annotation arg names so keywords are handled.- Fix: Improve handling of long
returnexpressions.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.ktsfile with the following contents:println("hello world!")
- New: Emit trailing commas for multi-line parameters and annotations.
- New: Add
KSAnnotation.toAnnotationSpec().- New: Add
UnitandCharSequenceconversions 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
c0116f9Prepare for release 1.12.03300767Merge pull request #1266 from square/egor/220613/version-badge6a68bffMerge pull request #1265 from square/egor/220613/gradle-7.4.2a1e84b7Add version badge to docs/index.mdaad363eGradle 7.4.2f496b9bPromote KSP APIs to stable + integrate ABI validator (#1263)298bc22Update to Kotlin 1.7 + other deps (#1262)c17e163Merge pull request #1260 from roihershberg/support_external_getter75898aeAdd support for external property getter35da0d5Fix 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)