]> git.proxmox.com Git - rustc.git/blob - vendor/xshell/CHANGELOG.md
New upstream version 1.64.0+dfsg1
[rustc.git] / vendor / xshell / CHANGELOG.md
1 # Changelog
2
3 ## 0.2.2
4
5 - Add `Shell::path_exists`.
6
7 ## 0.2.1
8
9 - `Shell::remove_path` returns `Ok` if the path does not exist (ie the function
10 is now idempotent).
11
12 ## 0.2.0
13
14 A major release with significant changes to the API:
15
16 - All global state is removed in favor of explicitly passing a `Shell` instance.
17 - Some methods are renamed to better match Rust naming conventions.
18 - New APIs for controlling working directory and environment.
19 - MSRV is raised to 1.59.0.
20 - Improved reliability across the board: the crate aims to become a dependable
21 1.0 tool in the future (no ETA).
22 - This is expected to be the last *large* API reshuffle.
23
24 ## 0.1.17
25
26 - Allow panics to transparently pass through xshell calls.
27 This removes some internal lock poisoned errors.
28
29 ## 0.1.16
30
31 - Add `xshell::hard_link`.
32
33 ## 0.1.15
34
35 - Correctly handle multiple internal read guards.
36
37 ## 0.1.14
38
39 - Correctly handle commands name starting with quote.
40
41 ## 0.1.13
42
43 - Add `ignore_stdout`, `ignore_stderr` functions.
44
45 ## 0.1.12
46
47 - Add `env`, `env_revome`, `env_clear` functions.
48
49 ## 0.1.11
50
51 - `write_file` now creates the intervening directory path if it doesn't exit.
52
53 ## 0.1.10
54
55 - `echo_cmd` output goes to stderr, not stdout.
56
57 ## 0.1.9
58
59 - `mktemp_d` creates an (insecure, world readable) temporary directory.
60 - Fix cp docs.
61
62 ## 0.1.8
63
64 - Add option to not echo command at all.
65 - Add option to censor command contents when echoing.
66 - Add docs.
67
68 ## 0.1.7
69
70 - `cp(foo, bar)` copies `foo` _into_ `bar`, if `bar` is an existing directory.
71 - Tweak reading API.
72
73 ## 0.1.6
74
75 - `.read()` chomps `\r\n` on Windows.
76 - Prevent cwd/env races when using `.read()` or `.run()`.
77 - Better spans in error messages.
78
79 ## 0.1.5
80
81 - Improve proc-macro error messages.
82
83 ## 0.1.4
84
85 - No changelog until this point :(