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

Bump versions.moshi from 1.9.3 to 1.11.0 #57

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 15, 2021

Bumps versions.moshi from 1.9.3 to 1.11.0.
Updates moshi-kotlin from 1.9.3 to 1.11.0

Changelog

Sourced from moshi-kotlin's changelog.

Version 1.11.0

2020-10-04

  • New: Kotlin extension functions and properties. Use of these extensions is only possible from Kotlin, and requires the Kotlin stdlib dependency. This release does not have any Kotlin requirement and can be used Kotlin-free from Java.

    /** Extension alternative to [Types.nextAnnotations()]. */
    fun <reified T : Annotation> Set<Annotation>.nextAnnotations(): Set<Annotation>?
    /** Extension alternative to [Types.getRawType()]. /
    val Type.rawType: Class<>
    /** Extension alternative to [Types.arrayOf()]. /
    fun KClass<>.asArrayType(): GenericArrayType
    /** Extension alternative to [Types.arrayOf()]. */
    fun Type.asArrayType(): GenericArrayType

  • New: Experimental Kotlin extensions. These depend on unreleased APIs and may break in a future release of Kotlin. If you are comfortable with this, add @ExperimentalStdlibApi at the callsite or add this argument to your Kotlin compiler: "-Xopt-in=kotlin.ExperimentalStdlibApi".

    /** Returns the adapter for [T]. */
    inline fun <reified T> Moshi.adapter(): JsonAdapter<T>
    /** Returns the adapter for [ktype]. */
    fun <T> Moshi.adapter(ktype: KType): JsonAdapter<T>
    /** Adds an adapter for [T]. */
    inline fun <reified T> Moshi.Builder.addAdapter(adapter: JsonAdapter<T>): Moshi.Builder
    /** Extension alternative to [Types.arrayOf()]. */
    fun KType.asArrayType(): GenericArrayType
    /** Extension alternative to [Types.subtypeOf()]. */
    inline fun <reified T> subtypeOf(): WildcardType
    /** Extension alternative to [Types.supertypeOf()]. */
    inline fun <reified T> supertypeOf(): WildcardType

  • New: JsonReader.nextSource(). This returns an Okio BufferedSource that streams the UTF-8 bytes of a JSON value. Use this to accept JSON values without decoding them, to delegate to another JSON processor, or for streaming access to very large embedded values.

  • New: Moshi.Builder.addLast(). Use this when installing widely-applicable adapter factories like

... (truncated)

Commits
  • 4d3ca9a Prepare for release 1.11.0.
  • 230c3d8 Promote Kotlin type-inferring APIs to the main Moshi package (round 2!) (#1202)
  • f17e7c2 Fix infinite loop with type var variance stripping + remove from API (#1246)
  • 5ce0928 Fix some misc deprecated KotlinPoet APIs (#1249)
  • 850dc20 Fix snapshots by upping metaspace size (#1247)
  • 8fe26e9 Updated Moshi Download version to 1.10.0
  • f192473 Standardize (almost) all tests on Truth (#1242)
  • acb2836 Merge pull request #1241 from ZacSweers/z/betterJcenterHandling
  • 45ef3da Use exclusiveContent API for jcenter
  • bc85227 Add JsonString recipe to examples (#1230)
  • Additional commits viewable in compare view

Updates moshi-kotlin-codegen from 1.9.3 to 1.11.0

Changelog

Sourced from moshi-kotlin-codegen's changelog.

Version 1.11.0

2020-10-04

  • New: Kotlin extension functions and properties. Use of these extensions is only possible from Kotlin, and requires the Kotlin stdlib dependency. This release does not have any Kotlin requirement and can be used Kotlin-free from Java.

    /** Extension alternative to [Types.nextAnnotations()]. */
    fun <reified T : Annotation> Set<Annotation>.nextAnnotations(): Set<Annotation>?
    /** Extension alternative to [Types.getRawType()]. /
    val Type.rawType: Class<>
    /** Extension alternative to [Types.arrayOf()]. /
    fun KClass<>.asArrayType(): GenericArrayType
    /** Extension alternative to [Types.arrayOf()]. */
    fun Type.asArrayType(): GenericArrayType

  • New: Experimental Kotlin extensions. These depend on unreleased APIs and may break in a future release of Kotlin. If you are comfortable with this, add @ExperimentalStdlibApi at the callsite or add this argument to your Kotlin compiler: "-Xopt-in=kotlin.ExperimentalStdlibApi".

    /** Returns the adapter for [T]. */
    inline fun <reified T> Moshi.adapter(): JsonAdapter<T>
    /** Returns the adapter for [ktype]. */
    fun <T> Moshi.adapter(ktype: KType): JsonAdapter<T>
    /** Adds an adapter for [T]. */
    inline fun <reified T> Moshi.Builder.addAdapter(adapter: JsonAdapter<T>): Moshi.Builder
    /** Extension alternative to [Types.arrayOf()]. */
    fun KType.asArrayType(): GenericArrayType
    /** Extension alternative to [Types.subtypeOf()]. */
    inline fun <reified T> subtypeOf(): WildcardType
    /** Extension alternative to [Types.supertypeOf()]. */
    inline fun <reified T> supertypeOf(): WildcardType

  • New: JsonReader.nextSource(). This returns an Okio BufferedSource that streams the UTF-8 bytes of a JSON value. Use this to accept JSON values without decoding them, to delegate to another JSON processor, or for streaming access to very large embedded values.

  • New: Moshi.Builder.addLast(). Use this when installing widely-applicable adapter factories like

... (truncated)

Commits
  • 4d3ca9a Prepare for release 1.11.0.
  • 230c3d8 Promote Kotlin type-inferring APIs to the main Moshi package (round 2!) (#1202)
  • f17e7c2 Fix infinite loop with type var variance stripping + remove from API (#1246)
  • 5ce0928 Fix some misc deprecated KotlinPoet APIs (#1249)
  • 850dc20 Fix snapshots by upping metaspace size (#1247)
  • 8fe26e9 Updated Moshi Download version to 1.10.0
  • f192473 Standardize (almost) all tests on Truth (#1242)
  • acb2836 Merge pull request #1241 from ZacSweers/z/betterJcenterHandling
  • 45ef3da Use exclusiveContent API for jcenter
  • bc85227 Add JsonString recipe to examples (#1230)
  • Additional commits viewable in compare view

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 dependabot bot added the dependencies Pull requests that update a dependency file label Mar 15, 2021
Bumps `versions.moshi` from 1.9.3 to 1.11.0.

Updates `moshi-kotlin` from 1.9.3 to 1.11.0
- [Release notes](https://github.com/square/moshi/releases)
- [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md)
- [Commits](square/moshi@moshi-parent-1.9.3...moshi-parent-1.11.0)

Updates `moshi-kotlin-codegen` from 1.9.3 to 1.11.0
- [Release notes](https://github.com/square/moshi/releases)
- [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md)
- [Commits](square/moshi@moshi-parent-1.9.3...moshi-parent-1.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/versions.moshi-1.11.0 branch from c281885 to 3264c67 Compare March 17, 2021 02:56
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 4, 2021

Looks like these dependencies are up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jun 4, 2021
@dependabot dependabot bot deleted the dependabot/gradle/versions.moshi-1.11.0 branch June 4, 2021 15:43
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants