Add release notes for 1.13.0
This commit is contained in:
parent
ec0d1ceb42
commit
0f817a0dd9
257
RELEASES.md
257
RELEASES.md
@ -1,3 +1,260 @@
|
||||
Version 1.13.0 (2016-11-10)
|
||||
===========================
|
||||
|
||||
Language
|
||||
--------
|
||||
|
||||
* [Stabilize the `?` operator][36995]. `?` is a simple way to propagate
|
||||
errors, like the `try!` macro, described in [RFC 0243].
|
||||
* [Stabilize macros in type position][36014]. Described in [RFC 873].
|
||||
* [Stabilize attributes on statements][36995]. Described in [RFC 0016].
|
||||
* [Fix `#[derive]` for empty tuple structs/variants][35728]
|
||||
* [Fix lifetime rules for 'if' conditions][36029]
|
||||
* [Avoid loading and parsing unconfigured non-inline modules][36482]
|
||||
|
||||
Compiler
|
||||
--------
|
||||
|
||||
* [Add the `-C link-arg` argument][36574]
|
||||
* [Remove the old AST-based backend from rustc_trans][35764]
|
||||
* [Don't enable NEON by default on armv7 Linux][35814]
|
||||
* [Fix debug line number info for macro expansions][35238]
|
||||
* [Do not emit "class method" debuginfo for types that are not
|
||||
DICompositeType][36008]
|
||||
* [Warn about multiple conflicting #[repr] hints][34623]
|
||||
* [When sizing DST, don't double-count nested struct prefixes][36351]
|
||||
* [Default RUST_MIN_STACK to 16MiB for now][36505]
|
||||
* [Improve rlib metadata format][36551]. Reduces rlib size significantly.
|
||||
* [Reject macros with empty repetitions to avoid infinite loop][36721]
|
||||
* [Expand macros without recursing to avoid stack overflows][36214]
|
||||
|
||||
Diagnostics
|
||||
-----------
|
||||
|
||||
* [Replace macro backtraces with labeled local uses][35702]
|
||||
* [Improve error message for missplaced doc comments][33922]
|
||||
* [Buffer unix and lock windows to prevent message interleaving][35975]
|
||||
* [Update lifetime errors to specifically note temporaries][36171]
|
||||
* [Special case a few colors for Windows][36178]
|
||||
* [Suggest `use self` when such an import resolves][36289]
|
||||
* [Be more specific when type parameter shadows primitive type][36338]
|
||||
* Many minor improvements
|
||||
|
||||
Compile-time Optimizations
|
||||
--------------------------
|
||||
|
||||
* [Compute and cache HIR hashes at beginning][35854]
|
||||
* [Don't hash types in loan paths][36004]
|
||||
* [Cache projections in trans][35761]
|
||||
* [Optimize the parser's last token handling][36527]
|
||||
* [Only instantiate #[inline] functions in codegen units referencing
|
||||
them][36524]. This leads to big improvements in cases where crates export
|
||||
define many inline functions without using them directly.
|
||||
* [Lazily allocate TypedArena's first chunk][36592]
|
||||
* [Don't allocate during default HashSet creation][36734]
|
||||
|
||||
Stabilized APIs
|
||||
---------------
|
||||
|
||||
* [`checked_abs`]
|
||||
* [`wrapping_abs`]
|
||||
* [`overflowing_abs`]
|
||||
* [`RefCell::try_borrow`]
|
||||
* [`RefCell::try_borrow_mut`]
|
||||
|
||||
Libraries
|
||||
---------
|
||||
|
||||
* [Add `assert_ne!` and `debug_assert_ne!`][35074]
|
||||
* [Make `vec_deque::Drain`, `hash_map::Drain`, and `hash_set::Drain`
|
||||
covariant][35354]
|
||||
* [Implement `AsRef<[T]>` for `std::slice::Iter`][35559]
|
||||
* [Implement `Debug` for `std::vec::IntoIter`][35707]
|
||||
* [`CString`: avoid excessive growth just to 0-terminate][35871]
|
||||
* [Implement `CoerceUnsized` for `{Cell, RefCell, UnsafeCell}`][35627]
|
||||
* [Use arc4rand on FreeBSD][35884]
|
||||
* [memrchr: Correct aligned offset computation][35969]
|
||||
* [Improve Demangling of Rust Symbols][36059]
|
||||
* [Use monotonic time in condition variables][35048]
|
||||
* [Implement `Debug` for `std::path::{Components,Iter}`][36101]
|
||||
* [Implement conversion traits for `char`][35755]
|
||||
* [Fix illegal instruction caused by overflow in channel cloning][36104]
|
||||
* [Zero first byte of CString on drop][36264]
|
||||
* [Inherit overflow checks for sum and product][36372]
|
||||
* [Add missing Eq implementations][36423]
|
||||
* [Implement `Debug` for `DirEntry`][36631]
|
||||
* [When `getaddrinfo` returns `EAI_SYSTEM` retrieve actual error from
|
||||
`errno`][36754]
|
||||
* [`SipHasher`] is deprecated. Use [`DefaultHasher`].
|
||||
* [Implement more traits for `std::io::ErrorKind`][35911]
|
||||
* [Optimize BinaryHeap bounds checking][36072]
|
||||
* [Work around pointer aliasing issue in `Vec::extend_from_slice`,
|
||||
`extend_with_element`][36355]
|
||||
* [Fix overflow checking in unsigned pow()][34942]
|
||||
|
||||
Cargo
|
||||
-----
|
||||
|
||||
* This release includes security fixes to both curl and OpenSSL.
|
||||
* [Fix transitive doctests when panic=abort][cargo/3021]
|
||||
* [Add --all-features flag to cargo][cargo/3038]
|
||||
* [Reject path-based dependencies in `cargo package`][cargo/3060]
|
||||
* [Don't parse the home directory more than once][cargo/3078]
|
||||
* [Don't try to generate Cargo.lock on empty workspaces][cargo/3092]
|
||||
* [Update OpenSSL to 1.0.2j][cargo/3121]
|
||||
* [Add license and license_file to cargo metadata output][cargo/3110]
|
||||
* [Make crates-io registry URL optional in config; ignore all changes to
|
||||
source.crates-io][cargo/3089]
|
||||
* [Don't download dependencies from other platforms][cargo/3123]
|
||||
* [Build transitive dev-dependencies when needed][cargo/3125]
|
||||
* [Add support for per-target rustflags in .cargo/config][cargo/3157]
|
||||
* [Avoid updating registry when adding existing deps][cargo/3144]
|
||||
* [Warn about path overrides that won't work][cargo/3136]
|
||||
* [Use workspaces during `cargo install`][cargo/3146]
|
||||
* [Leak mspdbsrv.exe processes on Windows][cargo/3162]
|
||||
* [Add --message-format flag][cargo/3000]
|
||||
* [Pass target environment for rustdoc][cargo/3205]
|
||||
* [Use `CommandExt::exec` for `cargo run` on Unix][cargo/2818]
|
||||
* [Update curl and curl-sys][cargo/3241]
|
||||
* [Call rustdoc test with the correct cfg flags of a package][cargo/3242]
|
||||
|
||||
Tooling
|
||||
-------
|
||||
|
||||
* [rustdoc: Add the `--sysroot` argument][36586]
|
||||
* [rustdoc: Fix a couple of issues with the search results][35655]
|
||||
* [rustdoc: remove the `!` from macro URLs and titles][35234]
|
||||
* [gdb: Fix pretty-printing special-cased Rust types][35585]
|
||||
* [rustdoc: Filter more incorrect methods inherited through Deref][36266]
|
||||
|
||||
Misc
|
||||
----
|
||||
|
||||
* [Remove unmaintained style guide][35124]
|
||||
* [Add s390x support][36369]
|
||||
* [Initial work at Haiku OS support][36727]
|
||||
* [Add mips-uclibc targets][35734]
|
||||
* [Crate-ify compiler-rt into compiler-builtins][35021]
|
||||
* [Add rustc version info (git hash + date) to dist tarball][36213]
|
||||
* Many documentation improvements
|
||||
|
||||
Compatibility Notes
|
||||
-------------------
|
||||
|
||||
* [`SipHasher`] is deprecated. Use [`DefaultHasher`].
|
||||
* [Deny (by default) transmuting from fn item types to pointer-sized
|
||||
types][34923]. Continuing the long transition to zero-sized fn items,
|
||||
per [RFC 401].
|
||||
* [Fix `#[derive]` for empty tuple structs/variants][35728].
|
||||
Part of [RFC 1506].
|
||||
* [Issue deprecation warnings for safe accesses to extern statics][36173]
|
||||
* [Fix lifetime rules for 'if' conditions][36029].
|
||||
* [Inherit overflow checks for sum and product][36372].
|
||||
* [Forbid user-defined macros named "macro_rules"][36730].
|
||||
|
||||
[33922]: https://github.com/rust-lang/rust/pull/33922
|
||||
[34623]: https://github.com/rust-lang/rust/pull/34623
|
||||
[34923]: https://github.com/rust-lang/rust/pull/34923
|
||||
[34942]: https://github.com/rust-lang/rust/pull/34942
|
||||
[34982]: https://github.com/rust-lang/rust/pull/34982
|
||||
[35021]: https://github.com/rust-lang/rust/pull/35021
|
||||
[35048]: https://github.com/rust-lang/rust/pull/35048
|
||||
[35074]: https://github.com/rust-lang/rust/pull/35074
|
||||
[35124]: https://github.com/rust-lang/rust/pull/35124
|
||||
[35234]: https://github.com/rust-lang/rust/pull/35234
|
||||
[35238]: https://github.com/rust-lang/rust/pull/35238
|
||||
[35354]: https://github.com/rust-lang/rust/pull/35354
|
||||
[35559]: https://github.com/rust-lang/rust/pull/35559
|
||||
[35585]: https://github.com/rust-lang/rust/pull/35585
|
||||
[35627]: https://github.com/rust-lang/rust/pull/35627
|
||||
[35655]: https://github.com/rust-lang/rust/pull/35655
|
||||
[35702]: https://github.com/rust-lang/rust/pull/35702
|
||||
[35707]: https://github.com/rust-lang/rust/pull/35707
|
||||
[35728]: https://github.com/rust-lang/rust/pull/35728
|
||||
[35734]: https://github.com/rust-lang/rust/pull/35734
|
||||
[35755]: https://github.com/rust-lang/rust/pull/35755
|
||||
[35761]: https://github.com/rust-lang/rust/pull/35761
|
||||
[35764]: https://github.com/rust-lang/rust/pull/35764
|
||||
[35814]: https://github.com/rust-lang/rust/pull/35814
|
||||
[35854]: https://github.com/rust-lang/rust/pull/35854
|
||||
[35871]: https://github.com/rust-lang/rust/pull/35871
|
||||
[35884]: https://github.com/rust-lang/rust/pull/35884
|
||||
[35911]: https://github.com/rust-lang/rust/pull/35911
|
||||
[35969]: https://github.com/rust-lang/rust/pull/35969
|
||||
[35975]: https://github.com/rust-lang/rust/pull/35975
|
||||
[36004]: https://github.com/rust-lang/rust/pull/36004
|
||||
[36008]: https://github.com/rust-lang/rust/pull/36008
|
||||
[36014]: https://github.com/rust-lang/rust/pull/36014
|
||||
[36029]: https://github.com/rust-lang/rust/pull/36029
|
||||
[36059]: https://github.com/rust-lang/rust/pull/36059
|
||||
[36072]: https://github.com/rust-lang/rust/pull/36072
|
||||
[36101]: https://github.com/rust-lang/rust/pull/36101
|
||||
[36104]: https://github.com/rust-lang/rust/pull/36104
|
||||
[36171]: https://github.com/rust-lang/rust/pull/36171
|
||||
[36173]: https://github.com/rust-lang/rust/pull/36173
|
||||
[36178]: https://github.com/rust-lang/rust/pull/36178
|
||||
[36213]: https://github.com/rust-lang/rust/pull/36213
|
||||
[36214]: https://github.com/rust-lang/rust/pull/36214
|
||||
[36264]: https://github.com/rust-lang/rust/pull/36264
|
||||
[36266]: https://github.com/rust-lang/rust/pull/36266
|
||||
[36289]: https://github.com/rust-lang/rust/pull/36289
|
||||
[36338]: https://github.com/rust-lang/rust/pull/36338
|
||||
[36351]: https://github.com/rust-lang/rust/pull/36351
|
||||
[36355]: https://github.com/rust-lang/rust/pull/36355
|
||||
[36369]: https://github.com/rust-lang/rust/pull/36369
|
||||
[36372]: https://github.com/rust-lang/rust/pull/36372
|
||||
[36423]: https://github.com/rust-lang/rust/pull/36423
|
||||
[36482]: https://github.com/rust-lang/rust/pull/36482
|
||||
[36505]: https://github.com/rust-lang/rust/pull/36505
|
||||
[36524]: https://github.com/rust-lang/rust/pull/36524
|
||||
[36527]: https://github.com/rust-lang/rust/pull/36527
|
||||
[36551]: https://github.com/rust-lang/rust/pull/36551
|
||||
[36574]: https://github.com/rust-lang/rust/pull/36574
|
||||
[36586]: https://github.com/rust-lang/rust/pull/36586
|
||||
[36592]: https://github.com/rust-lang/rust/pull/36592
|
||||
[36631]: https://github.com/rust-lang/rust/pull/36631
|
||||
[36639]: https://github.com/rust-lang/rust/pull/36639
|
||||
[36721]: https://github.com/rust-lang/rust/pull/36721
|
||||
[36727]: https://github.com/rust-lang/rust/pull/36727
|
||||
[36730]: https://github.com/rust-lang/rust/pull/36730
|
||||
[36734]: https://github.com/rust-lang/rust/pull/36734
|
||||
[36754]: https://github.com/rust-lang/rust/pull/36754
|
||||
[36995]: https://github.com/rust-lang/rust/pull/36995
|
||||
[RFC 0016]: https://github.com/rust-lang/rfcs/blob/master/text/0016-more-attributes.md
|
||||
[RFC 0243]: https://github.com/rust-lang/rfcs/blob/master/text/0243-trait-based-exception-handling.md
|
||||
[RFC 1506]: https://github.com/rust-lang/rfcs/blob/master/text/1506-adt-kinds.md
|
||||
[RFC 401]: https://github.com/rust-lang/rfcs/blob/master/text/0401-coercions.md
|
||||
[RFC 873]: https://github.com/rust-lang/rfcs/blob/master/text/0873-type-macros.md
|
||||
[cargo/2818]: https://github.com/rust-lang/cargo/pull/2818
|
||||
[cargo/3000]: https://github.com/rust-lang/cargo/pull/3000
|
||||
[cargo/3021]: https://github.com/rust-lang/cargo/pull/3021
|
||||
[cargo/3038]: https://github.com/rust-lang/cargo/pull/3038
|
||||
[cargo/3060]: https://github.com/rust-lang/cargo/pull/3060
|
||||
[cargo/3078]: https://github.com/rust-lang/cargo/pull/3078
|
||||
[cargo/3089]: https://github.com/rust-lang/cargo/pull/3089
|
||||
[cargo/3092]: https://github.com/rust-lang/cargo/pull/3092
|
||||
[cargo/3110]: https://github.com/rust-lang/cargo/pull/3110
|
||||
[cargo/3121]: https://github.com/rust-lang/cargo/pull/3121
|
||||
[cargo/3123]: https://github.com/rust-lang/cargo/pull/3123
|
||||
[cargo/3125]: https://github.com/rust-lang/cargo/pull/3125
|
||||
[cargo/3136]: https://github.com/rust-lang/cargo/pull/3136
|
||||
[cargo/3144]: https://github.com/rust-lang/cargo/pull/3144
|
||||
[cargo/3146]: https://github.com/rust-lang/cargo/pull/3146
|
||||
[cargo/3157]: https://github.com/rust-lang/cargo/pull/3157
|
||||
[cargo/3162]: https://github.com/rust-lang/cargo/pull/3162
|
||||
[cargo/3205]: https://github.com/rust-lang/cargo/pull/3205
|
||||
[cargo/3241]: https://github.com/rust-lang/cargo/pull/3241
|
||||
[cargo/3242]: https://github.com/rust-lang/cargo/pull/3242
|
||||
[rustup]: https://www.rustup.rs
|
||||
[`checked_abs`]: https://doc.rust-lang.org/std/primitive.i32.html#method.checked_abs
|
||||
[`wrapping_abs`]: https://doc.rust-lang.org/std/primitive.i32.html#method.wrapping_abs
|
||||
[`overflowing_abs`]: https://doc.rust-lang.org/std/primitive.i32.html#method.overflowing_abs
|
||||
[`RefCell::try_borrow`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.try_borrow
|
||||
[`RefCell::try_borrow_mut`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.try_borrow_mut
|
||||
[`SipHasher`]: https://doc.rust-lang.org/std/hash/struct.SipHasher.html
|
||||
[`DefaultHasher`]: https://doc.rust-lang.org/std/collections/hash_map/struct.DefaultHasher.html
|
||||
|
||||
|
||||
Version 1.12.1 (2016-10-20)
|
||||
===========================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user