dropbox / kaiken

User scoping library for Android applications.
Apache License 2.0
69 stars 11 forks source link

Bump kotlinpoet from 1.5.0 to 1.10.2 #142

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps kotlinpoet from 1.5.0 to 1.10.2.

Release notes

Sourced from kotlinpoet's releases.

1.10.2

Thanks to @​glureau and @​goooler for contributing to this release.

  • #1175 New: Switch AnnotationSpec.get() to use the arrayOf() syntax instead of [].
  • #1170 Fix: Don't wrap aliasing imports with long package names.
  • #1174 Fix: Don't wrap type names inside line comments.
  • #1167 Fix: Ignore Java's @Deprecated annotations on synthetic methods for annotations.

1.10.1

Thanks to @​evant for contributing to this release.

  • Fix: Correct generation of typealiases with type args in KSP interop.
  • Fix: Add missing default TypeParameterResolver.EMPTY argument to fun KSTypeArgument.toTypeName in KSP interop.

1.10.0

Thanks to @​martinbonnin, @​idanakav, @​goooler, and @​anandwana001 for contributing to this release.

  • New: Add a new KSP interop artifact. See docs for more details.
  • New: Add a new JavaPoet interop artifact. See docs for more details.
  • New: Allow copying a ParameterizedTypeName with new type arguments via new copy() overload.
  • kotlinx-metadata artifacts have been consolidated to a single com.squareup:kotlinpoet-metadata maven artifact. The previous kotlinpoet-metadata-* subartifacts are no longer published.
  • New: TypeNameAliasTag has been moved to KotlinPoet's main artifact under TypeAliasTag, for reuse with KSP interop.
  • ImmutableKm* classes have been removed. They were deemed to be a needless abstraction over the base kotlinx-metadata Km types. All usages of these should be substituted with their non-immutable base types.
  • Fix: Fix self-referencing type variables in metadata parsing.
  • Fix: Use delicate APIs rather than noisy logging ones when converting annotation mirrors in AnnotationSpec.get.
  • Fix: Update error message when metadata cannot be read to a more actionable one.
  • Fix: Avoid escaping already escaped strings.
  • Add docs about kotlin-reflect usage.
  • Avoid using kotlin-reflect for looking up Unit types where possible.
  • Test all the way up to JDK 17.
  • Update Kotlin to 1.5.31.

1.9.0

  • New: Kotlin 1.5.10.
  • New: Previously deprecated API to interop with Java reflection and Mirror API have been un-deprecated and marked with @DelicateKotlinPoetApi annotation.
  • New: CodeBlock.Builder.withIndent helper function.
  • New: Allow changing initializers and default values in ParameterSpec.Builder and PropertySpec.Builder after they were set.
  • New: MemberName.isExtension property that instructs KotlinPoet to always import the member, even if conflicting declarations are present in the same scope.
  • Fix: Escape member names that only contain underscores.
  • Fix: Always emit an empty primary constructor if it was set via TypeSpec.primaryConstructor.
Changelog

Sourced from kotlinpoet's changelog.

Version 1.10.2

2021-10-22

Thanks to [@​glureau][glureau] and [@​goooler][goooler] for contributing to this release.

  • New: Switch AnnotationSpec.get() to use the arrayOf() syntax instead of [].
  • Fix: Don't wrap aliasing imports with long package names.
  • Fix: Don't wrap type names inside line comments.
  • Fix: Ignore Java's @Deprecated annotations on synthetic methods for annotations.

Version 1.10.1

2021-09-21

Thanks to [@​evant][evant] for contributing to this release.

  • Fix: Correct generation of typealiases with type args in KSP interop.
  • Fix: Add missing default TypeParameterResolver.EMPTY argument to fun KSTypeArgument.toTypeName in KSP interop.

Version 1.10.0

2021-09-20

Thanks to [@​martinbonnin][martinbonnin], [@​idanakav][idanakav], [@​goooler][goooler], and [@​anandwana001][anandwana001] for contributing to this release.

  • New: Add a new [KSP][ksp] interop artifact. See [docs][ksp-interop-docs] for more details.
  • New: Add a new [JavaPoet][javapoet] interop artifact. See [docs][javapoet-interop-docs] for more details.
  • New: Allow copying a ParameterizedTypeName with new type arguments via new copy() overload.
  • kotlinx-metadata artifacts have been consolidated to a single com.squareup:kotlinpoet-metadata maven artifact. The previous kotlinpoet-metadata-* subartifacts are no longer published.
  • New: TypeNameAliasTag has been moved to KotlinPoet's main artifact under TypeAliasTag, for reuse with KSP interop.
  • ImmutableKm* classes have been removed. They were deemed to be a needless abstraction over the base kotlinx-metadata Km types. All usages of these should be substituted with their non-immutable base types.
  • Fix: Fix self-referencing type variables in metadata parsing.
  • Fix: Use delicate APIs rather than noisy logging ones when converting annotation mirrors in AnnotationSpec.get.
  • Fix: Update error message when metadata cannot be read to a more actionable one.
  • Fix: Avoid escaping already escaped strings.
  • Add docs about kotlin-reflect usage.
  • Avoid using kotlin-reflect for looking up Unit types where possible.
  • Test all the way up to JDK 17.
  • Update Kotlin to 1.5.31.

Version 1.9.0

2021-06-22

... (truncated)

Commits
  • da9c33b Prepare for release 1.10.2
  • 06ad1f1 Merge pull request #1174 from glureau/long_type_names_in_comment
  • 8742e07 Switch AnnotationSpec.get() to use safer arrayOf() syntax (#1175)
  • d34c32b Fix #1076: Type names in a line comment may break the line
  • 43de708 Ignore java deprecated annotations on synthetic methods for annotations (#1167)
  • aee95d0 Merge pull request #1173 from square/egorand/211014/mkdocs-1.2.3
  • 9614184 MkDocs 1.2.3
  • da98e30 Merge pull request #1170 from glureau/long_aliased_import
  • 6c81702 Fix #1169: Handle long import with aliased name.
  • b4d77c0 Merge pull request #1164 from Goooler/ksp
  • 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)
dependabot[bot] commented 2 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.