Debian Codegraph @

debian/rust-vendor/shlex/CHANGELOG.md

raw
1 # 2.0.1
2
3 * Fixes a compile error when building the documentation.
4
5 # 2.0.0
6
7 * **Breaking:** Items that were marked as deprecated in 1.x have been removed: `join`, `quote`, `bytes::join`, and `bytes::quote`.
8 * **Breaking:** The `DerefMut` impl for `Shlex` has been removed since it was unsound. New `unsafe` APIs have been added in its place: `Shlex::from_bytes`, `Shlex::as_bytes_mut`.
9
10 # 1.3.0
11
12 * Full fix for the high-severity security vulnerability [RUSTSEC-2024-0006](https://rustsec.org/advisories/RUSTSEC-2024-0006.html) a.k.a. [GHSA-r7qv-8r2h-pg27](https://github.com/comex/rust-shlex/security/advisories/GHSA-r7qv-8r2h-pg27):
13 * Deprecates quote APIs in favor of `try_` equivalents that complain about nul bytes.
14 * Also adds a builder API, which allows re-enabling nul bytes without using the deprecated interface, and in the future can allow other things (as discussed in quoting_warning).
15 * Adds documentation about various security risks that remain, particularly with interactive shells.
16 * Adds explicit MSRV of 1.46.0.
17
18 # 1.2.1
19
20 * Partial fix for the high-severity security vulnerability [RUSTSEC-2024-0006](https://rustsec.org/advisories/RUSTSEC-2024-0006.html) a.k.a. [GHSA-r7qv-8r2h-pg27](https://github.com/comex/rust-shlex/security/advisories/GHSA-r7qv-8r2h-pg27) without bumping MSRV:
21 * The bytes `{` and `\xa0` are now escaped by quoting functions.
22
23 # 1.2.0
24
25 * Adds `bytes` module to support operating directly on byte strings.
26
27 # 1.1.0
28
29 * Adds the `std` feature (enabled by default).
30 * Disabling the `std` feature makes the crate work in `#![no_std]` mode, assuming presence of the `alloc` crate.
31
32 # 1.0.0
33
34 * Adds the `join` convenience function.
35 * Fixes parsing of `'\\n'` to match the behavior of bash/Zsh/Python `shlex`. The result was previously `\n`, now it is `\\n`.
36
37 # 0.1.1
38
39 * Adds handling of `#` comments.
40
41 # 0.1.0
42
43 This is the initial release.