Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 17, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.squareup.moshi:moshi-kotlin-codegen 1.12.0 -> 1.13.0 age adoption passing confidence
com.squareup.moshi:moshi-kotlin 1.12.0 -> 1.13.0 age adoption passing confidence

Release Notes

square/moshi

v1.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].


Configuration

📅 Schedule: "before 3am on Monday" in timezone Europe/Oslo.

🚦 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 these updates again.


  • If you want to rebase/retry this PR, click this checkbox.

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

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 17, 2022
@github-actions github-actions bot added the platform: Android This affects Android label Mar 17, 2022
@tido64 tido64 merged commit 2747edb into trunk Mar 17, 2022
@tido64 tido64 deleted the renovate/moshi branch March 17, 2022 20:00
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 platform: Android This affects Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants