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

fix(deps): update dependency com.squareup.moshi:moshi-kotlin to v1.15.0 #79

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 2, 2023

Mend Renovate logo banner

This PR contains the following updates:

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

Release Notes

square/moshi (com.squareup.moshi:moshi-kotlin)

v1.15.0

2023-05-12

  • Upgrade to Kotlin 1.8.21.
  • Upgrade to KSP 1.8.21-1.0.11.
  • Upgrade to kotlinx-metadata 0.6.0.
  • Upgrade to KotlinPoet 1.13.2.
  • Support Kotlin language version 1.9.0 in KAPT.
  • Include name of the type being processed when creating the adapterGenerator fails in KSP.
  • Suppress UNUSED_PARAMETER in generated code.
  • Deprecate KAPT code gen. Please migrate to KSP, we will remove KAPT support in a future release. This release will also print an annoying noisy warning in KAPT processing if you use it.

v1.14.0

2022-09-06

  • 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.

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: 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 added the dependencies label Aug 2, 2023
@renovate renovate bot force-pushed the renovate/deps.squareup.moshikotlin branch from 8aafaa0 to a9b800d Compare October 23, 2023 14:32
@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (383a111) 65.33% compared to head (bfd96f3) 65.33%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #79   +/-   ##
=======================================
  Coverage   65.33%   65.33%           
=======================================
  Files          75       75           
  Lines        2787     2787           
  Branches      332      332           
=======================================
  Hits         1821     1821           
  Misses        814      814           
  Partials      152      152           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/deps.squareup.moshikotlin branch from a9b800d to bfd96f3 Compare November 17, 2023 05:40
@hoc081098 hoc081098 merged commit 6015b38 into master Nov 17, 2023
8 checks passed
@renovate renovate bot deleted the renovate/deps.squareup.moshikotlin branch November 17, 2023 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant