Gson 2.10.1
This is technically a minor release rather than a patch release because there is one small API change: a new JsonObject.isEmpty()
method.
What's Changed: User-Visible Changes
- Added JsonObject method isEmpty() by @dhoard in #2233
- Fix non-threadsafe creation of adapter for type with cyclic dependency by @Marcono1234 in #1832
- Remove EOFException special casing of JsonStreamParser.next() by @Marcono1234 in #2281
- Improve exception message for duplicate field names by @Marcono1234 in #2251
- Fix the javadoc of JsonDeserializer.deserialize() by @MaicolAntali in #2243
- Bump os-maven-plugin from 1.7.0 to 1.7.1 by @dependabot in #2235
- Bump jackson-databind from 2.13.4.2 to 2.14.0 by @dependabot in #2234
- Bump maven-release-plugin from 3.0.0-M6 to 3.0.0-M7 by @dependabot in #2232
- Bump japicmp-maven-plugin from 0.16.0 to 0.17.1 by @dependabot in #2238
- Bump jackson-databind from 2.14.0 to 2.14.1 by @dependabot in #2241
- Bump bnd-maven-plugin from 6.3.1 to 6.4.0 by @dependabot in #2245
Site Documentation and Maintenance Changes (these were already visible)
- Add troubleshooting guide by @Marcono1234 in #2285
- Replace custom user guide header anchors by @Marcono1234 in #2289
- Improve variable names in user guide by @Marcono1234 in #2290
- Add 2.10 changes to CHANGELOG; minor release follow-ups by @Marcono1234 in #2229
- Mention in CHANGELOG that GitHub Releases are used in the future by @Marcono1234 in #2230
- GitHub Workflows security hardening by @sashashura in #2274
Other Changes
- Making consistent prefixs in PerformanceTest by @CirQ in #1760
- Adjust version numbers and a test to conform to the SemVer spec. by @eamonnmcmanus in #2237
- Remove covered condition in JsonNull.equals() by @MaicolAntali in #2271
- Remove the
final
keyword fromprivate
method by @MaicolAntali in #2276 - Code cleanup by @MaicolAntali in #2282
- Unnecessary unboxing at JsonPrimitive.getAsBoolean() by @MaicolAntali in #2277
- Rewrite the
testParsingDatesFormattedWithSystemLocale()
, Fix #2199 by @MaicolAntali in #2287 - Port tests from JUnit 3 to JUnit 4 by @MaicolAntali in #2294
New Contributors (thanks!)
- @CirQ made their first contribution in #1760
- @dhoard made their first contribution in #2233
- @MaicolAntali made their first contribution in #2243
- @sashashura made their first contribution in #2274
Full Changelog: gson-parent-2.10...gson-parent-2.10.1