Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.

Update dependency com.squareup:kotlinpoet to v1.12.0#58

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/com.squareup-kotlinpoet-1.x
Open

Update dependency com.squareup:kotlinpoet to v1.12.0#58
renovate[bot] wants to merge 1 commit intomainfrom
renovate/com.squareup-kotlinpoet-1.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Mar 25, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.squareup:kotlinpoet 1.10.2 -> 1.12.0 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

square/kotlinpoet

v1.12.0

Compare Source

What's Changed

New Contributors

Full Changelog: square/kotlinpoet@1.11.0...1.12.0

v1.11.0

Compare Source

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:

    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.

  • Fix: Inline val property if its getter is inline.

  • Fix: Add yield to the list of reserved keywords.

  • Fix: Enforce only allowed parameter modifiers in ParameterSpec (i.e. crossinline, vararg, and noinline).

  • Fix: Fix CodeBlocks in class delegation getting toString()'d instead of participating in code writing.

  • Fix: Error when attempting to convert KSP error types (i.e. if KSType.isError is true) to TypeName.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency com.squareup:kotlinpoet to v1.11.0 Update dependency com.squareup:kotlinpoet to v1.12.0 Jun 13, 2022
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-1.x branch from 51a56b4 to 43dde7c Compare June 13, 2022 21:58
@renovate
Copy link
Author

renovate bot commented Mar 23, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant