]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | # Next |
2 | ||
3 | - 0.11.0 | |
4 | - Minimum rust version 1.34.0 | |
5 | - `no_std` is now supported via the two new features `alloc` and `std`. | |
6 | ||
7 | # 0.10.1 | |
8 | ||
9 | - Minimum rust version 1.27.2 | |
10 | - Fix bug in streaming encoding ([#90](https://github.com/marshallpierce/rust-base64/pull/90)): if the underlying writer didn't write all the bytes given to it, the remaining bytes would not be retried later. See the docs on `EncoderWriter::write`. | |
11 | - Make it configurable whether or not to return an error when decoding detects excess trailing bits. | |
12 | ||
13 | # 0.10.0 | |
14 | ||
15 | - Remove line wrapping. Line wrapping was never a great conceptual fit in this library, and other features (streaming encoding, etc) either couldn't support it or could support only special cases of it with a great increase in complexity. Line wrapping has been pulled out into a [line-wrap](https://crates.io/crates/line-wrap) crate, so it's still available if you need it. | |
16 | - `Base64Display` creation no longer uses a `Result` because it can't fail, which means its helper methods for common | |
17 | configs that `unwrap()` for you are no longer needed | |
18 | - Add a streaming encoder `Write` impl to transparently base64 as you write. | |
19 | - Remove the remaining `unsafe` code. | |
20 | - Remove whitespace stripping to simplify `no_std` support. No out of the box configs use it, and it's trivial to do yourself if needed: `filter(|b| !b" \n\t\r\x0b\x0c".contains(b)`. | |
21 | - Detect invalid trailing symbols when decoding and return an error rather than silently ignoring them. | |
22 | ||
23 | # 0.9.3 | |
24 | ||
25 | - Update safemem | |
26 | ||
27 | # 0.9.2 | |
28 | ||
29 | - Derive `Clone` for `DecodeError`. | |
30 | ||
31 | # 0.9.1 | |
32 | ||
33 | - Add support for `crypt(3)`'s base64 variant. | |
34 | ||
35 | # 0.9.0 | |
36 | ||
37 | - `decode_config_slice` function for no-allocation decoding, analogous to `encode_config_slice` | |
38 | - Decode performance optimization | |
39 | ||
40 | # 0.8.0 | |
41 | ||
42 | - `encode_config_slice` function for no-allocation encoding | |
43 | ||
44 | # 0.7.0 | |
45 | ||
46 | - `STANDARD_NO_PAD` config | |
47 | - `Base64Display` heap-free wrapper for use in format strings, etc | |
48 | ||
49 | # 0.6.0 | |
50 | ||
51 | - Decode performance improvements | |
52 | - Use `unsafe` in fewer places | |
53 | - Added fuzzers | |
54 | ||
55 | # 0.5.2 | |
56 | ||
57 | - Avoid usize overflow when calculating length | |
58 | - Better line wrapping performance | |
59 | ||
60 | # 0.5.1 | |
61 | ||
62 | - Temporarily disable line wrapping | |
63 | - Add Apache 2.0 license | |
64 | ||
65 | # 0.5.0 | |
66 | ||
67 | - MIME support, including configurable line endings and line wrapping | |
68 | - Removed `decode_ws` | |
69 | - Renamed `Base64Error` to `DecodeError` | |
70 | ||
71 | # 0.4.1 | |
72 | ||
73 | - Allow decoding a `AsRef<[u8]>` instead of just a `&str` | |
74 | ||
75 | # 0.4.0 | |
76 | ||
77 | - Configurable padding | |
78 | - Encode performance improvements | |
79 | ||
80 | # 0.3.0 | |
81 | ||
82 | - Added encode/decode functions that do not allocate their own storage | |
83 | - Decode performance improvements | |
84 | - Extraneous padding bytes are no longer ignored. Now, an error will be returned. |