Releases: NetrexMC/binary-utils
v0.3.3 - Syntax Sugar & Bug fixes
Change Log
Streamableis now properly deprecated and will be completely removed inv0.4.0- The following type structs have been added under
binary_util::types:u24&i24varu32andvari32varu64andvari64
LEnow properly encodes as Little EndianBEnow 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
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
Change Log
- Added
write_type<T>()andread_type<T>()to bothio::ByteWriterandio::ByteReader - Dramatically improved documentation on crates.io
v0.3.0 - IO Improvements
This version is a major change from v0.2.1 and contains many breaking changes.
Change Log
-
Streamablehas been deprecated in favor ofio::Readerandio::Writer -
errormodule has been deprecated in favor ofstd::io::Error -
ByteReaderhas been added and replacesBinaryReader -
ByteWriterhas been added and replacesBinaryWriter -
u24, andVarInthave been completely removed.Note: These may come back in the form of wrapper types.
-
BinaryIohas been added and replacesBinaryStream, which is deprecated in this release.Note:
BinaryIohas new behavior fromBinaryStream, it is recommended you look at the docs to review the changes.Note: While backwards compatibility for
BinaryStreamwas implemented it is worth noting that anything currently implementing this may break if thepositionproperty is used. -
Un-named fields within
Enumsnow qualify forBinaryIo.This version is a major change fromv0.2.1and 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
v0.2.2-alpha Adds support for Unnamed fields in Enums
v0.2.1 - Error Handling
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
- feat: Add NetrexMC/Netrex/issues/16 by @Bavfalcon9 in #10
Full Changelog: v0.2.0...v0.2.1
v0.2.0 - Macro and Simplification
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
- Makes a change where signed ints are now default for
read_long,read_short,read_var_intfor both read and write. - Fixes an issue with
read_slicewhere reading wouldn't be relative to the current offset causing an buffer overflow / underflow. - Fixes an issue where
read_slicedid not increment correctly when using. - Fixes an issue where the primitive types for some methods were incorrect to their naming convention.