komputing / KEthereum

Kotlin library for Ethereum
MIT License
350 stars 73 forks source link

Bump kotlinpoet from 1.10.2 to 1.12.0 #123

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps kotlinpoet from 1.10.2 to 1.12.0.

Release notes

Sourced from kotlinpoet's releases.

1.12.0

What's Changed

New Contributors

Full 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 and impl 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 and CharSequence conversions in javapoet-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.0
  • 3300767 Merge pull request #1266 from square/egor/220613/version-badge
  • 6a68bff Merge pull request #1265 from square/egor/220613/gradle-7.4.2
  • a1e84b7 Add version badge to docs/index.md
  • aad363e Gradle 7.4.2
  • f496b9b 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_getter
  • 75898ae Add support for external property getter
  • 35da0d5 Fix a bug caused by too long return expressions (#1256)
  • Additional commits viewable in compare view


Dependabot compatibility score

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)