Skip to content

Commit af3bf85

Browse files
committed
Add 1.69.0 release notes
1 parent 28a2928 commit af3bf85

File tree

1 file changed

+109
-0
lines changed

1 file changed

+109
-0
lines changed

RELEASES.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,112 @@
1+
Version 1.69.0 (2023-04-20)
2+
==========================
3+
4+
<a id="1.69.0-Language"></a>
5+
6+
Language
7+
--------
8+
9+
- [Deriving built-in traits on packed structs works with `Copy` fields.](https://github.com/rust-lang/rust/pull/104429/)
10+
- [Stabilize the `cmpxchg16b` target feature on x86 and x86_64.](https://github.com/rust-lang/rust/pull/106774/)
11+
- [Add normalization to satisfy trait bounds involving type projections.](https://github.com/rust-lang/rust/pull/103695/)
12+
- [Add normalization that allows type projections in union fields.](https://github.com/rust-lang/rust/pull/106938/)
13+
- [Allow `Self: Autotrait` bounds on dyn-safe trait methods.](https://github.com/rust-lang/rust/pull/107082/)
14+
- [Treat `str` as containing `[u8]` for auto trait purposes.](https://github.com/rust-lang/rust/pull/107941/)
15+
16+
<a id="1.69.0-Compiler"></a>
17+
18+
Compiler
19+
--------
20+
21+
- [Upgrade mingw-w64 on CI to GCC 12.3.](https://github.com/rust-lang/rust/pull/100178/)
22+
- [Rework min_choice algorithm of member constraints.](https://github.com/rust-lang/rust/pull/105300/)
23+
- [Support `true` and `false` as boolean flags in compiler arguments.](https://github.com/rust-lang/rust/pull/107043/)
24+
- [Default `repr(C)` enums to `c_int` size.](https://github.com/rust-lang/rust/pull/107592/)
25+
26+
<a id="1.69.0-Libraries"></a>
27+
28+
Libraries
29+
---------
30+
31+
- [Implement the unstable `DispatchFromDyn` for cell types, allowing downstream experimentation with custom method receivers.](https://github.com/rust-lang/rust/pull/97373/)
32+
- [Document that `fmt::Arguments::as_str()` may return `Some(_)` in more cases after optimization, subject to change.](https://github.com/rust-lang/rust/pull/106823/)
33+
- [Implement `AsFd` and `AsRawFd` for `Rc`.](https://github.com/rust-lang/rust/pull/107317/)
34+
- [Move `IpAddr`, `SocketAddr` and V4+V6 related types to `core`](https://github.com/rust-lang/rust/pull/104265/)
35+
36+
<a id="1.69.0-Stabilized-APIs"></a>
37+
38+
Stabilized APIs
39+
---------------
40+
41+
- [`CStr::from_bytes_until_nul`](https://doc.rust-lang.org/stable/core/ffi/struct.CStr.html#method.from_bytes_until_nul)
42+
- [`core::ffi::FromBytesUntilNulError`](https://doc.rust-lang.org/stable/core/ffi/struct.FromBytesUntilNulError.html)
43+
44+
These APIs are now stable in const contexts:
45+
46+
- [`SocketAddr::new`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.new)
47+
- [`SocketAddr::ip`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.ip)
48+
- [`SocketAddr::port`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.port)
49+
- [`SocketAddr::is_ipv4`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.is_ipv4)
50+
- [`SocketAddr::is_ipv6`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.is_ipv6)
51+
- [`SocketAddrV4::new`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.new)
52+
- [`SocketAddrV4::ip`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.ip)
53+
- [`SocketAddrV4::port`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.port)
54+
- [`SocketAddrV6::new`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.new)
55+
- [`SocketAddrV6::ip`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.ip)
56+
- [`SocketAddrV6::port`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.port)
57+
- [`SocketAddrV6::flowinfo`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.flowinfo)
58+
- [`SocketAddrV6::scope_id`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.scope_id)
59+
60+
<a id="1.69.0-Cargo"></a>
61+
62+
Cargo
63+
-----
64+
65+
- [Added '-C' flag for changing current dir before build](https://github.com/rust-lang/cargo/pull/10952/)
66+
- [Cargo now suggests `cargo fix` or `cargo clippy --fix` when compilation warnings/errors are auto-fixable.](https://github.com/rust-lang/cargo/pull/11558/)
67+
- [Cargo now suggests `cargo add` if you try to install a library crate.](https://github.com/rust-lang/cargo/pull/11410/)
68+
- [Cargo now sets `CARGO_BIN_NAME` environment variable also for binary examples.](https://github.com/rust-lang/cargo/pull/11705/)
69+
70+
<a id="1.69.0-Rustdoc"></a>
71+
72+
Rustdoc
73+
-----
74+
75+
- [Vertically compact trait bound formatting.](https://github.com/rust-lang/rust/pull/102842/)
76+
- [Only include stable lints in `rustdoc::all` group.](https://github.com/rust-lang/rust/pull/106316/)
77+
- [Compute maximum Levenshtein distance based on the query.](https://github.com/rust-lang/rust/pull/107141/)
78+
- [Remove inconsistently-present sidebar tooltips.](https://github.com/rust-lang/rust/pull/107490/)
79+
- [Search by macro when query ends with `!`.](https://github.com/rust-lang/rust/pull/108143/)
80+
81+
<a id="1.69.0-Misc"></a>
82+
83+
Misc
84+
----
85+
86+
<a id="1.69.0-Compatibility-Notes"></a>
87+
88+
Compatibility Notes
89+
-------------------
90+
91+
- [Remove `-Zsave-analysis` from the compiler, which was primarily intended for RLS.](https://github.com/rust-lang/rust/pull/101841/) The `rust-analysis` component from `rustup` now only contains a warning placeholder.
92+
- [Unaligned references to packed fields are now a hard error.](https://github.com/rust-lang/rust/pull/102513/) This has been a warning since 1.53, and denied by default with a future-compatibility warning since 1.62.
93+
- [Update the minimum external LLVM to 14.](https://github.com/rust-lang/rust/pull/107573/)
94+
- [Cargo now emits errors on invalid alphanumeric token for crates.io.](https://github.com/rust-lang/cargo/pull/11600/)
95+
- [When `default-features` is set to false of a workspace dependency, and an inherited dependency of a member has `default-features = true`, Cargo will enable default features of that dependency.](https://github.com/rust-lang/cargo/pull/11409/)
96+
- [Cargo denies `CARGO_HOME` in the `[env]` configuration table. Cargo itself doesn't pick up this value, but recursive calls to cargo will.](https://github.com/rust-lang/cargo/pull/11644/)
97+
- [Debuginfo for build dependencies is now off if not explicit set. This is expected to boost the overall build time.](https://github.com/rust-lang/cargo/pull/11252/)
98+
99+
<a id="1.69.0-Internal-Changes"></a>
100+
101+
Internal Changes
102+
----------------
103+
104+
These changes do not affect any public interfaces of Rust, but they represent
105+
significant improvements to the performance or internals of rustc and related
106+
tools.
107+
108+
- [Move format_args!() into AST (and expand it during AST lowering)](https://github.com/rust-lang/rust/pull/106745/)
109+
1110
Version 1.68.2 (2023-03-28)
2111
===========================
3112

0 commit comments

Comments
 (0)