Changelog History
Page 1
-
v0.9.3 Changes
👍 This version supports JDK17 #660.
Important: If you need to use DirectByteBuffer (raw memory access) in JDK17 or later, specify two JVM options to allow accessing native memory:
--add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED
⚡️ Internal updates:
-
v0.9.2 Changes
⚡️ Internal updates:
- ⚡️ Update jackson-databind to 2.13.3 #650
- ⚡️ Update akka-actor to 2.6.19 #631
- ⚡️ Update airframe-json, airspec to 22.6.1 #649
- ⚡️ Update scalacheck to 1.16.0 #636
- ⚡️ Update scala-collection-compat to 2.7.0 #632
- ⚡️ Update sbt-sonatype to 3.9.13 #644
- ⚡️ Update airframe-json, airspec to 22.5.0 #643
- ⚡️ Update sbt to 1.6.2 #630
-
v0.9.1 Changes
🐛 Bug fixes and improvements:
- Keep consistent read size after closing MessageUnpacker (#621) @okumin
- 🛠 Fixed examples relative link in README (#622) @zbuster05
- ➕ Add an ObjectMapper shorthand @cyberdelia (#620)
- Specify the bufferSize of the ArrayBufferOutput (#597) @szh
⚡️ Internal updates:
- ⚡️ Update akka-actor to 2.6.18 (#614) @Scala Steward
- ⚡️ Update airframe-json, airspec to 22.2.0 (#626) @Scala Steward
- ⚡️ Update junit-interface to 0.13.3 (#617) @Scala Steward
- ⚡️ Update sbt-scalafmt to 2.4.6 (#616) @Scala Steward
- ⬆️ Upgrade sbt to 1.5.6 (#610) @Taro L. Saito
- ⚡️ Update scala-collection-compat to 2.6.0 (#604) @Scala Steward
Known issues:
- Unpack method doesn't work in JDK17 https://github.com/msgpack/msgpack-java/issues/600
-
v0.9.0 Changes
👍 This version support reading and writing Timestamp values. Packer and unpacker interfaces added pack/unpackTimestamp methods.
Timestamp value in MessagePack is an extension type value whose code is -1. You can read TimestampValue object with MessgageUnapcker.unpackValue method. If you are using low-level unpack methods (e.g., unpackInt, unpackExtension, etc.), you need to read unpackExtensionHeader first, and if extHeader.isTimestampType() is true, call unpackTimestamp(extHeader).
📄 Timestamp values are represented with java.time.Instant objects. You can extract the unixtime value with Instant.getEpochSecond(), unixtime with milliseconds resolution with Instant.toEpochMilli(), and nano-resolution time with Instant.getNano().
As TimestampValue is just a sub class of ExtensionValue, no change requierd in your code that are traversing MessagePack data with MessageUnpacker.unpackValue method.
⚡️ Dependency updates:
- ⚡️ Update jackson-databind to 2.10.5.1 #559
⚡️ Internal updates:
-
v0.8.24 Changes
- Rebuild with JDK8 for Android compatibility #567
-
v0.8.23 Changes
- Produce stable map values #548
- 🛠 Fixes #544: Fix a bug in reading EXT32 of 2GB size #545
- ➕ Add a warning note for the usage of MessageUnpacker.readPayloadAsReference #546
Intenral changes:
- ➕ Add a script for releasing a new version of msgpack-java at CI
- Publish a snapshot version for every main branch commit #556
- 👉 Use dynamic versioning with Git tags v0.x.y format #555
- ⚡️ Update ScalaTest and ScalaCheck versions #554
- ✂ Remove findbugs #553
- ⚡️ Update build settings to use latest version of sbt and plugins #552
- ⚙ Run GitHub Actions for develop and main branches #551
- ✂ Remove Travis build #550
-
v0.8.20 Changes
November 27, 2019- Rebuild 0.8.19 with JDK8
-
v0.8.19 Changes
November 19, 2019- Support JDK11
- msgpack-jackson: Fixes #515