Skip to content

Latest commit

 

History

History
77 lines (45 loc) · 1.72 KB

CHANGELOG.md

File metadata and controls

77 lines (45 loc) · 1.72 KB

Changelog

2.0.0 - 2024-12-02

Added

  • Add mcnbt::tag::pretty_truncated function.

Changed

  • Lists are truncated now as well just like arrays when using mcnbt::tag::Tag::pretty_truncated.

Removed

  • BREAKING: Remove mcnbt::tag::ABBREVIATE_ARRAY_SIZE constant.
  • BREAKING: Made mcnbt::tag::INDENT constant private.
  • mcnbt::tag::Tag::pretty no longer truncates arrays. Use mcnbt::tag::Tag::pretty_truncated if you need truncation.

1.1.0 - 2023-11-19

Added

  • Add CLI.
  • Add deserialization support.
  • Add mcnbt::tag::Tag::pretty function.
  • Add mcnbt::tag::Tag::name function.
  • Add mcnbt::tag::INDENT constant.
  • Add mcnbt::tag::ABBREVIATE_ARRAY_SIZE constant.

Changed

  • Improve errors.

Fixed

  • Empty lists now use end tag as the type.

1.0.0 - 2023-10-27

Added

  • Add several helper macros for creating tags.
  • Add discriminants to mcnbt::Tag.
  • Add mcnbt::errors module.

Changed

  • BREAKING: mcnbt::tag::Tag::as_bytes has been renamed to to_bytes and now returns a Result.
  • BREAKING: Changed types of mcnbt::tag::Tag variants.

Removed

  • BREAKING: Remove mcnbt::FORMAT_VERSION.

0.2.0 - 2023-10-21

Added

  • Add nbt macro.
  • Add common traits for mcnbt::tag::Tag.
  • Add mcnbt::byte_order::ByteOrder::bytes.

0.1.0 - 2023-07-02

🍰 Initial release