jawn v0.14.3 Release Notes
Release Date: 2019-11-11 // over 4 years ago-
๐ This release includes a fix by Daniel Strittmatter for a bug that resulted in invalid Unicode escape sequences in JSON strings being accepted by the parser:
scala\> import org.typelevel.jawn.{NullFacade, Parser}import org.typelevel.jawn.{NullFacade, Parser} scala\> Parser.parseFromString("\"\\uFFFF\"")(NullFacade) // Should parse and does.res0: scala.util.Try[Unit] = Success(()) scala\> Parser.parseFromString("\"\\uGGGG\"")(NullFacade) // Shouldn't parse but does before 0.14.3.res1: scala.util.Try[Unit] = Success(()) scala\> Parser.parseFromString("\"\\uQQQQ\"")(NullFacade) // Shouldn't parse and doesn't.res2: scala.util.Try[Unit] = Failure(org.typelevel.jawn.ParseException: expected valid unicode escape got 'QQQQ"' (line 1, column 4))
๐ See #202 for details.
๐ This release also updates the patch versions of the Play JSON and json4s dependencies for the relevant support modules. It is verified by MiMa to be binary compatible with previous 0.14.x releases.