Skip to content

Commit

Permalink
4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Jul 22, 2024
1 parent 71bb31d commit 7ca02cf
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions upickleReadme/Readme.scalatex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
)
)

@sect("uPickle 4.0.0-RC1")
@sect("uPickle 4.0.0")
@div(display.flex, alignItems.center, flexDirection.column)
@div
@a(href := "https://gitter.im/lihaoyi/upickle")(
Expand Down Expand Up @@ -74,8 +74,8 @@

@sect{Getting Started}
@hl.scala
"com.lihaoyi" %% "upickle" % "4.0.0-RC1" // SBT
ivy"com.lihaoyi::upickle:4.0.0-RC1" // Mill
"com.lihaoyi" %% "upickle" % "4.0.0" // SBT
ivy"com.lihaoyi::upickle:4.0.0" // Mill

@p
And then you can immediately start writing and reading common Scala
Expand All @@ -93,8 +93,8 @@
@p
For ScalaJS applications, use this dependencies instead:
@hl.scala
"com.lihaoyi" %%% "upickle" % "4.0.0-RC1" // SBT
ivy"com.lihaoyi::upickle::4.0.0-RC1" // Mill
"com.lihaoyi" %%% "upickle" % "4.0.0" // SBT
ivy"com.lihaoyi::upickle::4.0.0" // Mill

@sect{Scala Versions}
@p
Expand Down Expand Up @@ -915,18 +915,13 @@
JSON library, and inherits a lot of it's performance from Erik's work.

@sect{Version History}
@sect{4.0.0-RC1}
@sect{4.0.0}
@ul
@li
@b{4.0.0 is a major breaking change in uPickle, including in the serialization
format for many common data types (@hl.scala{Option}s, @hl.scala{sealed trait}s,
etc.), as well as breaking binary compatibility. Please be
careful upgrading and follow the instructions below.}
@li
uPickle 4.0.0-RC1 is a release candidate. It breaks backwards compatibility with
uPickle 3.x (binary and serialization), but makes no promises for compatibility
with uPickle 4.0.0 final. Hopefully nothing will need to change between 4.0.0-RC1
and 4.0.0 final, but it cannot be guaranteed.
@li
Shorten @code{$type} tag used for discriminating @hl.scala{sealed trait} cases
@lnk("#594", "https://github.com/com-lihaoyi/upickle/pull/596")
Expand All @@ -939,6 +934,8 @@
@li
Allow field-level and class-level application of @code{serializeDefaults} as an annotation
@lnk("#608", "https://github.com/com-lihaoyi/upickle/pull/608").
@li
Drop support for Scala 3.3, uPickle 4.0.0 only supports Scala 2.13.x and 3.4.x and above
@li
To upgrade to uPickle 4.0.0 from uPickle 3.x while preserving the existing serialization
format, please add @hl.scala{override def objectTypeKeyWriteFullyQualified = true} and
Expand Down

0 comments on commit 7ca02cf

Please sign in to comment.