Skip to content

Commit 8dff029

Browse files
committed
Updated release notes for 0.11.0
1 parent d2ff9d8 commit 8dff029

File tree

2 files changed

+132
-1
lines changed

2 files changed

+132
-1
lines changed

AUTHORS.txt

-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,6 @@ TyOverby <[email protected]>
487487
Tycho Sci <[email protected]>
488488
Tyler Bindon <[email protected]>
489489
U-NOV2010\eugals
490-
User Jyyou <[email protected]>
491490
Utkarsh Kukreti <[email protected]>
492491
Uwe Dauernheim <[email protected]>
493492
Vadim Chugunov <[email protected]>

RELEASES.txt

+132
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,135 @@
1+
Version 0.11.0 (July 2014)
2+
-------------------------
3+
4+
* ~1700 changes, numerous bugfixes
5+
6+
* Language
7+
* ~[T] has been removed from the language. This type is superseded by
8+
the Vec<T> type.
9+
* ~str has been removed from the language. This type is superseded by
10+
the String type.
11+
* ~T has been removed from the language. This type is superseded by the
12+
Box<T> type.
13+
* @T has been removed from the language. This type is superseded by the
14+
standard library's std::gc::Gc<T> type.
15+
* Struct fields are now all private by default.
16+
* Vector indices and shift amounts are both required to be a `uint`
17+
instead of any integral type.
18+
* Byte character, byte string, and raw byte string literals are now all
19+
supported by prefixing the normal literal with a `b`.
20+
* Multiple ABIs are no longer allowed in an ABI string
21+
* The syntax for lifetimes on closures/procedures has been tweaked
22+
slightly: `<'a>|A, B|: 'b + K -> T`
23+
* Floating point modulus has been removed from the language; however it
24+
is still provided by a library implementation.
25+
* Private enum variants are now disallowed.
26+
* The `priv` keyword has been removed from the language.
27+
* A closure can no longer be invoked through a &-pointer.
28+
* The `use foo, bar, baz;` syntax has been removed from the language.
29+
* The transmute intrinsic no longer works on type parameters.
30+
* Statics now allow blocks/items in their definition.
31+
* Trait bounds are separated from objects with + instead of : now.
32+
* Objects can no longer be read while they are mutably borrowed.
33+
* The address of a static is now marked as insignificant unless the
34+
#[inline(never)] attribute is placed it.
35+
* The #[unsafe_destructor] attribute is now behind a feature gate.
36+
* Struct literals are no longer allowed in ambiguous positions such as
37+
if, while, match, and for..in.
38+
* Declaration of lang items and intrinsics are now feature-gated by
39+
default.
40+
* Integral literals no longer default to `int`, and floating point
41+
literals no longer default to `f64`. Literals must be suffixed with an
42+
appropriate type if inference cannot determine the type of the
43+
literal.
44+
* The Box<T> type is no longer implicitly borrowed to &mut T.
45+
* Procedures are now required to not capture borrowed references.
46+
47+
* Libraries
48+
* The standard library is now a "facade" over a number of underlying
49+
libraries. This means that development on the standard library should
50+
be speeder due to smaller crates, as well as a clearer line between
51+
all dependencies.
52+
* A new library, libcore, lives under the standard library's facade
53+
which is Rust's "0-assumption" library, suitable for embedded and
54+
kernel development for example.
55+
* A regex crate has been added to the standard distribution. This crate
56+
includes statically compiled regular expressions.
57+
* The unwrap/unwrap_err methods on Result require a Show bound for
58+
better error messages.
59+
* The return types of the std::comm primitives have been centralized
60+
around the Result type.
61+
* A number of I/O primitives have gained the ability to time out their
62+
operations.
63+
* A number of I/O primitives have gained the ability to close their
64+
reading/writing halves to cancel pending operations.
65+
* Reverse iterator methods have been removed in favor of `rev()` on
66+
their forward-iteration counterparts.
67+
* A bitflags! macro has been added to enable easy interop with C and
68+
management of bit flags.
69+
* A debug_assert! macro is now provided which is disabled when
70+
`--cfg ndebug` is passed to the compiler.
71+
* A graphviz crate has been added for creating .dot files.
72+
* The std::cast module has been migrated into std::mem.
73+
* The std::local_data api has been migrated from freestanding functions
74+
to being based on methods.
75+
* The Pod trait has been renamed to Copy.
76+
* jemalloc has been added as the default allocator for types.
77+
* The API for allocating memory has been changed to use proper alignment
78+
and sized deallocation
79+
* Connecting a TcpStream or binding a TcpListener is now based on a
80+
string address and a u16 port. This allows connecting to a hostname as
81+
opposed to an IP.
82+
* The Reader trait now contains a core method, read_at_least(), which
83+
correctly handles many repeated 0-length reads.
84+
* The process-spawning API is now centered around a builder-style
85+
Command struct.
86+
* The :? printing qualifier has been moved from the standard library to
87+
an external libdebug crate.
88+
* Eq/Ord have been renamed to PartialEq/PartialOrd. TotalEq/TotalOrd
89+
have been renamed to Eq/Ord.
90+
* The select/plural methods have been removed from format!. The escapes
91+
for { and } have also changed from \{ and \} to {{ and }},
92+
respectively.
93+
* The TaskBuilder API has been re-worked to be a true builder, and
94+
extension traits for spawning native/green tasks have been added.
95+
96+
* Tooling
97+
* All breaking changes to the language or libraries now have their
98+
commit message annotated with `[breaking-change]` to allow for easy
99+
discovery of breaking changes.
100+
* The compiler will now try to suggest how to annotate lifetimes if a
101+
lifetime-related error occurs.
102+
* Debug info continues to be improved greatly with general bug fixes and
103+
better support for situations like link time optimization (LTO).
104+
* Usage of syntax extensions when cross-compiling has been fixed.
105+
* Functionality equivalent to GCC & Clang's -ffunction-sections,
106+
-fdata-sections and --gc-sections has been enabled by default
107+
* The compiler is now stricter about where it will load module files
108+
from when a module is declared via `mod foo;`.
109+
* The #[phase(syntax)] attribute has been renamed to #[phase(plugin)].
110+
Syntax extensions are now discovered via a "plugin registrar" type
111+
which will be extended in the future to other various plugins.
112+
* Lints have been restructured to allow for dynamically loadable lints.
113+
* A number of rustdoc improvements:
114+
* The HTML output has been visually redesigned.
115+
* Markdown is now powered by hoedown instead of sundown.
116+
* Searching heuristics have been greatly improved.
117+
* The search index has been reduced in size by a great amount.
118+
* Cross-crate documentation via `pub use` has been greatly improved.
119+
* Primitive types are now hyperlinked and documented.
120+
* Documentation has been moved from static.rust-lang.org/doc to
121+
doc.rust-lang.org
122+
* A new sandbox, play.rust-lang.org, is available for running and
123+
sharing rust code examples on-line.
124+
* Unused attributes are now more robustly warned about.
125+
* The dead_code lint now warns about unused struct fields.
126+
* Cross-compiling to iOS is now supported.
127+
* Cross-compiling to mipsel is now supported.
128+
* Stability attributes are now inherited by default and no longer apply
129+
to intra-crate usage, only inter-crate usage.
130+
* Error message related to non-exhaustive match expressions have been
131+
greatly improved.
132+
1133
Version 0.10 (April 2014)
2134
-------------------------
3135

0 commit comments

Comments
 (0)