Title: Bump com.google.code.gson:gson from 2.13.2 to 2.14.0 by dependabot[bot] · Pull Request #176 · NamelessMC/Nameless-Java-API · GitHub
Open Graph Title: Bump com.google.code.gson:gson from 2.13.2 to 2.14.0 by dependabot[bot] · Pull Request #176 · NamelessMC/Nameless-Java-API
X Title: Bump com.google.code.gson:gson from 2.13.2 to 2.14.0 by dependabot[bot] · Pull Request #176 · NamelessMC/Nameless-Java-API
Description: Bumps com.google.code.gson:gson from 2.13.2 to 2.14.0.
Release notes
Sourced from com.google.code.gson:gson's releases.
Gson 2.14.0
What's Changed
Add type adapters for java.time classes by @eamonnmcmanus in google/gson#2948
When the java.time API is available, Gson automatically can read and write instances of classes like Instant and Duration. The format it uses essentially freezes the JSON representation that ReflectiveTypeAdapterFactory established by default, based on the private fields of java.time classes. That's not a great representation, but it is understandable. Changing it to anything else would break compatibility with systems that are expecting the current format.
With this change, Gson no longer tries to access private fields of these classes using reflection. So it is no longer necessary to run with --add-opens for these classes on recent JDKs.
Remove com.google.gson.graph by @eamonnmcmanus in google/gson#2990.
This package was not part of any released artifact and depended on Gson internals in potentially problematic ways.
Validate that strings being parsed as integers consist of ASCII characters by @eamonnmcmanus in google/gson#2995
Previously, strings could contain non-ASCII Unicode digits and still be parsed as integers. That's inconsistent with how JSON numbers are treated.
Fix duplicate key detection when first value is null by @andrewstellman in google/gson#3006
This could potentially break code that was relying on the incorrect behaviour. For example, this JSON string was previously accepted but will no longer be: {"foo": null, "foo": bar}.
Remove Serializable from internal Type implementation classes. by @eamonnmcmanus in google/gson#3011
The nested classes ParameterizedTypeImpl, GenericArrayTypeImpl, and WildcardTypeImpl in GsonTypes are implementations of the corresponding types (without Impl) in java.lang.reflect. For some reason, they were serializable, even though the java.lang.reflect implementations are not. Having unnecessarily serializable classes could conceivably have been a security problem if they were part of a larger exploit using serialization. (We do not consider this a likely scenario and do not suggest that you need to update Gson just to get this change.)
Add LegacyProtoTypeAdapterFactory. by @eamonnmcmanus in google/gson#3014
This is not part of any released artifact, but may be of use when trying to fix code that is currently accessing the internals of protobuf classes via reflection.
Make AppendableWriter do flush and close if delegation object supports by @MukjepScarlet in google/gson#2925
Other less visible changes
Add default capacity to EnumTypeAdapter maps by @MukjepScarlet in google/gson#2959
refactor: move derived adapters from Gson to TypeAdapters by @MukjepScarlet in google/gson#2951
Optimize new Gson() by @MukjepScarlet in google/gson#2864
New Contributors
@ThirdGoddess made their first contribution in google/gson#2944
@lmj798 made their first contribution in google/gson#2988
@Eng-YasminKotb made their first contribution in google/gson#3005
@andrewstellman made their first contribution in google/gson#3006
Full Changelog: google/gson@gson-parent-2.13.2...gson-parent-2.14.0
Commits
3ff35d6 [maven-release-plugin] prepare release gson-parent-2.14.0
a3024fd Bump the maven group with 13 updates (#3002)
5689ffe Bump the github-actions group across 1 directory with 3 updates (#3018)
48db33c Add LegacyProtoTypeAdapterFactory. (#3014)
53d703e Update outdated comment regarding serializable types (#3012)
0189b72 Remove Serializable from internal Type implementation classes. (#3011)
f4d371d Fix duplicate key detection when first value is null (#3006)
27d9ba1 Fix typo in README (JPMS dependencies section) (#3005)
1fa9b7a Validate that strings being parsed as integers consist of ASCII characters (#...
b7d5954 Add iterator fail-fast tests for LinkedTreeMap.clear() (#2992)
Additional commits viewable in compare view
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 show
Open Graph Description: Bumps com.google.code.gson:gson from 2.13.2 to 2.14.0. Release notes Sourced from com.google.code.gson:gson's releases. Gson 2.14.0 What's Changed Add type adapters for java.time classe...
X Description: Bumps com.google.code.gson:gson from 2.13.2 to 2.14.0. Release notes Sourced from com.google.code.gson:gson's releases. Gson 2.14.0 What's Changed Add type adapters for java.tim...
Opengraph URL: https://github.com/NamelessMC/Nameless-Java-API/pull/176
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7518f142-ff81-13b3-81a4-ea08e8dca3d9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D5CA:1EFBF1:129D0C9:19DAF9B:6A4EA25A |
| html-safe-nonce | 046aa5e133fc8ee524e1edb1abcb989b41a275e5356562a7ad811dd668ad3c7b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUNBOjFFRkJGMToxMjlEMEM5OjE5REFGOUI6NkE0RUEyNUEiLCJ2aXNpdG9yX2lkIjoiMzUxMzUyMTk1MTMwODk0ODA1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 46c919b3efe8ae2103392a4e7c3b2b0f1a3aefadcdeb0200aba827f951879337 |
| hovercard-subject-tag | pull_request:3578717634 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/NamelessMC/Nameless-Java-API/pull/176/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps com.google.code.gson:gson from 2.13.2 to 2.14.0. Release notes Sourced from com.google.code.gson:gson's releases. Gson 2.14.0 What's Changed Add type adapters for java.time classe... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/NamelessMC/Nameless-Java-API git https://github.com/NamelessMC/Nameless-Java-API.git |
| octolytics-dimension-user_id | 13620403 |
| octolytics-dimension-user_login | NamelessMC |
| octolytics-dimension-repository_id | 76690169 |
| octolytics-dimension-repository_nwo | NamelessMC/Nameless-Java-API |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 76690169 |
| octolytics-dimension-repository_network_root_nwo | NamelessMC/Nameless-Java-API |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width