Skip to content

Commit

Permalink
1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Apr 11, 2022
1 parent a4247cd commit 65da566
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions upickleReadme/Readme.scalatex
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
)
)

@sect("µPickle 1.4.3")
@sect("µPickle 1.6.0")
@div(display.flex, alignItems.center, flexDirection.column)
@div
@a(href := "https://gitter.im/lihaoyi/upickle")(
Expand Down Expand Up @@ -72,8 +72,8 @@

@sect{Getting Started}
@hl.scala
"com.lihaoyi" %% "upickle" % "1.4.3" // SBT
ivy"com.lihaoyi::upickle:1.4.3" // Mill
"com.lihaoyi" %% "upickle" % "1.6.0" // SBT
ivy"com.lihaoyi::upickle:1.6.0" // Mill

@p
And then you can immediately start writing and reading common Scala
Expand All @@ -91,16 +91,13 @@
@p
For ScalaJS applications, use this dependencies instead:
@hl.scala
"com.lihaoyi" %%% "upickle" % "1.4.3" // SBT
ivy"com.lihaoyi::upickle::1.4.3" // Mill
@p
Other than that, everything is used the same way. upickle-0.9.4
is only compatible with ScalaJS 0.6.x.
"com.lihaoyi" %%% "upickle" % "1.6.0" // SBT
ivy"com.lihaoyi::upickle::1.6.0" // Mill

@sect{Scala Versions}
@p

uPickle does not support Scala 2.10 or 2.11; only 2.12 and 2.13 are supported.
uPickle does not support Scala 2.10; only 2.11/2.12/2.13/3.x are supported.

@sect{Basics}
@sect{Builtins}
Expand Down Expand Up @@ -811,6 +808,17 @@
JSON library, and inherits a lot of it's performance from Erik's work.

@sect{Version History}
@sect{1.6.0}
@ul
Forwards compatibility for uPickle 2.x (@lnk("#385", "https://github.com/com-lihaoyi/upickle/pull/385")).
This reduces the strictness of deserialization logic to allow parsing of both old and new
formats: @code{Map}s can be deserialized from both JSON list-of-list and JSON dictionary
formats, numbers can be deserialized from strings, and @code{Unit} can be deserialized from
empty JSON dictionaries or nulls
@sect{1.5.0}
@ul
Support Scala-Native on Scala 3

@sect{1.4.3}
@ul
@code{MsgPackReader}: properly increment index in ext @lnk("#370", "https://github.com/com-lihaoyi/upickle/pull/370")
Expand Down

0 comments on commit 65da566

Please sign in to comment.