ben-manes / gradle-versions-plugin

Gradle plugin to discover dependency updates
Apache License 2.0
3.83k stars 200 forks source link

Bump com.squareup.moshi:moshi-kotlin from 1.12.0 to 1.14.0 #742

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps com.squareup.moshi:moshi-kotlin from 1.12.0 to 1.14.0.

Changelog

Sourced from com.squareup.moshi:moshi-kotlin's changelog.

Version 1.14.0

  • Upgrade: [Kotlin 1.7.0][kotlin_1_7_0].
  • Upgrade [KotlinPoet 1.12.0][kotlinpoet_1_12_0].
    • Moshi no longer shades kotlinpoet-ksp APIs, meaning they can be updated independently of Moshi updates.
  • Upgrade: [KSP 1.7.0-1.0.6][ksp_1_7_0_1_0_6].
  • Upgrade: [kotlinx-metadata 0.5.0][kotlinx_metadata_0_5_0], allowing reading of kotlin 1.8 APIs too.

Version 1.13.0

2021-12-08

  • New: Support for [Kotlin Symbol Processing (KSP)][ksp]. KSP is an alternative to annotation processing code gen. It's builds faster and better supports Kotlin language features.

    To use KSP in your application you must enable the KSP Gradle plugin and add a KSP dependency on Moshi codegen.

    plugins {
      id("com.google.devtools.ksp").version("1.6.0-1.0.1")
    }
    

    dependencies { ksp("com.squareup.moshi:moshi-kotlin-codegen:1.13.0") }

    If you're switching from annotation processing (kapt) to KSP, you should remove the kapt plugin and the kapt Moshi dependency.

  • New: @Json(ignore = true) is a Moshi-specific way to exclude properties from JSON encoding and decoding.

  • New: Support Java 16 records. (Moshi still requires Java 8 only; we're shipping a [multi-release jar][mrjar] to better support modern JVMs.)

  • New: Option to disable generating R8/ProGuard files. These files prevent code shrinkers from removing files that support JSON processing. If you're not using ProGuard or R8, you can skip this step.

    ksp {
      arg("moshi.generateProguardRules", "false")
    }
    
  • Upgrade: [Kotlin 1.6.0][kotlin_1_6_0].

Commits


Dependabot compatibility score

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
jaredsburrows commented 1 year ago

@dependabot rebase.

dependabot[bot] commented 1 year ago

Looks like this PR is already up-to-date with master! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

dependabot[bot] commented 1 year ago

Superseded by #780.