Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 4ef17ef

Browse files
committed
update release notes
1 parent eead919 commit 4ef17ef

File tree

1 file changed

+134
-0
lines changed

1 file changed

+134
-0
lines changed

RELEASES.md

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,137 @@
1+
Version 1.77.2 (2024-04-09)
2+
===========================
3+
4+
<a id="1.77.2"></a>
5+
6+
- [CVE-2024-24576: fix escaping of Windows batch file arguments in `std::process::Command`](https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html)
7+
8+
Version 1.77.1 (2024-03-28)
9+
===========================
10+
11+
<a id="1.77.1"></a>
12+
13+
- [Revert stripping debuginfo by default for Windows](https://github.com/rust-lang/cargo/pull/13654)
14+
This fixes a regression in 1.77 by reverting to the previous default.
15+
Platforms other than Windows are not affected.
16+
- Internal: [Fix heading anchor rendering in doc pages](https://github.com/rust-lang/rust/pull/122693)
17+
18+
Version 1.77.0 (2024-03-21)
19+
==========================
20+
21+
<a id="1.77.0-Language"></a>
22+
23+
Language
24+
--------
25+
26+
- [Reveal opaque types within the defining body for exhaustiveness checking.](https://github.com/rust-lang/rust/pull/116821/)
27+
- [Stabilize C-string literals.](https://github.com/rust-lang/rust/pull/117472/)
28+
- [Stabilize THIR unsafeck.](https://github.com/rust-lang/rust/pull/117673/)
29+
- [Add lint `static_mut_refs` to warn on references to mutable statics.](https://github.com/rust-lang/rust/pull/117556/)
30+
- [Support async recursive calls (as long as they have indirection).](https://github.com/rust-lang/rust/pull/117703/)
31+
- [Undeprecate lint `unstable_features` and make use of it in the compiler.](https://github.com/rust-lang/rust/pull/118639/)
32+
- [Make inductive cycles in coherence ambiguous always.](https://github.com/rust-lang/rust/pull/118649/)
33+
- [Get rid of type-driven traversal in const-eval interning](https://github.com/rust-lang/rust/pull/119044/),
34+
only as a [future compatiblity lint](https://github.com/rust-lang/rust/pull/122204) for now.
35+
- [Deny braced macro invocations in let-else.](https://github.com/rust-lang/rust/pull/119062/)
36+
37+
<a id="1.77.0-Compiler"></a>
38+
39+
Compiler
40+
--------
41+
42+
- [Include lint `soft_unstable` in future breakage reports.](https://github.com/rust-lang/rust/pull/116274/)
43+
- [Make `i128` and `u128` 16-byte aligned on x86-based targets.](https://github.com/rust-lang/rust/pull/116672/)
44+
- [Use `--verbose` in diagnostic output.](https://github.com/rust-lang/rust/pull/119129/)
45+
- [Improve spacing between printed tokens.](https://github.com/rust-lang/rust/pull/120227/)
46+
- [Merge the `unused_tuple_struct_fields` lint into `dead_code`.](https://github.com/rust-lang/rust/pull/118297/)
47+
- [Error on incorrect implied bounds in well-formedness check](https://github.com/rust-lang/rust/pull/118553/),
48+
with a temporary exception for Bevy.
49+
- [Fix coverage instrumentation/reports for non-ASCII source code.](https://github.com/rust-lang/rust/pull/119033/)
50+
- [Fix `fn`/`const` items implied bounds and well-formedness check.](https://github.com/rust-lang/rust/pull/120019/)
51+
- [Promote `riscv32{im|imafc}-unknown-none-elf` targets to tier 2.](https://github.com/rust-lang/rust/pull/118704/)
52+
- Add several new tier 3 targets:
53+
- [`aarch64-unknown-illumos`](https://github.com/rust-lang/rust/pull/112936/)
54+
- [`hexagon-unknown-none-elf`](https://github.com/rust-lang/rust/pull/117601/)
55+
- [`riscv32imafc-esp-espidf`](https://github.com/rust-lang/rust/pull/119738/)
56+
- [`riscv32im-risc0-zkvm-elf`](https://github.com/rust-lang/rust/pull/117958/)
57+
58+
Refer to Rust's [platform support page][platform-support-doc]
59+
for more information on Rust's tiered platform support.
60+
61+
<a id="1.77.0-Libraries"></a>
62+
63+
Libraries
64+
---------
65+
66+
- [Implement `From<&[T; N]>` for `Cow<[T]>`.](https://github.com/rust-lang/rust/pull/113489/)
67+
- [Remove special-case handling of `vec.split_off(0)`.](https://github.com/rust-lang/rust/pull/119917/)
68+
69+
<a id="1.77.0-Stabilized-APIs"></a>
70+
71+
Stabilized APIs
72+
---------------
73+
74+
- [`array::each_ref`](https://doc.rust-lang.org/stable/std/primitive.array.html#method.each_ref)
75+
- [`array::each_mut`](https://doc.rust-lang.org/stable/std/primitive.array.html#method.each_mut)
76+
- [`core::net`](https://doc.rust-lang.org/stable/core/net/index.html)
77+
- [`f32::round_ties_even`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.round_ties_even)
78+
- [`f64::round_ties_even`](https://doc.rust-lang.org/stable/std/primitive.f64.html#method.round_ties_even)
79+
- [`mem::offset_of!`](https://doc.rust-lang.org/stable/std/mem/macro.offset_of.html)
80+
- [`slice::first_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.first_chunk)
81+
- [`slice::first_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.first_chunk_mut)
82+
- [`slice::split_first_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_first_chunk)
83+
- [`slice::split_first_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_first_chunk_mut)
84+
- [`slice::last_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.last_chunk)
85+
- [`slice::last_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.last_chunk_mut)
86+
- [`slice::split_last_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_last_chunk)
87+
- [`slice::split_last_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_last_chunk_mut)
88+
- [`slice::chunk_by`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.chunk_by)
89+
- [`slice::chunk_by_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.chunk_by_mut)
90+
- [`Bound::map`](https://doc.rust-lang.org/stable/std/ops/enum.Bound.html#method.map)
91+
- [`File::create_new`](https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.create_new)
92+
- [`Mutex::clear_poison`](https://doc.rust-lang.org/stable/std/sync/struct.Mutex.html#method.clear_poison)
93+
- [`RwLock::clear_poison`](https://doc.rust-lang.org/stable/std/sync/struct.RwLock.html#method.clear_poison)
94+
95+
<a id="1.77.0-Cargo"></a>
96+
97+
Cargo
98+
-----
99+
100+
- [Extend the build directive syntax with `cargo::`.](https://github.com/rust-lang/cargo/pull/12201/)
101+
- [Stabilize metadata `id` format as `PackageIDSpec`.](https://github.com/rust-lang/cargo/pull/12914/)
102+
- [Pull out as `cargo-util-schemas` as a crate.](https://github.com/rust-lang/cargo/pull/13178/)
103+
- [Strip all debuginfo when debuginfo is not requested.](https://github.com/rust-lang/cargo/pull/13257/)
104+
- [Inherit jobserver from env for all kinds of runners.](https://github.com/rust-lang/cargo/pull/12776/)
105+
- [Deprecate rustc plugin support in cargo.](https://github.com/rust-lang/cargo/pull/13248/)
106+
107+
<a id="1.77.0-Rustdoc"></a>
108+
109+
Rustdoc
110+
-----
111+
112+
- [Allows links in markdown headings.](https://github.com/rust-lang/rust/pull/117662/)
113+
- [Search for tuples and unit by type with `()`.](https://github.com/rust-lang/rust/pull/118194/)
114+
- [Clean up the source sidebar's hide button.](https://github.com/rust-lang/rust/pull/119066/)
115+
- [Prevent JS injection from `localStorage`.](https://github.com/rust-lang/rust/pull/120250/)
116+
117+
<a id="1.77.0-Misc"></a>
118+
119+
Misc
120+
----
121+
122+
- [Recommend version-sorting for all sorting in style guide.](https://github.com/rust-lang/rust/pull/115046/)
123+
124+
<a id="1.77.0-Internal-Changes"></a>
125+
126+
Internal Changes
127+
----------------
128+
129+
These changes do not affect any public interfaces of Rust, but they represent
130+
significant improvements to the performance or internals of rustc and related
131+
tools.
132+
133+
- [Add more weirdness to `weird-exprs.rs`.](https://github.com/rust-lang/rust/pull/119028/)
134+
1135
Version 1.76.0 (2024-02-08)
2136
==========================
3137

0 commit comments

Comments
 (0)