1**WARNING:** This CHANGELOG is no longer updated. The activity for this project
2is sparse enough that you should refer to the commit log instead.
3
4
51.3.4
6=====
7This patch release squashes deprecation warnings for the `try!` macro, in
8accordance with byteorder's minimum supported Rust version (currently at Rust
91.12.0).
10
11
121.3.3
13=====
14This patch release adds `ByteOrder::write_i8_into()` as a simple, safe interface
15for ordinarily unsafe or tedious code.
16
17
181.3.2
19=====
20This patch release adds `ReadBytesExt::read_i8_into()` as a simple, safe interface
21for ordinarily unsafe or tedious code.
22
23
241.3.1
25=====
26This minor release performs mostly small internal changes. Going forward, these
27are not going to be incorporated into the changelog.
28
29
301.3.0
31=====
32This new minor release now enables `i128` support automatically on Rust
33compilers that support 128-bit integers. The `i128` feature is now a no-op, but
34continues to exist for backward compatibility purposes. The crate continues to
35maintain compatibility with Rust 1.12.0.
36
37This release also deprecates the `ByteOrder` trait methods
38`read_f32_into_unchecked` and `read_f64_into_unchecked` in favor of
39`read_f32_into` and `read_f64_into`. This was an oversight from the 1.2 release
40where the corresponding methods on `ReadBytesExt` were deprecated.
41
42`quickcheck` and `rand` were bumped to `0.8` and `0.6`, respectively.
43
44A few small documentation related bugs have been fixed.
45
46
471.2.7
48=====
49This patch release excludes some CI files from the crate release and updates
50the license field to use `OR` instead of `/`.
51
52
531.2.6
54=====
55This patch release fixes some test compilation errors introduced by an
56over-eager release of 1.2.5.
57
58
591.2.5
60=====
61This patch release fixes some typos in the docs, adds doc tests to methods on
62`WriteByteExt` and bumps the quickcheck dependency to `0.7`.
63
64
651.2.4
66=====
67This patch release adds support for 48-bit integers by adding the following
68methods to the `ByteOrder` trait: `read_u48`, `read_i48`, `write_u48` and
69`write_i48`. Corresponding methods have been added to the `ReadBytesExt` and
70`WriteBytesExt` traits as well.
71
72
731.2.3
74=====
75This patch release removes the use of `feature(i128_type)` from byteorder,
76since it has been stabilized. We leave byteorder's `i128` feature in place
77in order to continue supporting compilation on older versions of Rust.
78
79
801.2.2
81=====
82This patch release only consists of internal improvements and refactorings.
83Notably, this removes all uses of `transmute` and instead uses pointer casts.
84
85
861.2.1
87=====
88This patch release removes more unnecessary uses of `unsafe` that
89were overlooked in the prior `1.2.0` release. In particular, the
90`ReadBytesExt::read_{f32,f64}_into_checked` methods have been deprecated and
91replaced by more appropriately named `read_{f32,f64}_into` methods.
92
93
941.2.0
95=====
96The most prominent change in this release of `byteorder` is the removal of
97unnecessary signaling NaN masking, and in turn, the `unsafe` annotations
98associated with methods that didn't do masking. See
99[#103](https://github.com/BurntSushi/byteorder/issues/103)
100for more details.
101
102* [BUG #102](https://github.com/BurntSushi/byteorder/issues/102):
103  Fix big endian tests.
104* [BUG #103](https://github.com/BurntSushi/byteorder/issues/103):
105  Remove sNaN masking.
106
107
1081.1.0
109=====
110This release of `byteorder` features a number of fixes and improvements, mostly
111as a result of the
112[Litz Blitz evaluation](https://public.etherpad-mozilla.org/p/rust-crate-eval-byteorder).
113
114Feature enhancements:
115
116* [FEATURE #63](https://github.com/BurntSushi/byteorder/issues/63):
117  Add methods for reading/writing slices of numbers for a specific
118  endianness.
119* [FEATURE #65](https://github.com/BurntSushi/byteorder/issues/65):
120  Add support for `u128`/`i128` types. (Behind the nightly only `i128`
121  feature.)
122* [FEATURE #72](https://github.com/BurntSushi/byteorder/issues/72):
123  Add "panics" and "errors" sections for each relevant public API item.
124* [FEATURE #74](https://github.com/BurntSushi/byteorder/issues/74):
125  Add CI badges to Cargo.toml.
126* [FEATURE #75](https://github.com/BurntSushi/byteorder/issues/75):
127  Add more examples to public API items.
128* Add 24-bit read/write methods.
129* Add `BE` and `LE` type aliases for `BigEndian` and `LittleEndian`,
130  respectively.
131
132Bug fixes:
133
134* [BUG #68](https://github.com/BurntSushi/byteorder/issues/68):
135  Panic in {BigEndian,LittleEndian}::default.
136* [BUG #69](https://github.com/BurntSushi/byteorder/issues/69):
137  Seal the `ByteOrder` trait to prevent out-of-crate implementations.
138* [BUG #71](https://github.com/BurntSushi/byteorder/issues/71):
139  Guarantee that the results of `read_f32`/`read_f64` are always defined.
140* [BUG #73](https://github.com/BurntSushi/byteorder/issues/73):
141  Add crates.io categories.
142* [BUG #77](https://github.com/BurntSushi/byteorder/issues/77):
143  Add `html_root` doc attribute.
144