Skip to content

Commit 741dfb5

Browse files
authored
Add release notes for 0.9.0 (#581)
1 parent 651a2a0 commit 741dfb5

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ $ git tag v0.x.y
9696
$ git push origin v0.x.y
9797
```
9898

99+
To generate a release notes, you can use this command line:
100+
```
101+
$ git log v(last version).. --oneline | cut -f 2- -d ' ' | perl -npe 's/(.*)\(\#([0-9]+)\)/* \1\[\#\2\]\(http:\/\/github.com\/msgpack\/msgpack-java\/pull\/\2\)/g'
102+
```
103+
104+
#### Publishing to Sonatype from Local Machine
105+
99106
If you need to publish to Maven central using a local machine, you need to configure [sbt-sonatype](https://github.com/xerial/sbt-sonatype) plugin. First set Sonatype account information (user name and password) in the global sbt settings. To protect your password, never include this file in your project.
100107

101108
___$HOME/.sbt/(sbt-version)/sonatype.sbt___

RELEASE_NOTES.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# Release Notes
22

3+
## 0.9.0
4+
5+
This version support reading and writing [Timestamp values](https://github.com/msgpack/msgpack/blob/master/spec.md#timestamp-extension-type).
6+
Packer and unpacker interfaces added pack/unpackTimestamp methods.
7+
8+
Timestamp value in MessagePack is an extension type value whose code is -1. If MessgageUnapcker.unpackValue method is used,
9+
TimestampValue object can be retrieved automatically. If you are using low-level unpack methods (e.g., unpackInt, unpackExtension, etc.),
10+
you need to read unpackExtensionHeader first, and if extHeader.isTimestampType is true, call unpackTimestamp(ext).
11+
12+
When reading Timestamp values, [java.time.Instant](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Instant.html) will be returned.
13+
You can extract the unixtime with Instant.getEpochSecond(), unixtime with milliseconds resolution with Instant.toEpochMilli(), and nano-resolution time with Instant.getNano().
14+
15+
As TimestampValue is a sub class of ExtensionValue, your code traversing MessagePack data with MessageUnpacker.unpackValue should require no change.
16+
17+
18+
* Added Timestamp support [#565](http://github.com/msgpack/msgpack-java/pull/565) and low-level APIs [#580](https://github.com/msgpack/msgpack-java/pull/580) for
19+
reading timestamp values.
20+
21+
Dependency updates:
22+
* Update jackson-databind to 2.10.5.1 [#559](http://github.com/msgpack/msgpack-java/pull/559)
23+
24+
Internal updates:
25+
* Update akka-actor to 2.6.14 [#579](http://github.com/msgpack/msgpack-java/pull/579)
26+
* Fix for Scala 2.13 syntax [#577](http://github.com/msgpack/msgpack-java/pull/577)
27+
* Update airframe-json, airspec to 21.6.0 [#576](http://github.com/msgpack/msgpack-java/pull/576)
28+
* Update scala-library to 2.13.6 [#568](http://github.com/msgpack/msgpack-java/pull/568)
29+
* Update sbt to 1.5.3 [#575](http://github.com/msgpack/msgpack-java/pull/575)
30+
331
## 0.8.24
432

533
* Rebuild with JDK8 for Android compatibility [#567](https://github.com/msgpack/msgpack-java/pull/567)

0 commit comments

Comments
 (0)