Skip to content

Releases: NetrexMC/binary-utils

v0.3.3 - Syntax Sugar & Bug fixes

13 Aug 21:17
Compare
Choose a tag to compare

Change Log

  • Streamable is now properly deprecated and will be completely removed in v0.4.0
  • The following type structs have been added under binary_util::types:
    • u24 & i24
    • varu32 and vari32
    • varu64 and vari64
  • LE now properly encodes as Little Endian
  • BE now exists as an explicit type. (Even though by default everything is BE)
  • A bug with derive has been fixed that dis-allowed doc comments.

Full Changelog: v0.3.2...v0.3.3

v0.3.2 - Crates.io Fixed

02 May 05:52
Compare
Choose a tag to compare

This release fixes issues prior to this version where the derive module was not being properly imported on crates.io

Full Changelog: v0.3.1...v0.3.2

v0.3.1 - Minor Changes

02 May 00:38
Compare
Choose a tag to compare

Change Log

  • Added write_type<T>() and read_type<T>() to both io::ByteWriter and io::ByteReader
  • Dramatically improved documentation on crates.io

v0.3.0 - IO Improvements

02 May 00:34
Compare
Choose a tag to compare

This version is a major change from v0.2.1 and contains many breaking changes.

Change Log

  • Streamable has been deprecated in favor of io::Reader and io::Writer

  • error module has been deprecated in favor of std::io::Error

  • ByteReader has been added and replaces BinaryReader

  • ByteWriter has been added and replaces BinaryWriter

  • u24, and VarInt have been completely removed.

    Note: These may come back in the form of wrapper types.

  • BinaryIo has been added and replaces BinaryStream, which is deprecated in this release.

    Note: BinaryIo has new behavior from BinaryStream, it is recommended you look at the docs to review the changes.

    Note: While backwards compatibility for BinaryStream was implemented it is worth noting that anything currently implementing this may break if the position property is used.

  • Un-named fields within Enums now qualify for BinaryIo.This version is a major change from v0.2.1 and contains many breaking changes.

Commits

  • rfc: Improve performance and IO by @Bavfalcon9 in #13

Full Changelog: v0.2.2...v0.3.0

v0.2.2 - Adds support for unnamed fields and fixes a few bugs

31 Jan 01:53
Compare
Choose a tag to compare

What's Changed

  • chore: cargo fmt by @Bavfalcon9 in #11

Full Changelog: v0.2.1...v0.2.2

v0.2.2-alpha Adds support for Unnamed fields in Enums

26 Nov 00:51
Compare
Choose a tag to compare

What's Changed

  • chore: cargo fmt by @Bavfalcon9 in #11

Full Changelog: v0.2.1...v0.2.2

v0.2.1 - Error Handling

07 Nov 03:13
0f34ea9
Compare
Choose a tag to compare

This release proposes a way to allow the user to handle a binary failure, by returning Result<Ty, BinaryError> on all read/write operations.

What's Changed

Full Changelog: v0.2.0...v0.2.1

v0.2.0 - Macro and Simplification

07 Nov 03:11
8fb542d
Compare
Choose a tag to compare

This release contains a major overhaul to the api. For api docs, please checkout the reference on the wiki or docs.rs.

What's Changed

  • V2 by @Bavfalcon9 in #7
  • bug-fix(#8): Adds hacks to fix this issue. LE streams should be prope… by @Bavfalcon9 in #9

Full Changelog: v0.1.2...v2.0.0

v0.1.2 - Major Bug Fixes

19 Jul 04:00
Compare
Choose a tag to compare
Pre-release
  • Makes a change where signed ints are now default for read_long, read_short, read_var_int for both read and write.
  • Fixes an issue with read_slice where reading wouldn't be relative to the current offset causing an buffer overflow / underflow.
  • Fixes an issue where read_slice did not increment correctly when using.
  • Fixes an issue where the primitive types for some methods were incorrect to their naming convention.