Skip to content

Commit

Permalink
Bumps the version to 0.4.1 and adds a NEWS file.
Browse files Browse the repository at this point in the history
  • Loading branch information
atheriel committed Aug 19, 2019
1 parent ad37687 commit e7c56a0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repository = "https://github.com/PistonDevelopers/hematite_nbt"
readme = "README.md"
license = "MIT"
keywords = ["nbt", "minecraft", "serde", "serialization"]
version = "0.4.0"
version = "0.4.1"
authors = [
"Aaron Jacobs <[email protected]>",
"Fenhl <[email protected]>",
Expand Down
17 changes: 17 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# hematite_nbt 0.4.1

* Strings are now encoded and decoded using [Modified UTF-8](https://en.wikipedia.org/wiki/UTF-8#Modified_UTF-8),
matching the behaviour of the vanilla Minecraft client. This should only
affect strings with codepoints outside of the Basic Multilingual Plane, which
are likely quite rare in the wild. Note that we permissively handle true UTF-8
input, but always write MUTF-8 output. (#39)

* Serde-based deserialization now supports `TAG_LongArray`. (#41 by @caelunshun)

* Empty lists are now written with `TAG_End` as the list type instead of
`TAG_Byte`. This matches the behaviour of the vanilla Minecraft client,
although it should not in theory affect well-behaved NBT parsers.

* Fixes Serde-based serialization of empty lists.

* Updates the project `README` and adds a `NEWS` file.

0 comments on commit e7c56a0

Please sign in to comment.