-
Notifications
You must be signed in to change notification settings - Fork 81
- r Bump com.google.code.gson:gson from 2.12.1 to 2.13.0 #645
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
- r Bump com.google.code.gson:gson from 2.12.1 to 2.13.0 #645
Conversation
Bumps [com.google.code.gson:gson](https://github.com/google/gson) from 2.12.1 to 2.13.0. - [Release notes](https://github.com/google/gson/releases) - [Changelog](https://github.com/google/gson/blob/main/CHANGELOG.md) - [Commits](google/gson@gson-parent-2.12.1...gson-parent-2.13.0) --- updated-dependencies: - dependency-name: com.google.code.gson:gson dependency-version: 2.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Reviewer's Guide by SourceryThis pull request bumps the Sequence diagram for deserializing collections with GsonsequenceDiagram
participant Client
participant Gson
participant TypeToken
participant ArrayList
participant ImmutableList
Client->>Gson: fromJson(jsonString, new TypeToken<ImmutableList<String>>() {})
activate Gson
Gson->>TypeToken: getType()
activate TypeToken
TypeToken-->>Gson: Type
deactivate TypeToken
alt Before Gson 2.13.0
Gson->>ArrayList: Create ArrayList<String>
activate ArrayList
ArrayList-->>Gson: ArrayList<String>
deactivate ArrayList
Gson-->>Client: ArrayList<String>
else Gson 2.13.0 and later
Gson->>ImmutableList: Attempt to create ImmutableList<String>
activate ImmutableList
ImmutableList-->>Gson: Exception (Abstract classes can't be instantiated!)
deactivate ImmutableList
Gson-->>Client: JsonIOException
end
deactivate Gson
Updated class diagram for Gson libraryclassDiagram
class Gson {
+fromJson(json: String, type: Type): Object
+toJson(obj: Object): String
}
note for Gson "Gson class for serializing and deserializing Java objects to JSON"
class TypeToken {
+getType(): Type
}
note for TypeToken "Represents a generic type"
class ImmutableList {
---
}
note for ImmutableList "Abstract class, can't be instantiated directly"
class ArrayList {
}
note for ArrayList "Concrete List implementation"
Gson --|> TypeToken : Uses
Gson --|> ArrayList : Returns
TypeToken --|> ImmutableList : Represents
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
Bumps com.google.code.gson:gson from 2.12.1 to 2.13.0.
Release notes
Sourced from com.google.code.gson:gson's releases.
Commits
bfe0fd5[maven-release-plugin] prepare release gson-parent-2.13.06ed64caadd multi-catch support to the code base (#2841)0074376Bump the maven group with 3 updates (#2840)45e5e14Rename$Gson$Preconditionsand$Gson$Types. (#2838)c6d4425Remove obsolete comment in pom.xml (#2835)9afd6f8Bump the maven group with 10 updates (#2831)ad5371eFix findings that are new with the latest Error Prone. (#2834)de190d7Restructure code to avoid assignment expression warning. (#2833)3d66847Bump the github-actions group with 3 updates (#2832)2549ba9Fix ConstructorConstructor creating mismatching Collection and Map instances ...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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Summary by Sourcery
Enhancements: