Skip to content

Releases: ForeverZer0/SharpNBT

Hotfix for Stringify bug

01 Sep 05:58
Compare
Choose a tag to compare

This release is a hotfix to correct a bug that was introdiced with 1.3.0 where Stringify of children in a CompoundTag gave ToString output.

.NET 7 and Reimplemented SNBT Parser

27 Aug 20:48
Compare
Choose a tag to compare

This version may have breaking changes:

  • Targets .NET 7.0 and C# 12.0 to take advantage of modern language features
  • Nullability annotations
  • Completely new (and faster) SNBT parser that doesn't rely on Regex
  • CompoundTag is now an IDictionary implementation
  • API improvements
  • Bug fixes

BoolTag and Faster SNBT parsing

18 Sep 22:54
Compare
Choose a tag to compare

Addition of a BoolTag class for better semantics. While this class cannot be parsed from a binary file (it is serialized as a ByteTag), it will properly be parsed from SNBT where the value is true or false, and can be used with the TagBuilder class via the new AddBool method.

Regular expressions used by the SNBT tokenizer are now created with the Compiled flag for a significant boost in parsing speed at the cost of a minor increase (insignificant) for the load time of the assembly.

String NBT (SNBT) Support

01 Sep 03:05
Compare
Choose a tag to compare

Implemented both generating and parsing arbitrary SNBT strings.

Initial Release

25 Aug 23:49
Compare
Choose a tag to compare

Initial public release