Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump kotlinpoet from 1.9.0 to 1.12.0 #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 14, 2022

Bumps kotlinpoet from 1.9.0 to 1.12.0.

Release notes

Sourced from kotlinpoet's releases.

1.12.0

What's Changed

New Contributors

Full Changelog: square/kotlinpoet@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)

Bumps [kotlinpoet](https://github.com/square/kotlinpoet) from 1.9.0 to 1.12.0.
- [Release notes](https://github.com/square/kotlinpoet/releases)
- [Changelog](https://github.com/square/kotlinpoet/blob/master/docs/changelog.md)
- [Commits](square/kotlinpoet@1.9.0...1.12.0)

---
updated-dependencies:
- dependency-name: com.squareup:kotlinpoet
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 14, 2022
@sonarcloud
Copy link

sonarcloud bot commented Jun 14, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants