Skip to content

Commit 2b603f9

Browse files
committed
Auto merge of rust-lang#116778 - Mark-Simulacrum:relnotes, r=Mark-Simulacrum
Add 1.74 release notes r? `@cuviper` `@rust-lang/release`
2 parents a04d56b + ff7c684 commit 2b603f9

File tree

1 file changed

+115
-0
lines changed

1 file changed

+115
-0
lines changed

RELEASES.md

+115
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,118 @@
1+
Version 1.74.0 (2023-11-16)
2+
==========================
3+
4+
<a id="1.74.0-Language"></a>
5+
6+
Language
7+
--------
8+
9+
- [Codify that `std::mem::Discriminant<T>` does not depend on any lifetimes in T](https://github.com/rust-lang/rust/pull/104299/)
10+
- [Replace `private_in_public` lint with `private_interfaces` and `private_bounds` per RFC 2145](https://github.com/rust-lang/rust/pull/113126/)
11+
Read more in [RFC 2145](https://rust-lang.github.io/rfcs/2145-type-privacy.html).
12+
- [Allow explicit `#[repr(Rust)]`](https://github.com/rust-lang/rust/pull/114201/)
13+
- [closure field capturing: don't depend on alignment of packed fields](https://github.com/rust-lang/rust/pull/115315/)
14+
- [Enable MIR-based drop-tracking for `async` blocks](https://github.com/rust-lang/rust/pull/107421/)
15+
16+
<a id="1.74.0-Compiler"></a>
17+
18+
Compiler
19+
--------
20+
21+
- [stabilize combining +bundle and +whole-archive link modifiers](https://github.com/rust-lang/rust/pull/113301/)
22+
- [Stabilize `PATH` option for `--print KIND=PATH`](https://github.com/rust-lang/rust/pull/114183/)
23+
- [Enable ASAN/LSAN/TSAN for `*-apple-ios-macabi`](https://github.com/rust-lang/rust/pull/115644/)
24+
- [Promote loongarch64-unknown-none* to Tier 2](https://github.com/rust-lang/rust/pull/115368/)
25+
- [Add `i686-pc-windows-gnullvm` as a tier 3 target](https://github.com/rust-lang/rust/pull/115687/)
26+
27+
<a id="1.74.0-Libraries"></a>
28+
29+
Libraries
30+
---------
31+
32+
- [Implement `From<OwnedFd/Handle>` for ChildStdin/out/err](https://github.com/rust-lang/rust/pull/98704/)
33+
- [Implement `From<{&,&mut} [T; N]>` for `Vec<T>` where `T: Clone`](https://github.com/rust-lang/rust/pull/111278/)
34+
- [impl Step for IP addresses](https://github.com/rust-lang/rust/pull/113748/)
35+
- [Implement `From<[T; N]>` for `Rc<[T]>` and `Arc<[T]>`](https://github.com/rust-lang/rust/pull/114041/)
36+
- [`impl TryFrom<char> for u16`](https://github.com/rust-lang/rust/pull/114065/)
37+
- [Stabilize `io_error_other` feature](https://github.com/rust-lang/rust/pull/115453/)
38+
- [Stabilize the `Saturating` type](https://github.com/rust-lang/rust/pull/115477/)
39+
- [Stabilize const_transmute_copy](https://github.com/rust-lang/rust/pull/115520/)
40+
41+
<a id="1.74.0-Stabilized-APIs"></a>
42+
43+
Stabilized APIs
44+
---------------
45+
46+
- [`core::num::Saturating`](https://doc.rust-lang.org/stable/std/num/struct.Saturating.html)
47+
- [`impl From<io::Stdout> for std::process::Stdio`](https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStdout%3E-for-Stdio)
48+
- [`impl From<io::Stderr> for std::process::Stdio`](https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStderr%3E-for-Stdio)
49+
- [`impl From<OwnedHandle> for std::process::Child{Stdin, Stdout, Stderr}`](https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStderr%3E-for-Stdio)
50+
- [`impl From<OwnedFd> for std::process::Child{Stdin, Stdout, Stderr}`](https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStderr%3E-for-Stdio)
51+
- [`std::ffi::OsString::from_encoded_bytes_unchecked`](https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.from_encoded_bytes_unchecked)
52+
- [`std::ffi::OsString::into_encoded_bytes`](https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.into_encoded_bytes)
53+
- [`std::ffi::OsStr::from_encoded_bytes_unchecked`](https://doc.rust-lang.org/stable/std/ffi/struct.OsStr.html#method.from_encoded_bytes_unchecked)
54+
- [`std::ffi::OsStr::as_encoded_bytes`](https://doc.rust-lang.org/stable/std/ffi/struct.OsStr.html#method.as_encoded_bytes)
55+
- [`std::io::Error::other`](https://doc.rust-lang.org/stable/std/io/struct.Error.html#method.other)
56+
- [`impl TryFrom<char> for u16`](https://doc.rust-lang.org/stable/std/primitive.u16.html#impl-TryFrom%3Cchar%3E-for-u16)
57+
- [`impl<T: Clone, const N: usize> From<&[T; N]> for Vec<T>`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#impl-From%3C%26%5BT;+N%5D%3E-for-Vec%3CT,+Global%3E)
58+
- [`impl<T: Clone, const N: usize> From<&mut [T; N]> for Vec<T>`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#impl-From%3C%26mut+%5BT;+N%5D%3E-for-Vec%3CT,+Global%3E)
59+
- [`impl<T, const N: usize> From<[T; N]> for Arc<[T]>`](https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#impl-From%3C%5BT;+N%5D%3E-for-Arc%3C%5BT%5D,+Global%3E)
60+
- [`impl<T, const N: usize> From<[T; N]> for Rc<[T]>`](https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#impl-From%3C%5BT;+N%5D%3E-for-Rc%3C%5BT%5D,+Global%3E)
61+
62+
These APIs are now stable in const contexts:
63+
64+
- [`core::mem::transmute_copy`](https://doc.rust-lang.org/beta/std/mem/fn.transmute_copy.html)
65+
- [`str::is_ascii`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.is_ascii)
66+
- [`[u8]::is_ascii`](https://doc.rust-lang.org/beta/std/primitive.slice.html#method.is_ascii)
67+
68+
<a id="1.74.0-Cargo"></a>
69+
70+
Cargo
71+
-----
72+
73+
- [fix: Set MSRV for internal packages](https://github.com/rust-lang/cargo/pull/12381/)
74+
- [config: merge lists in precedence order](https://github.com/rust-lang/cargo/pull/12515/)
75+
- [fix(update): Clarify meaning of --aggressive as --recursive](https://github.com/rust-lang/cargo/pull/12544/)
76+
- [fix(update): Make `-p` more convenient by being positional](https://github.com/rust-lang/cargo/pull/12545/)
77+
- [feat(help): Add styling to help output ](https://github.com/rust-lang/cargo/pull/12578/)
78+
- [feat(pkgid): Allow incomplete versions when unambigious](https://github.com/rust-lang/cargo/pull/12614/)
79+
- [feat: stabilize credential-process and registry-auth](https://github.com/rust-lang/cargo/pull/12649/)
80+
- [feat(cli): Add '-n' to dry-run](https://github.com/rust-lang/cargo/pull/12660/)
81+
- [Add support for `target.'cfg(..)'.linker`](https://github.com/rust-lang/cargo/pull/12535/)
82+
- [Stabilize `--keep-going`](https://github.com/rust-lang/cargo/pull/12568/)
83+
- [feat: Stabilize lints](https://github.com/rust-lang/cargo/pull/12648/)
84+
85+
<a id="1.74.0-Rustdoc"></a>
86+
87+
Rustdoc
88+
-------
89+
90+
- [Add warning block support in rustdoc](https://github.com/rust-lang/rust/pull/106561/)
91+
- [Accept additional user-defined syntax classes in fenced code blocks](https://github.com/rust-lang/rust/pull/110800/)
92+
- [rustdoc-search: add support for type parameters](https://github.com/rust-lang/rust/pull/112725/)
93+
- [rustdoc: show inner enum and struct in type definition for concrete type](https://github.com/rust-lang/rust/pull/114855/)
94+
95+
<a id="1.74.0-Compatibility-Notes"></a>
96+
97+
Compatibility Notes
98+
-------------------
99+
100+
- [Raise minimum supported Apple OS versions](https://github.com/rust-lang/rust/pull/104385/)
101+
- [make Cell::swap panic if the Cells partially overlap](https://github.com/rust-lang/rust/pull/114795/)
102+
- [Reject invalid crate names in `--extern`](https://github.com/rust-lang/rust/pull/116001/)
103+
- [Don't resolve generic impls that may be shadowed by dyn built-in impls](https://github.com/rust-lang/rust/pull/114941/)
104+
105+
<a id="1.74.0-Internal-Changes"></a>
106+
107+
Internal Changes
108+
----------------
109+
110+
These changes do not affect any public interfaces of Rust, but they represent
111+
significant improvements to the performance or internals of rustc and related
112+
tools.
113+
114+
None this cycle.
115+
1116
Version 1.73.0 (2023-10-05)
2117
==========================
3118

0 commit comments

Comments
 (0)