Skip to content

Commit 1d0c717

Browse files
committed
Upgrades kryo from 5.4.0 to 5.5.0
1 parent f4d3661 commit 1d0c717

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/fullTest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
java: [ 11, 17, 19 ]
11+
java: [ 11, 17, 21 ]
1212
steps:
1313
- uses: actions/checkout@v2
1414
- name: Set up JDK ${{ matrix.java }}

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ To use this serializer, you need to do two things:
3939

4040
We provide several versions of the library:
4141

42-
| Version | Kryo Compatibility | Available Scala Versions | Tested with |
43-
|---------|--------------------|--------------------------|-----------------------------------------------------------------|
44-
| v1.0.x | Kryo-5.4 | 2.12,2.13,3.1 | JDK: OpenJdk11,OpenJdk17 Scala: 2.12.18,2.13.11,3.3.0 |
42+
| Version | Kryo Compatibility | Available Scala Versions | Tested with |
43+
|---------|--------------------|--------------------------|---------------------------------------------------------------------|
44+
| v1.1.x | Kryo-5.5 | 2.12,2.13,3 | JDK: OpenJdk11,OpenJdk17,OpenJdk21 Scala: 2.12.18,2.13.11,3.3.1 |
45+
| v1.0.x | Kryo-5.4 | 2.12,2.13,3 | JDK: OpenJdk11,OpenJdk17 Scala: 2.12.18,2.13.11,3.3.1 |
4546

4647

4748
Note that we use semantic versioning - see [semver.org](https://semver.org/).
@@ -52,7 +53,7 @@ Note that we use semantic versioning - see [semver.org](https://semver.org/).
5253
To use the latest stable release of scala-kryo-serialization in sbt projects you just need to add
5354
this dependency:
5455

55-
`libraryDependencies += "io.altoo" %% "scala-kryo-serialization" % "1.0.0"`
56+
`libraryDependencies += "io.altoo" %% "scala-kryo-serialization" % "1.1.0"`
5657

5758
#### maven projects
5859

@@ -71,7 +72,7 @@ To use the official release of scala-kryo-serialization in Maven projects, pleas
7172
<dependency>
7273
<groupId>io.altoo</groupId>
7374
<artifactId>scala-kryo-serialization_2.13</artifactId>
74-
<version>1.0.0</version>
75+
<version>1.1.0</version>
7576
</dependency>
7677
```
7778

@@ -309,8 +310,8 @@ Enum Serialization
309310
Serialization of Java and Scala 3 enums is done by name (and not by index) to avoid having reordering of enum values breaking serialization.
310311

311312

312-
Using Kryo on JDK 17
313-
--------------------
313+
Using Kryo on JDK 17 and later
314+
------------------------------
314315

315316
Kryo needs modules to be opened for reflection when serializing basic JDK classes.
316317
Those options have to be passed to the JVM, for example in sbt:

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations._
77
val mainScalaVersion = "3.3.1"
88
val secondaryScalaVersions = Seq("2.12.18", "2.13.12")
99

10-
val kryoVersion = "5.4.0"
10+
val kryoVersion = "5.5.0"
1111
enablePlugins(ReleasePlugin)
1212
addCommandAlias("validatePullRequest", ";+test")
1313

0 commit comments

Comments
 (0)