|
| 1 | +Version 1.11.0 (2016-08-18) |
| 2 | +=========================== |
| 3 | + |
| 4 | +Language |
| 5 | +-------- |
| 6 | + |
| 7 | +* [`cfg_attr` works on `path` attributes] |
| 8 | + (https://github.com/rust-lang/rust/pull/34546) |
| 9 | +* [Support nested `cfg_attr` attributes] |
| 10 | + (https://github.com/rust-lang/rust/pull/34216) |
| 11 | +* [Allow statement-generating braced macro invocations at the end of blocks] |
| 12 | + (https://github.com/rust-lang/rust/pull/34436) |
| 13 | +* [Macros can be expanded inside of trait definitions] |
| 14 | + (https://github.com/rust-lang/rust/pull/34213) |
| 15 | +* [`#[macro_use]` works properly when it is itself expanded from a macro] |
| 16 | + (https://github.com/rust-lang/rust/pull/34032) |
| 17 | + |
| 18 | +Stabilized APIs |
| 19 | +--------------- |
| 20 | + |
| 21 | +* [`BinaryHeap::append`] |
| 22 | + (https://doc.rust-lang.org/std/collections/binary_heap/struct.BinaryHeap.html#method.append) |
| 23 | +* [`BTreeMap::append`] |
| 24 | + (https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.append) |
| 25 | +* [`BTreeMap::split_off`] |
| 26 | + (https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.split_off) |
| 27 | +* [`BTreeSet::append`] |
| 28 | + (https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.append) |
| 29 | +* [`BTreeSet::split_off`] |
| 30 | + (https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.split_off) |
| 31 | +* [`f32::to_degrees`] |
| 32 | + (https://doc.rust-lang.org/std/primitive.f32.html#method.to_degrees) |
| 33 | + (in libcore - previously stabilized in libstd) |
| 34 | +* [`f32::to_radians`] |
| 35 | + (https://doc.rust-lang.org/std/primitive.f32.html#method.to_radians) |
| 36 | + (in libcore - previously stabilized in libstd) |
| 37 | +* [`f64::to_degrees`] |
| 38 | + (https://doc.rust-lang.org/std/primitive.f64.html#method.to_degrees) |
| 39 | + (in libcore - previously stabilized in libstd) |
| 40 | +* [`f64::to_radians`] |
| 41 | + (https://doc.rust-lang.org/std/primitive.f64.html#method.to_radians) |
| 42 | + (in libcore - previously stabilized in libstd) |
| 43 | +* [`Iterator::sum`] |
| 44 | + (https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum) |
| 45 | +* [`Iterator::product`] |
| 46 | + (https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum) |
| 47 | +* [`Cell::get_mut`] |
| 48 | + (https://doc.rust-lang.org/std/cell/struct.Cell.html#method.get_mut) |
| 49 | +* [`RefCell::get_mut`] |
| 50 | + (https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.get_mut) |
| 51 | + |
| 52 | +Libraries |
| 53 | +--------- |
| 54 | + |
| 55 | +* [The `thread_local!` macro supports multiple definitions in a single |
| 56 | + invocation, and can apply attributes] |
| 57 | + (https://github.com/rust-lang/rust/pull/34077) |
| 58 | +* [`Cow` implements `Default`] |
| 59 | + (https://github.com/rust-lang/rust/pull/34305) |
| 60 | +* [`Wrapping` implements binary, octal, lower-hex and upper-hex |
| 61 | + `Display` formatting] |
| 62 | + (https://github.com/rust-lang/rust/pull/34190) |
| 63 | +* [The range types implement `Hash`] |
| 64 | + (https://github.com/rust-lang/rust/pull/34180) |
| 65 | +* [`lookup_host` ignores unknown address types] |
| 66 | + (https://github.com/rust-lang/rust/pull/34067) |
| 67 | +* [`assert_eq!` accepts a custom error message, like `assert!` does] |
| 68 | + (https://github.com/rust-lang/rust/pull/33976) |
| 69 | +* [The main thread is now called "main" instead of "<main>"] |
| 70 | + (https://github.com/rust-lang/rust/pull/33803) |
| 71 | + |
| 72 | +Cargo |
| 73 | +----- |
| 74 | + |
| 75 | +* [Disallow specifying features of transitive deps] |
| 76 | + (https://github.com/rust-lang/cargo/pull/2821) |
| 77 | +* [Add color support for Windows consoles] |
| 78 | + (https://github.com/rust-lang/cargo/pull/2804) |
| 79 | +* [Fix `harness = false` on `[lib]` sections] |
| 80 | + (https://github.com/rust-lang/cargo/pull/2795) |
| 81 | +* [Don't panic when `links` contains a '.'] |
| 82 | + (https://github.com/rust-lang/cargo/pull/2787) |
| 83 | +* [Build scripts can emit warnings] |
| 84 | + (https://github.com/rust-lang/cargo/pull/2630), |
| 85 | + and `-vv` prints warnings for all crates. |
| 86 | +* [Ignore file locks on OS X NFS mounts] |
| 87 | + (https://github.com/rust-lang/cargo/pull/2720) |
| 88 | +* [Don't warn about `package.metadata` keys] |
| 89 | + (https://github.com/rust-lang/cargo/pull/2668). |
| 90 | + This provides room for expansion by arbitrary tools. |
| 91 | +* [Add support for cdylib crate types] |
| 92 | + (https://github.com/rust-lang/cargo/pull/2741) |
| 93 | +* [Prevent publishing crates when files are dirty] |
| 94 | + (https://github.com/rust-lang/cargo/pull/2781) |
| 95 | +* [Don't fetch all crates on clean] |
| 96 | + (https://github.com/rust-lang/cargo/pull/2704) |
| 97 | +* [Propagate --color option to rustc] |
| 98 | + (https://github.com/rust-lang/cargo/pull/2779) |
| 99 | +* [Fix `cargo doc --open` on Windows] |
| 100 | + (https://github.com/rust-lang/cargo/pull/2780) |
| 101 | +* [Improve autocompletion] |
| 102 | + (https://github.com/rust-lang/cargo/pull/2772) |
| 103 | +* [Configure colors of stderr as well as stdout] |
| 104 | + (https://github.com/rust-lang/cargo/pull/2739) |
| 105 | + |
| 106 | +Performance |
| 107 | +----------- |
| 108 | + |
| 109 | +* [Caching projections speeds up type check dramatically for some |
| 110 | + workloads] |
| 111 | + (https://github.com/rust-lang/rust/pull/33816) |
| 112 | +* [The default `HashMap` hasher is SipHash 1-3 instead of SipHash 2-4] |
| 113 | + (https://github.com/rust-lang/rust/pull/33940) |
| 114 | + This hasher is faster, but is believed to provide sufficient |
| 115 | + protection from collision attacks. |
| 116 | +* [Comparison of `Ipv4Addr` is 10x faster] |
| 117 | + (https://github.com/rust-lang/rust/pull/33891) |
| 118 | + |
| 119 | +Rustdoc |
| 120 | +------- |
| 121 | + |
| 122 | +* [Fix empty implementation section on some module pages] |
| 123 | + (https://github.com/rust-lang/rust/pull/34536) |
| 124 | +* [Fix inlined renamed reexports in import lists] |
| 125 | + (https://github.com/rust-lang/rust/pull/34479) |
| 126 | +* [Fix search result layout for enum variants and struct fields] |
| 127 | + (https://github.com/rust-lang/rust/pull/34477) |
| 128 | +* [Fix issues with source links to external crates] |
| 129 | + (https://github.com/rust-lang/rust/pull/34387) |
| 130 | +* [Fix redirect pages for renamed reexports] |
| 131 | + (https://github.com/rust-lang/rust/pull/34245) |
| 132 | + |
| 133 | +Tooling |
| 134 | +------- |
| 135 | + |
| 136 | +* [rustc is better at finding the MSVC toolchain] |
| 137 | + (https://github.com/rust-lang/rust/pull/34492) |
| 138 | +* [When emitting debug info, rustc emits frame pointers for closures, |
| 139 | + shims and glue, as it does for all other functions] |
| 140 | + (https://github.com/rust-lang/rust/pull/33909) |
| 141 | +* [rust-lldb warns about unsupported versions of LLDB] |
| 142 | + (https://github.com/rust-lang/rust/pull/34646) |
| 143 | +* Many more errors have been given error codes and extended |
| 144 | + explanations |
| 145 | +* API documentation continues to be improved, with many new examples |
| 146 | + |
| 147 | +Misc |
| 148 | +---- |
| 149 | + |
| 150 | +* [rustc no longer hangs when dependencies recursively re-export |
| 151 | + submodules] |
| 152 | + (https://github.com/rust-lang/rust/pull/34542) |
| 153 | +* [rustc requires LLVM 3.7+] |
| 154 | + (https://github.com/rust-lang/rust/pull/34104) |
| 155 | +* [The 'How Safe and Unsafe Interact' chapter of The Rustonomicon was |
| 156 | + rewritten] |
| 157 | + (https://github.com/rust-lang/rust/pull/33895) |
| 158 | +* [rustc support 16-bit pointer sizes] |
| 159 | + (https://github.com/rust-lang/rust/pull/33460). |
| 160 | + No targets use this yet, but it works toward AVR support. |
| 161 | + |
| 162 | +Compatibility Notes |
| 163 | +------------------- |
| 164 | + |
| 165 | +* [`const`s and `static`s may not have unsized types] |
| 166 | + (https://github.com/rust-lang/rust/pull/34443) |
| 167 | +* [The new follow-set rules that place restrictions on `macro_rules!` |
| 168 | + in order to ensure syntax forward-compatibility have been enabled] |
| 169 | + (https://github.com/rust-lang/rust/pull/33982) |
| 170 | + This was an [ammendment to RFC 550] |
| 171 | + (https://github.com/rust-lang/rfcs/pull/1384), |
| 172 | + and has been a warning since 1.10. |
| 173 | +* [`cfg` attribute process has been refactored to fix various bugs] |
| 174 | + (https://github.com/rust-lang/rust/pull/33706). |
| 175 | + This causes breakage in some corner cases. |
| 176 | + |
| 177 | + |
1 | 178 | Version 1.10.0 (2016-07-07)
|
2 | 179 | ===========================
|
3 | 180 |
|
|
0 commit comments