-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Update RELEASES.md for 1.25.0 #48374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,100 @@ | ||
Version 1.25.0 (2018-03-29) | ||
========================== | ||
|
||
Language | ||
-------- | ||
- [Stabilised `#[repr(align(x))]`.][47006] [RFC 1358] | ||
- [You can now use nested groups of imports.][47948] | ||
eg. `use std::{fs::File, io::Read, path::{Path, PathBuf}};` | ||
- [You can now have `|` at the start of a match arm.][47947] eg. | ||
```rust | ||
enum Foo { A, B, C } | ||
|
||
fn main() { | ||
let x = Foo::A; | ||
match x { | ||
| Foo::A | ||
| Foo::B => println!("AB"), | ||
| Foo::C => println!("C"), | ||
} | ||
} | ||
``` | ||
|
||
Compiler | ||
-------- | ||
- [Upgraded to LLVM 6.][47828] | ||
- [Added `-C lto=val` option.][47521] | ||
- [Added `i586-unknown-linux-musl` target][47282] | ||
|
||
Libraries | ||
--------- | ||
- [Impl Send for `process::Command` on Unix.][47760] | ||
- [Impl PartialEq and Eq for `ParseCharError`.][47790] | ||
- [`UnsafeCell::into_inner` is now safe.][47204] | ||
- [Implement libstd for CloudABI.][47268] | ||
- [`Float::{from_bits, to_bits}` is now available in libcore.][46931] | ||
- [renamed `ptr::Shared` to `ptr::NonNull`.][46952] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this isn't stable yet, so probably shouldn't be in here, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @steveklabnik Looking at the beta docs and the prs this mentioned in. It's stable this release unless there was a revert pr I didn't see. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe don't mention There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah, I would make this link to the stabilization of |
||
- [Implement `AsRef<Path>` for Component][46985] | ||
- [Deprecated `[T]::rotate` in favor of `[T]::rotate_{left,right}`.][46777] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
- [Implemented `Write` for `Cursor<&mut Vec<T>>`][46830] | ||
- [Moved `Duration` to libcore.][46666] | ||
|
||
Stabilized APIs | ||
--------------- | ||
- [`Location::column`] | ||
|
||
The following functions can now be used in a constant expression. | ||
eg. `static MINUTE: Duration = Duration::from_secs(60);` | ||
- [`Duration::new`][47300] | ||
- [`Duration::from_secs`][47300] | ||
- [`Duration::from_millis`][47300] | ||
- [`Duration::from_micros`][47300] | ||
- [`Duration::from_nanos`][47300] | ||
|
||
Cargo | ||
----- | ||
- [`cargo new` no longer removes `rust` or `rs` prefixs/suffixs.][cargo/5013] | ||
- [`cargo new` now defaults to creating a binary crate, instead of a | ||
libary crate.][cargo/5029] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. libary -> library |
||
|
||
Misc | ||
---- | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should probably remove this category if it's unused. |
||
Compatibility Notes | ||
------------------- | ||
- [Deprecated `net::lookup_host`.][47510] | ||
- [`rustdoc` has switched to pulldown as the default markdown renderer.][47398] | ||
- The borrow checker was sometimes incorrectly permitting overlapping borrows | ||
around indexing operations (see #47349). This has been fixed (which also | ||
enabled some correct code that used to cause errors (e.g. #33903 and #46095). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add links to these 3 issues. |
||
- [Removed deprecated unstable attribute `#[simd]`.][47251] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @steveklabnik @Mark-Simulacrum gave it the |
||
|
||
[47947]: https://github.com/rust-lang/rust/pull/47947 | ||
[47948]: https://github.com/rust-lang/rust/pull/47948 | ||
[47760]: https://github.com/rust-lang/rust/pull/47760 | ||
[47790]: https://github.com/rust-lang/rust/pull/47790 | ||
[47828]: https://github.com/rust-lang/rust/pull/47828 | ||
[47398]: https://github.com/rust-lang/rust/pull/47398 | ||
[47510]: https://github.com/rust-lang/rust/pull/47510 | ||
[47521]: https://github.com/rust-lang/rust/pull/47521 | ||
[47204]: https://github.com/rust-lang/rust/pull/47204 | ||
[47251]: https://github.com/rust-lang/rust/pull/47251 | ||
[47268]: https://github.com/rust-lang/rust/pull/47268 | ||
[47282]: https://github.com/rust-lang/rust/pull/47282 | ||
[47300]: https://github.com/rust-lang/rust/pull/47300 | ||
[46931]: https://github.com/rust-lang/rust/pull/46931 | ||
[46952]: https://github.com/rust-lang/rust/pull/46952 | ||
[46985]: https://github.com/rust-lang/rust/pull/46985 | ||
[47006]: https://github.com/rust-lang/rust/pull/47006 | ||
[46777]: https://github.com/rust-lang/rust/pull/46777 | ||
[46830]: https://github.com/rust-lang/rust/pull/46830 | ||
[46666]: https://github.com/rust-lang/rust/pull/46666 | ||
[cargo/5013]: https://github.com/rust-lang/cargo/pull/5013 | ||
[cargo/5029]: https://github.com/rust-lang/cargo/pull/5029 | ||
[RFC 1358]: https://github.com/rust-lang/rfcs/pull/1358 | ||
[`Location::column`]: https://doc.rust-lang.org/std/panic/struct.Location.html#method.column | ||
|
||
|
||
Version 1.24.0 (2018-02-15) | ||
========================== | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably use
e.g.
instead ofeg.
throughout.