Releases: ForeverZer0/SharpNBT
Releases · ForeverZer0/SharpNBT
Hotfix for Stringify bug
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
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
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
Implemented both generating and parsing arbitrary SNBT strings.
Initial Release
Initial public release