|
25 | 25 | ) |
26 | 26 | ) |
27 | 27 |
|
28 | | -@sect("uPickle 4.0.0-RC1") |
| 28 | +@sect("uPickle 4.0.0") |
29 | 29 | @div(display.flex, alignItems.center, flexDirection.column) |
30 | 30 | @div |
31 | 31 | @a(href := "https://gitter.im/lihaoyi/upickle")( |
|
74 | 74 |
|
75 | 75 | @sect{Getting Started} |
76 | 76 | @hl.scala |
77 | | - "com.lihaoyi" %% "upickle" % "4.0.0-RC1" // SBT |
78 | | - ivy"com.lihaoyi::upickle:4.0.0-RC1" // Mill |
| 77 | + "com.lihaoyi" %% "upickle" % "4.0.0" // SBT |
| 78 | + ivy"com.lihaoyi::upickle:4.0.0" // Mill |
79 | 79 |
|
80 | 80 | @p |
81 | 81 | And then you can immediately start writing and reading common Scala |
|
93 | 93 | @p |
94 | 94 | For ScalaJS applications, use this dependencies instead: |
95 | 95 | @hl.scala |
96 | | - "com.lihaoyi" %%% "upickle" % "4.0.0-RC1" // SBT |
97 | | - ivy"com.lihaoyi::upickle::4.0.0-RC1" // Mill |
| 96 | + "com.lihaoyi" %%% "upickle" % "4.0.0" // SBT |
| 97 | + ivy"com.lihaoyi::upickle::4.0.0" // Mill |
98 | 98 |
|
99 | 99 | @sect{Scala Versions} |
100 | 100 | @p |
|
915 | 915 | JSON library, and inherits a lot of it's performance from Erik's work. |
916 | 916 |
|
917 | 917 | @sect{Version History} |
918 | | - @sect{4.0.0-RC1} |
| 918 | + @sect{4.0.0} |
919 | 919 | @ul |
920 | 920 | @li |
921 | 921 | @b{4.0.0 is a major breaking change in uPickle, including in the serialization |
922 | 922 | format for many common data types (@hl.scala{Option}s, @hl.scala{sealed trait}s, |
923 | 923 | etc.), as well as breaking binary compatibility. Please be |
924 | 924 | careful upgrading and follow the instructions below.} |
925 | | - @li |
926 | | - uPickle 4.0.0-RC1 is a release candidate. It breaks backwards compatibility with |
927 | | - uPickle 3.x (binary and serialization), but makes no promises for compatibility |
928 | | - with uPickle 4.0.0 final. Hopefully nothing will need to change between 4.0.0-RC1 |
929 | | - and 4.0.0 final, but it cannot be guaranteed. |
930 | 925 | @li |
931 | 926 | Shorten @code{$type} tag used for discriminating @hl.scala{sealed trait} cases |
932 | 927 | @lnk("#594", "https://github.com/com-lihaoyi/upickle/pull/596") |
|
939 | 934 | @li |
940 | 935 | Allow field-level and class-level application of @code{serializeDefaults} as an annotation |
941 | 936 | @lnk("#608", "https://github.com/com-lihaoyi/upickle/pull/608"). |
| 937 | + @li |
| 938 | + Drop support for Scala 3.3, uPickle 4.0.0 only supports Scala 2.13.x and 3.4.x and above |
942 | 939 | @li |
943 | 940 | To upgrade to uPickle 4.0.0 from uPickle 3.x while preserving the existing serialization |
944 | 941 | format, please add @hl.scala{override def objectTypeKeyWriteFullyQualified = true} and |
|
0 commit comments