Skip to content

Bump com.esotericsoftware:kryo from 5.7.0 to 5.7.1 - #11527

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/gradle/com.esotericsoftware-kryo-5.7.1
Oct 11, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/gradle/com.esotericsoftware-kryo-5.7.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 11, 2026

Copy link
Copy Markdown
Contributor

Bumps com.esotericsoftware:kryo from 5.7.0 to 5.7.1.

Release notes

Sourced from com.esotericsoftware:kryo's releases.

kryo-5.7.1

This is a maintenance release that fixes the serializers for unmodifiable and synchronized collections introduced in 5.7.0.

Highlights

Registration in a fixed order (#1351)

registerSerializers registered the wrapper classes in HashMap order, so their registration IDs depended on the JVM: eg the unmodifiable list had ID 11 on JDK 17 and 13 on JDK 21. Data written on one JVM could be read as a different wrapper type on another. The new register(Kryo) registers the classes, including the navigable wrappers, in a fixed order:

UnmodifiableCollectionSerializers.register(kryo);
SynchronizedCollectionSerializers.register(kryo);

registerSerializers is deprecated and keeps its IDs, so existing data stays readable. See the upgrade notes below before switching.

Navigable and sequenced wrappers (#1351)

addDefaultSerializers of UnmodifiableCollectionSerializers and SynchronizedCollectionSerializers didn't cover the navigable wrappers (eg Collections.unmodifiableNavigableSet) and the Java 21+ unmodifiable sequenced wrappers (eg Collections.unmodifiableSequencedCollection). These were silently read back as a different wrapper type, eg an UnmodifiableNavigableSet as an UnmodifiableSortedSet. They are now serialized correctly. The serialized bytes are unchanged, so 5.7.0 and 5.7.1 can read each other's data.

All changes

  • #1351 Add serializers for navigable and sequenced wrapper collections and register them in a fixed order

The full list of changes can be found here.

Many thanks to all contributors!

Upgrade Notes

For migration from previous major versions please check out the migration guide. We're asking the community to help and contribute this part: please edit the migration wiki page as you encounter any information or issues that might help others.

Behavioral changes

  • If you use registerSerializers, switch to register(Kryo). It registers the 9 wrapper classes of each type in a different order, so their registration IDs change once: data written with registerSerializers can't be read after switching to register. Switch when you don't need to read previously written data that contains these wrappers, or keep registerSerializers until then.
  • register(Kryo) throws an exception if the JDK internals can't be accessed, while the deprecated registerSerializers logged a warning and skipped the registration. addDefaultSerializers still logs a warning.
  • register(Kryo) doesn't register the Java 21+ sequenced wrappers, so that the same classes are registered on all Java versions. After addDefaultSerializers, they can be registered with kryo.register(Class).

Compatibility

  • Serialization compatible
    • Standard IO: Yes
    • Unsafe-based IO: Yes
  • Binary compatible - Yes (Details)
  • Source compatible - Yes (Details)
Commits
  • b9089cb [maven-release-plugin] prepare release kryo-parent-5.7.1
  • 6f0803c Add serializers for navigable and sequenced wrapper collections and register ...
  • d6dfef1 Update README for 5.7.0
  • fda2ee5 Add compat report for 5.7.0
  • 40971e7 [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [com.esotericsoftware:kryo](https://github.com/EsotericSoftware/kryo) from 5.7.0 to 5.7.1.
- [Release notes](https://github.com/EsotericSoftware/kryo/releases)
- [Commits](EsotericSoftware/kryo@kryo-parent-5.7.0...kryo-parent-5.7.1)

---
updated-dependencies:
- dependency-name: com.esotericsoftware:kryo
  dependency-version: 5.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the type: dependency-upgrade Pull requests that update a dependency file label Oct 11, 2026
@github-actions github-actions Bot added this to the 7.2.0-RC1 milestone Oct 11, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) October 11, 2026 00:48
@github-actions
github-actions Bot merged commit 6ee8b24 into main Oct 11, 2026
3 checks passed
@github-actions
github-actions Bot deleted the dependabot/gradle/com.esotericsoftware-kryo-5.7.1 branch October 11, 2026 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependency-upgrade Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants