]> git.lizzy.rs Git - rust.git/blob - RELEASES.md
Merge pull request #20699 from vhbit/ios-archs
[rust.git] / RELEASES.md
1 Version 1.0.0-alpha (January 2015)
2 ----------------------------------
3
4   * ~2400 changes, numerous bugfixes
5
6   * Highlights
7
8     * The language itself is considered feature complete for 1.0,
9       though there will be many usability improvements and bugfixes
10       before the final release.
11     * Nearly 50% of the public API surface of the standard library has
12       been declared 'stable'. Those interfaces are unlikely to change
13       before 1.0.
14     * The long-running debate over integer types has been
15       [settled][ints]: Rust will ship with types named `isize` and
16       `usize`, rather than `int` and `uint`, for pointer-sized
17       integers. Guidelines will be rolled out during the alpha cycle.
18     * Most crates that are not `std` have been moved out of the Rust
19       distribution into the Cargo ecosystem so they can evolve
20       separately and don't need to be stabilized as quickly, including
21       'time', 'getopts', 'num', 'regex', and 'term'.
22     * Documentation continues to be expanded with more API coverage, more
23       examples, and more in-depth explanations. The guides have been
24       consolidated into [The Rust Programming Language][trpl].
25     * "Rust By Example" is now maintained by the Rust team.
26     * All official Rust binary installers now come with [Cargo], the
27       Rust package manager.
28
29 * Language
30
31     * Closures have been [completely redesigned][unboxed] to be
32       implemented in terms of traits, can now be used as generic type
33       bounds and thus monomorphized and inlined, or via an opaque
34       pointer (boxed) as in the old system. The new system is often
35       referred to as 'unboxed' closures.
36     * Traits now support [associated types][assoc], allowing families
37       of related types to be defined together and used generically in
38       powerful ways.
39     * Enum variants are [namespaced by their type names][enum].
40     * [`where` clauses][where] provide a more versatile and attractive
41       syntax for specifying generic bounds, though the previous syntax
42       remains valid.
43     * Rust again picks a [fallback][fb] (either i32 or f64) for uninferred
44       numeric types.
45     * Rust [no longer has a runtime][rt] of any description, and only
46       supports OS threads, not green threads.
47     * At long last, Rust has been overhauled for 'dynamically-sized
48       types' ([DST]), which integrates 'fat pointers' (object types,
49       arrays, and `str`) more deeply into the type system, making it
50       more consistent.
51     * Rust now has a general [range syntax][range], `i..j`, `i..`, and
52       `..j` that produce range types and which, when combined with the
53       `Index` operator and multidispatch, leads to a convenient slice
54       notation, `[i..j]`.
55     * The new range syntax revealed an ambiguity in the fixed-length
56       array syntax, so now fixed length arrays [are written `[T;
57       N]`][arrays].
58     * The `Copy` trait is no longer implemented automatically. Unsafe
59       pointers no longer implement `Sync` and `Send` so types
60       containing them don't automatically either. `Sync` and `Send`
61       are now 'unsafe traits' so one can "forcibly" implement them via
62       `unsafe impl` if a type confirms to the requirements for them
63       even though the internals do not (e.g. structs containing unsafe
64       pointers like `Arc`). These changes are intended to prevent some
65       footguns and are collectively known as [opt-in built-in
66       traits][oibit] (though `Sync` and `Send` will soon become pure
67       library types unknown to the compiler).
68     * Operator traits now take their operands [by value][ops], and
69       comparison traits can use multidispatch to compare one type
70       against multiple other types, allowing e.g. `String` to be
71       compared with `&str`.
72     * `if let` and `while let` are no longer feature-gated.
73     * Rust has adopted a more [uniform syntax for escaping unicode
74       characters][unicode].
75     * `macro_rules!` [has been declared stable][mac]. Though it is a
76       flawed system it is sufficiently popular that it must be usable
77       for 1.0. Effort has gone into [future-proofing][mac-future] it
78       in ways that will allow other macro systems to be developed in
79       parallel, and won't otherwise impact the evolution of the
80       language.
81     * The prelude has been [pared back significantly][prelude] such
82       that it is the minimum necessary to support the most pervasive
83       code patterns, and through [generalized where clauses][where]
84       many of the prelude extension traits have been consolidated.
85     * Rust's rudimentary reflection [has been removed][refl], as it
86       incurred too much code generation for little benefit.
87     * [Struct variants][structvars] are no longer feature-gated.
88     * Trait bounds can be [polymorphic over lifetimes][hrtb]. Also
89       known as 'higher-ranked trait bounds', this crucially allows
90       unboxed closures to work.
91     * Macros invocations surrounded by parens or square brackets and
92       not terminated by a semicolon are [parsed as
93       expressions][macros], which makes expressions like `vec![1i32,
94       2, 3].len()` work as expected.
95     * Trait objects now implement their traits automatically, and
96       traits that can be coerced to objects now must be [object
97       safe][objsafe].
98     * Automatically deriving traits is now done with `#[derive(...)]`
99       not `#[deriving(...)]` for [consistency with other naming
100       conventions][derive].
101     * Importing the containing module or enum at the same time as
102       items or variants they contain is [now done with `self` instead
103       of `mod`][self], as in use `foo::{self, bar}`
104     * Glob imports are no longer feature-gated.
105     * The `box` operator and `box` patterns have been feature-gated
106       pending a redesign. For now unique boxes should be allocated
107       like other containers, with `Box::new`.
108
109 * Libraries
110
111     * A [series][coll1] of [efforts][coll2] to establish
112       [conventions][coll3] for collections types has resulted in API
113       improvements throughout the standard library.
114     * New [APIs for error handling][err] provide ergonomic interop
115       between error types, and [new conventions][err-conv] describe
116       more clearly the recommended error handling strategies in Rust.
117     * The `fail!` macro has been renamed to [`panic!`][panic] so that
118       it is easier to discuss failure in the context of error handling
119       without making clarifications as to whether you are referring to
120       the 'fail' macro or failure more generally.
121     * On Linux, `OsRng` prefers the new, more reliable `getrandom`
122       syscall when available.
123     * The 'serialize' crate has been renamed 'rustc-serialize' and
124       moved out of the distribution to Cargo. Although it is widely
125       used now, it is expected to be superceded in the near future.
126     * The `Show` formatter, typically implemented with
127       `#[derive(Show)]` is [now requested with the `{:?}`
128       specifier][show] and is intended for use by all types, for uses
129       such as `println!` debugging. The new `String` formatter must be
130       implemented by hand, uses the `{}` specifier, and is intended
131       for full-fidelity conversions of things that can logically be
132       represented as strings.
133
134 * Tooling
135
136     * [Flexible target specification][flex] allows rustc's code
137       generation to be configured to support otherwise-unsupported
138       platforms.
139     * Rust comes with rust-gdb and rust-lldb scripts that launch their
140       respective debuggers with Rust-appropriate pretty-printing.
141     * The Windows installation of Rust is distributed with the the
142       MinGW components currently required to link binaries on that
143       platform.
144
145 * Misc
146
147     * Nullable enum optimizations have been extended to more types so
148       that e.g. `Option<Vec<T>>` and `Option<String>` take up no more
149       space than the inner types themselves.
150     * Work has begun on supporting AArch64.
151
152 [Cargo]: https://crates.io
153 [unboxed]: http://smallcultfollowing.com/babysteps/blog/2014/11/26/purging-proc/
154 [enum]: https://github.com/rust-lang/rfcs/blob/master/text/0390-enum-namespacing.md
155 [flex]: https://github.com/rust-lang/rfcs/blob/master/text/0131-target-specification.md
156 [err]: https://github.com/rust-lang/rfcs/blob/master/text/0201-error-chaining.md
157 [err-conv]: https://github.com/rust-lang/rfcs/blob/master/text/0236-error-conventions.md
158 [rt]: https://github.com/rust-lang/rfcs/blob/master/text/0230-remove-runtime.md
159 [mac]: https://github.com/rust-lang/rfcs/blob/master/text/0453-macro-reform.md
160 [mac-future]: https://github.com/rust-lang/rfcs/pull/550
161 [DST]: http://smallcultfollowing.com/babysteps/blog/2014/01/05/dst-take-5/
162 [coll1]: https://github.com/rust-lang/rfcs/blob/master/text/0235-collections-conventions.md
163 [coll2]: https://github.com/rust-lang/rfcs/blob/master/text/0509-collections-reform-part-2.md
164 [coll3]: https://github.com/rust-lang/rfcs/blob/master/text/0216-collection-views.md
165 [ops]: https://github.com/rust-lang/rfcs/blob/master/text/0439-cmp-ops-reform.md
166 [prelude]: https://github.com/rust-lang/rfcs/blob/master/text/0503-prelude-stabilization.md
167 [where]: https://github.com/rust-lang/rfcs/blob/master/text/0135-where.md
168 [refl]: https://github.com/rust-lang/rfcs/blob/master/text/0379-remove-reflection.md
169 [panic]: https://github.com/rust-lang/rfcs/blob/master/text/0221-panic.md
170 [structvars]: https://github.com/rust-lang/rfcs/blob/master/text/0418-struct-variants.md
171 [hrtb]: https://github.com/rust-lang/rfcs/blob/master/text/0387-higher-ranked-trait-bounds.md
172 [unicode]: https://github.com/rust-lang/rfcs/blob/master/text/0446-es6-unicode-escapes.md
173 [oibit]: https://github.com/rust-lang/rfcs/blob/master/text/0019-opt-in-builtin-traits.md
174 [macros]: https://github.com/rust-lang/rfcs/blob/master/text/0378-expr-macros.md
175 [range]: https://github.com/rust-lang/rfcs/blob/master/text/0439-cmp-ops-reform.md#indexing-and-slicing
176 [arrays]: https://github.com/rust-lang/rfcs/blob/master/text/0520-new-array-repeat-syntax.md
177 [show]: https://github.com/rust-lang/rfcs/blob/master/text/0504-show-stabilization.md
178 [derive]: https://github.com/rust-lang/rfcs/blob/master/text/0534-deriving2derive.md
179 [self]: https://github.com/rust-lang/rfcs/blob/master/text/0532-self-in-use.md
180 [fb]: https://github.com/rust-lang/rfcs/blob/master/text/0212-restore-int-fallback.md
181 [objsafe]: https://github.com/rust-lang/rfcs/blob/master/text/0255-object-safety.md
182 [assoc]: https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.md
183 [ints]: https://github.com/rust-lang/rfcs/pull/544#issuecomment-68760871
184 [trpl]: http://doc.rust-lang.org/book/index.html
185
186 Version 0.12.0 (October 2014)
187 -----------------------------
188
189   * ~1900 changes, numerous bugfixes
190
191   * Highlights
192
193     * The introductory documentation (now called The Rust Guide) has
194       been completely rewritten, as have a number of supplementary
195       guides.
196     * Rust's package manager, Cargo, continues to improve and is
197       sometimes considered to be quite awesome.
198     * Many API's in `std` have been reviewed and updated for
199       consistency with the in-development Rust coding
200       guidelines. The standard library documentation tracks
201       stabilization progress.
202     * Minor libraries have been moved out-of-tree to the rust-lang org
203       on GitHub: uuid, semver, glob, num, hexfloat, fourcc. They can
204       be installed with Cargo.
205     * Lifetime elision allows lifetime annotations to be left off of
206       function declarations in many common scenarios.
207     * Rust now works on 64-bit Windows.
208
209   * Language
210     * Indexing can be overloaded with the `Index` and `IndexMut`
211       traits.
212     * The `if let` construct takes a branch only if the `let` pattern
213       matches, currently behind the 'if_let' feature gate.
214     * 'where clauses', a more flexible syntax for specifying trait
215       bounds that is more aesthetic, have been added for traits and
216       free functions. Where clauses will in the future make it
217       possible to constrain associated types, which would be
218       impossible with the existing syntax.
219     * A new slicing syntax (e.g. `[0..4]`) has been introduced behind
220       the 'slicing_syntax' feature gate, and can be overloaded with
221       the `Slice` or `SliceMut` traits.
222     * The syntax for matching of sub-slices has been changed to use a
223       postfix `..` instead of prefix (.e.g. `[a, b, c..]`), for
224       consistency with other uses of `..` and to future-proof
225       potential additional uses of the syntax.
226     * The syntax for matching inclusive ranges in patterns has changed
227       from `0..3` to `0...4` to be consistent with the exclusive range
228       syntax for slicing.
229     * Matching of sub-slices in non-tail positions (e.g.  `[a.., b,
230       c]`) has been put behind the 'advanced_slice_patterns' feature
231       gate and may be removed in the future.
232     * Components of tuples and tuple structs can be extracted using
233       the `value.0` syntax, currently behind the `tuple_indexing`
234       feature gate.
235     * The `#[crate_id]` attribute is no longer supported; versioning
236       is handled by the package manager.
237     * Renaming crate imports are now written `extern crate foo as bar`
238       instead of `extern crate bar = foo`.
239     * Renaming use statements are now written `use foo as bar` instead
240       of `use bar = foo`.
241     * `let` and `match` bindings and argument names in macros are now
242       hygienic.
243     * The new, more efficient, closure types ('unboxed closures') have
244       been added under a feature gate, 'unboxed_closures'. These will
245       soon replace the existing closure types, once higher-ranked
246       trait lifetimes are added to the language.
247     * `move` has been added as a keyword, for indicating closures
248       that capture by value.
249     * Mutation and assignment is no longer allowed in pattern guards.
250     * Generic structs and enums can now have trait bounds.
251     * The `Share` trait is now called `Sync` to free up the term
252       'shared' to refer to 'shared reference' (the default reference
253       type.
254     * Dynamically-sized types have been mostly implemented,
255       unifying the behavior of fat-pointer types with the rest of the
256       type system.
257     * As part of dynamically-sized types, the `Sized` trait has been
258       introduced, which qualifying types implement by default, and
259       which type parameters expect by default. To specify that a type
260       parameter does not need to be sized, write `<Sized? T>`. Most
261       types are `Sized`, notable exceptions being unsized arrays
262       (`[T]`) and trait types.
263     * Closures can return `!`, as in `|| -> !` or `proc() -> !`.
264     * Lifetime bounds can now be applied to type parameters and object
265       types.
266     * The old, reference counted GC type, `Gc<T>` which was once
267       denoted by the `@` sigil, has finally been removed. GC will be
268       revisited in the future.
269
270   * Libraries
271     * Library documentation has been improved for a number of modules.
272     * Bit-vectors, collections::bitv has been modernized.
273     * The url crate is deprecated in favor of
274       http://github.com/servo/rust-url, which can be installed with
275       Cargo.
276     * Most I/O stream types can be cloned and subsequently closed from
277       a different thread.
278     * A `std::time::Duration` type has been added for use in I/O
279       methods that rely on timers, as well as in the 'time' crate's
280       `Timespec` arithmetic.
281     * The runtime I/O abstraction layer that enabled the green thread
282       scheduler to do non-thread-blocking I/O has been removed, along
283       with the libuv-based implementation employed by the green thread
284       scheduler. This will greatly simplify the future I/O work.
285     * `collections::btree` has been rewritten to have a more
286       idiomatic and efficient design.
287
288   * Tooling
289     * rustdoc output now indicates the stability levels of API's.
290     * The `--crate-name` flag can specify the name of the crate
291       being compiled, like `#[crate_name]`.
292     * The `-C metadata` specifies additional metadata to hash into
293       symbol names, and `-C extra-filename` specifies additional
294       information to put into the output filename, for use by the
295       package manager for versioning.
296     * debug info generation has continued to improve and should be
297       more reliable under both gdb and lldb.
298     * rustc has experimental support for compiling in parallel
299       using the `-C codegen-units` flag.
300     * rustc no longer encodes rpath information into binaries by
301       default.
302
303   * Misc
304     * Stack usage has been optimized with LLVM lifetime annotations.
305     * Official Rust binaries on Linux are more compatible with older
306       kernels and distributions, built on CentOS 5.10.
307
308 Version 0.11.0 (July 2014)
309 -------------------------
310
311   * ~1700 changes, numerous bugfixes
312
313   * Language
314     * ~[T] has been removed from the language. This type is superseded by
315       the Vec<T> type.
316     * ~str has been removed from the language. This type is superseded by
317       the String type.
318     * ~T has been removed from the language. This type is superseded by the
319       Box<T> type.
320     * @T has been removed from the language. This type is superseded by the
321       standard library's std::gc::Gc<T> type.
322     * Struct fields are now all private by default.
323     * Vector indices and shift amounts are both required to be a `uint`
324       instead of any integral type.
325     * Byte character, byte string, and raw byte string literals are now all
326       supported by prefixing the normal literal with a `b`.
327     * Multiple ABIs are no longer allowed in an ABI string
328     * The syntax for lifetimes on closures/procedures has been tweaked
329       slightly: `<'a>|A, B|: 'b + K -> T`
330     * Floating point modulus has been removed from the language; however it
331       is still provided by a library implementation.
332     * Private enum variants are now disallowed.
333     * The `priv` keyword has been removed from the language.
334     * A closure can no longer be invoked through a &-pointer.
335     * The `use foo, bar, baz;` syntax has been removed from the language.
336     * The transmute intrinsic no longer works on type parameters.
337     * Statics now allow blocks/items in their definition.
338     * Trait bounds are separated from objects with + instead of : now.
339     * Objects can no longer be read while they are mutably borrowed.
340     * The address of a static is now marked as insignificant unless the
341       #[inline(never)] attribute is placed it.
342     * The #[unsafe_destructor] attribute is now behind a feature gate.
343     * Struct literals are no longer allowed in ambiguous positions such as
344       if, while, match, and for..in.
345     * Declaration of lang items and intrinsics are now feature-gated by
346       default.
347     * Integral literals no longer default to `int`, and floating point
348       literals no longer default to `f64`. Literals must be suffixed with an
349       appropriate type if inference cannot determine the type of the
350       literal.
351     * The Box<T> type is no longer implicitly borrowed to &mut T.
352     * Procedures are now required to not capture borrowed references.
353
354   * Libraries
355     * The standard library is now a "facade" over a number of underlying
356       libraries. This means that development on the standard library should
357       be speeder due to smaller crates, as well as a clearer line between
358       all dependencies.
359     * A new library, libcore, lives under the standard library's facade
360       which is Rust's "0-assumption" library, suitable for embedded and
361       kernel development for example.
362     * A regex crate has been added to the standard distribution. This crate
363       includes statically compiled regular expressions.
364     * The unwrap/unwrap_err methods on Result require a Show bound for
365       better error messages.
366     * The return types of the std::comm primitives have been centralized
367       around the Result type.
368     * A number of I/O primitives have gained the ability to time out their
369       operations.
370     * A number of I/O primitives have gained the ability to close their
371       reading/writing halves to cancel pending operations.
372     * Reverse iterator methods have been removed in favor of `rev()` on
373       their forward-iteration counterparts.
374     * A bitflags! macro has been added to enable easy interop with C and
375       management of bit flags.
376     * A debug_assert! macro is now provided which is disabled when
377       `--cfg ndebug` is passed to the compiler.
378     * A graphviz crate has been added for creating .dot files.
379     * The std::cast module has been migrated into std::mem.
380     * The std::local_data api has been migrated from freestanding functions
381       to being based on methods.
382     * The Pod trait has been renamed to Copy.
383     * jemalloc has been added as the default allocator for types.
384     * The API for allocating memory has been changed to use proper alignment
385       and sized deallocation
386     * Connecting a TcpStream or binding a TcpListener is now based on a
387       string address and a u16 port. This allows connecting to a hostname as
388       opposed to an IP.
389     * The Reader trait now contains a core method, read_at_least(), which
390       correctly handles many repeated 0-length reads.
391     * The process-spawning API is now centered around a builder-style
392       Command struct.
393     * The :? printing qualifier has been moved from the standard library to
394       an external libdebug crate.
395     * Eq/Ord have been renamed to PartialEq/PartialOrd. TotalEq/TotalOrd
396       have been renamed to Eq/Ord.
397     * The select/plural methods have been removed from format!. The escapes
398       for { and } have also changed from \{ and \} to {{ and }},
399       respectively.
400     * The TaskBuilder API has been re-worked to be a true builder, and
401       extension traits for spawning native/green tasks have been added.
402
403   * Tooling
404     * All breaking changes to the language or libraries now have their
405       commit message annotated with `[breaking-change]` to allow for easy
406       discovery of breaking changes.
407     * The compiler will now try to suggest how to annotate lifetimes if a
408       lifetime-related error occurs.
409     * Debug info continues to be improved greatly with general bug fixes and
410       better support for situations like link time optimization (LTO).
411     * Usage of syntax extensions when cross-compiling has been fixed.
412     * Functionality equivalent to GCC & Clang's -ffunction-sections,
413       -fdata-sections and --gc-sections has been enabled by default
414     * The compiler is now stricter about where it will load module files
415       from when a module is declared via `mod foo;`.
416     * The #[phase(syntax)] attribute has been renamed to #[phase(plugin)].
417       Syntax extensions are now discovered via a "plugin registrar" type
418       which will be extended in the future to other various plugins.
419     * Lints have been restructured to allow for dynamically loadable lints.
420     * A number of rustdoc improvements:
421       * The HTML output has been visually redesigned.
422       * Markdown is now powered by hoedown instead of sundown.
423       * Searching heuristics have been greatly improved.
424       * The search index has been reduced in size by a great amount.
425       * Cross-crate documentation via `pub use` has been greatly improved.
426       * Primitive types are now hyperlinked and documented.
427     * Documentation has been moved from static.rust-lang.org/doc to
428       doc.rust-lang.org
429     * A new sandbox, play.rust-lang.org, is available for running and
430       sharing rust code examples on-line.
431     * Unused attributes are now more robustly warned about.
432     * The dead_code lint now warns about unused struct fields.
433     * Cross-compiling to iOS is now supported.
434     * Cross-compiling to mipsel is now supported.
435     * Stability attributes are now inherited by default and no longer apply
436       to intra-crate usage, only inter-crate usage.
437     * Error message related to non-exhaustive match expressions have been
438       greatly improved.
439
440 Version 0.10 (April 2014)
441 -------------------------
442
443   * ~1500 changes, numerous bugfixes
444
445   * Language
446     * A new RFC process is now in place for modifying the language.
447     * Patterns with `@`-pointers have been removed from the language.
448     * Patterns with unique vectors (`~[T]`) have been removed from the
449       language.
450     * Patterns with unique strings (`~str`) have been removed from the
451       language.
452     * `@str` has been removed from the language.
453     * `@[T]` has been removed from the language.
454     * `@self` has been removed from the language.
455     * `@Trait` has been removed from the language.
456     * Headers on `~` allocations which contain `@` boxes inside the type for
457       reference counting have been removed.
458     * The semantics around the lifetimes of temporary expressions have changed,
459       see #3511 and #11585 for more information.
460     * Cross-crate syntax extensions are now possible, but feature gated. See
461       #11151 for more information. This includes both `macro_rules!` macros as
462       well as syntax extensions such as `format!`.
463     * New lint modes have been added, and older ones have been turned on to be
464       warn-by-default.
465       * Unnecessary parentheses
466       * Uppercase statics
467       * Camel Case types
468       * Uppercase variables
469       * Publicly visible private types
470       * `#[deriving]` with raw pointers
471     * Unsafe functions can no longer be coerced to closures.
472     * Various obscure macros such as `log_syntax!` are now behind feature gates.
473     * The `#[simd]` attribute is now behind a feature gate.
474     * Visibility is no longer allowed on `extern crate` statements, and
475       unnecessary visibility (`priv`) is no longer allowed on `use` statements.
476     * Trailing commas are now allowed in argument lists and tuple patterns.
477     * The `do` keyword has been removed, it is now a reserved keyword.
478     * Default type parameters have been implemented, but are feature gated.
479     * Borrowed variables through captures in closures are now considered soundly.
480     * `extern mod` is now `extern crate`
481     * The `Freeze` trait has been removed.
482     * The `Share` trait has been added for types that can be shared among
483       threads.
484     * Labels in macros are now hygienic.
485     * Expression/statement macro invocations can be delimited with `{}` now.
486     * Treatment of types allowed in `static mut` locations has been tweaked.
487     * The `*` and `.` operators are now overloadable through the `Deref` and
488       `DerefMut` traits.
489     * `~Trait` and `proc` no longer have `Send` bounds by default.
490     * Partial type hints are now supported with the `_` type marker.
491     * An `Unsafe` type was introduced for interior mutability. It is now
492       considered undefined to transmute from `&T` to `&mut T` without using the
493       `Unsafe` type.
494     * The #[linkage] attribute was implemented for extern statics/functions.
495     * The inner attribute syntax has changed from `#[foo];` to `#![foo]`.
496     * `Pod` was renamed to `Copy`.
497
498   * Libraries
499     * The `libextra` library has been removed. It has now been decomposed into
500       component libraries with smaller and more focused nuggets of
501       functionality. The full list of libraries can be found on the
502       documentation index page.
503     * std: `std::condition` has been removed. All I/O errors are now propagated
504       through the `Result` type. In order to assist with error handling, a
505       `try!` macro for unwrapping errors with an early return and a lint for
506       unused results has been added. See #12039 for more information.
507     * std: The `vec` module has been renamed to `slice`.
508     * std: A new vector type, `Vec<T>`, has been added in preparation for DST.
509       This will become the only growable vector in the future.
510     * std: `std::io` now has more public-reexports. Types such as `BufferedReader`
511       are now found at `std::io::BufferedReader` instead of
512       `std::io::buffered::BufferedReader`.
513     * std: `print` and `println` are no longer in the prelude, the `print!` and
514       `println!` macros are intended to be used instead.
515     * std: `Rc` now has a `Weak` pointer for breaking cycles, and it no longer
516       attempts to statically prevent cycles.
517     * std: The standard distribution is adopting the policy of pushing failure
518       to the user rather than failing in libraries. Many functions (such as
519       `slice::last()`) now return `Option<T>` instead of `T` + failing.
520     * std: `fmt::Default` has been renamed to `fmt::Show`, and it now has a new
521       deriving mode: `#[deriving(Show)]`.
522     * std: `ToStr` is now implemented for all types implementing `Show`.
523     * std: The formatting trait methods now take `&self` instead of `&T`
524     * std: The `invert()` method on iterators has been renamed to `rev()`
525     * std: `std::num` has seen a reduction in the genericity of its traits,
526       consolidating functionality into a few core traits.
527     * std: Backtraces are now printed on task failure if the environment
528       variable `RUST_BACKTRACE` is present.
529     * std: Naming conventions for iterators have been standardized. More details
530       can be found on the wiki's style guide.
531     * std: `eof()` has been removed from the `Reader` trait. Specific types may
532       still implement the function.
533     * std: Networking types are now cloneable to allow simultaneous reads/writes.
534     * std: `assert_approx_eq!` has been removed
535     * std: The `e` and `E` formatting specifiers for floats have been added to
536       print them in exponential notation.
537     * std: The `Times` trait has been removed
538     * std: Indications of variance and opting out of builtin bounds is done
539       through marker types in `std::kinds::marker` now
540     * std: `hash` has been rewritten, `IterBytes` has been removed, and
541       `#[deriving(Hash)]` is now possible.
542     * std: `SharedChan` has been removed, `Sender` is now cloneable.
543     * std: `Chan` and `Port` were renamed to `Sender` and `Receiver`.
544     * std: `Chan::new` is now `channel()`.
545     * std: A new synchronous channel type has been implemented.
546     * std: A `select!` macro is now provided for selecting over `Receiver`s.
547     * std: `hashmap` and `trie` have been moved to `libcollections`
548     * std: `run` has been rolled into `io::process`
549     * std: `assert_eq!` now uses `{}` instead of `{:?}`
550     * std: The equality and comparison traits have seen some reorganization.
551     * std: `rand` has moved to `librand`.
552     * std: `to_{lower,upper}case` has been implemented for `char`.
553     * std: Logging has been moved to `liblog`.
554     * collections: `HashMap` has been rewritten for higher performance and less
555       memory usage.
556     * native: The default runtime is now `libnative`. If `libgreen` is desired,
557       it can be booted manually. The runtime guide has more information and
558       examples.
559     * native: All I/O functionality except signals has been implemented.
560     * green: Task spawning with `libgreen` has been optimized with stack caching
561       and various trimming of code.
562     * green: Tasks spawned by `libgreen` now have an unmapped guard page.
563     * sync: The `extra::sync` module has been updated to modern rust (and moved
564       to the `sync` library), tweaking and improving various interfaces while
565       dropping redundant functionality.
566     * sync: A new `Barrier` type has been added to the `sync` library.
567     * sync: An efficient mutex for native and green tasks has been implemented.
568     * serialize: The `base64` module has seen some improvement. It treats
569       newlines better, has non-string error values, and has seen general
570       cleanup.
571     * fourcc: A `fourcc!` macro was introduced
572     * hexfloat: A `hexfloat!` macro was implemented for specifying floats via a
573       hexadecimal literal.
574
575   * Tooling
576     * `rustpkg` has been deprecated and removed from the main repository. Its
577       replacement, `cargo`, is under development.
578     * Nightly builds of rust are now available
579     * The memory usage of rustc has been improved many times throughout this
580       release cycle.
581     * The build process supports disabling rpath support for the rustc binary
582       itself.
583     * Code generation has improved in some cases, giving more information to the
584       LLVM optimization passes to enable more extensive optimizations.
585     * Debuginfo compatibility with lldb on OSX has been restored.
586     * The master branch is now gated on an android bot, making building for
587       android much more reliable.
588     * Output flags have been centralized into one `--emit` flag.
589     * Crate type flags have been centralized into one `--crate-type` flag.
590     * Codegen flags have been consolidated behind a `-C` flag.
591     * Linking against outdated crates now has improved error messages.
592     * Error messages with lifetimes will often suggest how to annotate the
593       function to fix the error.
594     * Many more types are documented in the standard library, and new guides
595       were written.
596     * Many `rustdoc` improvements:
597       * code blocks are syntax highlighted.
598       * render standalone markdown files.
599       * the --test flag tests all code blocks by default.
600       * exported macros are displayed.
601       * reexported types have their documentation inlined at the location of the
602         first reexport.
603       * search works across crates that have been rendered to the same output
604         directory.
605
606 Version 0.9 (January 2014)
607 --------------------------
608
609    * ~1800 changes, numerous bugfixes
610
611    * Language
612       * The `float` type has been removed. Use `f32` or `f64` instead.
613       * A new facility for enabling experimental features (feature gating) has
614         been added, using the crate-level `#[feature(foo)]` attribute.
615       * Managed boxes (@) are now behind a feature gate
616         (`#[feature(managed_boxes)]`) in preparation for future removal. Use the
617         standard library's `Gc` or `Rc` types instead.
618       * `@mut` has been removed. Use `std::cell::{Cell, RefCell}` instead.
619       * Jumping back to the top of a loop is now done with `continue` instead of
620         `loop`.
621       * Strings can no longer be mutated through index assignment.
622       * Raw strings can be created via the basic `r"foo"` syntax or with matched
623         hash delimiters, as in `r###"foo"###`.
624       * `~fn` is now written `proc (args) -> retval { ... }` and may only be
625         called once.
626       * The `&fn` type is now written `|args| -> ret` to match the literal form.
627       * `@fn`s have been removed.
628       * `do` only works with procs in order to make it obvious what the cost
629         of `do` is.
630       * Single-element tuple-like structs can no longer be dereferenced to
631         obtain the inner value. A more comprehensive solution for overloading
632         the dereference operator will be provided in the future.
633       * The `#[link(...)]` attribute has been replaced with
634         `#[crate_id = "name#vers"]`.
635       * Empty `impl`s must be terminated with empty braces and may not be
636         terminated with a semicolon.
637       * Keywords are no longer allowed as lifetime names; the `self` lifetime
638         no longer has any special meaning.
639       * The old `fmt!` string formatting macro has been removed.
640       * `printf!` and `printfln!` (old-style formatting) removed in favor of
641         `print!` and `println!`.
642       * `mut` works in patterns now, as in `let (mut x, y) = (1, 2);`.
643       * The `extern mod foo (name = "bar")` syntax has been removed. Use
644         `extern mod foo = "bar"` instead.
645       * New reserved keywords: `alignof`, `offsetof`, `sizeof`.
646       * Macros can have attributes.
647       * Macros can expand to items with attributes.
648       * Macros can expand to multiple items.
649       * The `asm!` macro is feature-gated (`#[feature(asm)]`).
650       * Comments may be nested.
651       * Values automatically coerce to trait objects they implement, without
652         an explicit `as`.
653       * Enum discriminants are no longer an entire word but as small as needed to
654         contain all the variants. The `repr` attribute can be used to override
655         the discriminant size, as in `#[repr(int)]` for integer-sized, and
656         `#[repr(C)]` to match C enums.
657       * Non-string literals are not allowed in attributes (they never worked).
658       * The FFI now supports variadic functions.
659       * Octal numeric literals, as in `0o7777`.
660       * The `concat!` syntax extension performs compile-time string concatenation.
661       * The `#[fixed_stack_segment]` and `#[rust_stack]` attributes have been
662         removed as Rust no longer uses segmented stacks.
663       * Non-ascii identifiers are feature-gated (`#[feature(non_ascii_idents)]`).
664       * Ignoring all fields of an enum variant or tuple-struct is done with `..`,
665         not `*`; ignoring remaining fields of a struct is also done with `..`,
666         not `_`; ignoring a slice of a vector is done with `..`, not `.._`.
667       * `rustc` supports the "win64" calling convention via `extern "win64"`.
668       * `rustc` supports the "system" calling convention, which defaults to the
669         preferred convention for the target platform, "stdcall" on 32-bit Windows,
670         "C" elsewhere.
671       * The `type_overflow` lint (default: warn) checks literals for overflow.
672       * The `unsafe_block` lint (default: allow) checks for usage of `unsafe`.
673       * The `attribute_usage` lint (default: warn) warns about unknown
674         attributes.
675       * The `unknown_features` lint (default: warn) warns about unknown
676         feature gates.
677       * The `dead_code` lint (default: warn) checks for dead code.
678       * Rust libraries can be linked statically to one another
679       * `#[link_args]` is behind the `link_args` feature gate.
680       * Native libraries are now linked with `#[link(name = "foo")]`
681       * Native libraries can be statically linked to a rust crate
682         (`#[link(name = "foo", kind = "static")]`).
683       * Native OS X frameworks are now officially supported
684         (`#[link(name = "foo", kind = "framework")]`).
685       * The `#[thread_local]` attribute creates thread-local (not task-local)
686         variables. Currently behind the `thread_local` feature gate.
687       * The `return` keyword may be used in closures.
688       * Types that can be copied via a memcpy implement the `Pod` kind.
689       * The `cfg` attribute can now be used on struct fields and enum variants.
690
691    * Libraries
692       * std: The `option` and `result` API's have been overhauled to make them
693         simpler, more consistent, and more composable.
694       * std: The entire `std::io` module has been replaced with one that is
695         more comprehensive and that properly interfaces with the underlying
696         scheduler. File, TCP, UDP, Unix sockets, pipes, and timers are all
697         implemented.
698       * std: `io::util` contains a number of useful implementations of
699         `Reader` and `Writer`, including `NullReader`, `NullWriter`,
700         `ZeroReader`, `TeeReader`.
701       * std: The reference counted pointer type `extra::rc` moved into std.
702       * std: The `Gc` type in the `gc` module will replace `@` (it is currently
703         just a wrapper around it).
704       * std: The `Either` type has been removed.
705       * std: `fmt::Default` can be implemented for any type to provide default
706         formatting to the `format!` macro, as in `format!("{}", myfoo)`.
707       * std: The `rand` API continues to be tweaked.
708       * std: The `rust_begin_unwind` function, useful for inserting breakpoints
709         on failure in gdb, is now named `rust_fail`.
710       * std: The `each_key` and `each_value` methods on `HashMap` have been
711         replaced by the `keys` and `values` iterators.
712       * std: Functions dealing with type size and alignment have moved from the
713         `sys` module to the `mem` module.
714       * std: The `path` module was written and API changed.
715       * std: `str::from_utf8` has been changed to cast instead of allocate.
716       * std: `starts_with` and `ends_with` methods added to vectors via the
717         `ImmutableEqVector` trait, which is in the prelude.
718       * std: Vectors can be indexed with the `get_opt` method, which returns `None`
719         if the index is out of bounds.
720       * std: Task failure no longer propagates between tasks, as the model was
721         complex, expensive, and incompatible with thread-based tasks.
722       * std: The `Any` type can be used for dynamic typing.
723       * std: `~Any` can be passed to the `fail!` macro and retrieved via
724         `task::try`.
725       * std: Methods that produce iterators generally do not have an `_iter`
726         suffix now.
727       * std: `cell::Cell` and `cell::RefCell` can be used to introduce mutability
728         roots (mutable fields, etc.). Use instead of e.g. `@mut`.
729       * std: `util::ignore` renamed to `prelude::drop`.
730       * std: Slices have `sort` and `sort_by` methods via the `MutableVector`
731         trait.
732       * std: `vec::raw` has seen a lot of cleanup and API changes.
733       * std: The standard library no longer includes any C++ code, and very
734         minimal C, eliminating the dependency on libstdc++.
735       * std: Runtime scheduling and I/O functionality has been factored out into
736         extensible interfaces and is now implemented by two different crates:
737         libnative, for native threading and I/O; and libgreen, for green threading
738         and I/O. This paves the way for using the standard library in more limited
739         embedded environments.
740       * std: The `comm` module has been rewritten to be much faster, have a
741         simpler, more consistent API, and to work for both native and green
742         threading.
743       * std: All libuv dependencies have been moved into the rustuv crate.
744       * native: New implementations of runtime scheduling on top of OS threads.
745       * native: New native implementations of TCP, UDP, file I/O, process spawning,
746         and other I/O.
747       * green: The green thread scheduler and message passing types are almost
748         entirely lock-free.
749       * extra: The `flatpipes` module had bitrotted and was removed.
750       * extra: All crypto functions have been removed and Rust now has a policy of
751         not reimplementing crypto in the standard library. In the future crypto
752         will be provided by external crates with bindings to established libraries.
753       * extra: `c_vec` has been modernized.
754       * extra: The `sort` module has been removed. Use the `sort` method on
755         mutable slices.
756
757    * Tooling
758       * The `rust` and `rusti` commands have been removed, due to lack of
759         maintenance.
760       * `rustdoc` was completely rewritten.
761       * `rustdoc` can test code examples in documentation.
762       * `rustpkg` can test packages with the argument, 'test'.
763       * `rustpkg` supports arbitrary dependencies, including C libraries.
764       * `rustc`'s support for generating debug info is improved again.
765       * `rustc` has better error reporting for unbalanced delimiters.
766       * `rustc`'s JIT support was removed due to bitrot.
767       * Executables and static libraries can be built with LTO (-Z lto)
768       * `rustc` adds a `--dep-info` flag for communicating dependencies to
769         build tools.
770
771 Version 0.8 (September 2013)
772 --------------------------
773
774    * ~2200 changes, numerous bugfixes
775
776    * Language
777       * The `for` loop syntax has changed to work with the `Iterator` trait.
778       * At long last, unwinding works on Windows.
779       * Default methods are ready for use.
780       * Many trait inheritance bugs fixed.
781       * Owned and borrowed trait objects work more reliably.
782       * `copy` is no longer a keyword. It has been replaced by the `Clone` trait.
783       * rustc can omit emission of code for the `debug!` macro if it is passed
784         `--cfg ndebug`
785       * mod.rs is now "blessed". When loading `mod foo;`, rustc will now look
786         for foo.rs, then foo/mod.rs, and will generate an error when both are
787         present.
788       * Strings no longer contain trailing nulls. The new `std::c_str` module
789         provides new mechanisms for converting to C strings.
790       * The type of foreign functions is now `extern "C" fn` instead of `*u8'.
791       * The FFI has been overhauled such that foreign functions are called directly,
792         instead of through a stack-switching wrapper.
793       * Calling a foreign function must be done through a Rust function with the
794         `#[fixed_stack_segment]` attribute.
795       * The `externfn!` macro can be used to declare both a foreign function and
796         a `#[fixed_stack_segment]` wrapper at once.
797       * `pub` and `priv` modifiers on `extern` blocks are no longer parsed.
798       * `unsafe` is no longer allowed on extern fns - they are all unsafe.
799       * `priv` is disallowed everywhere except for struct fields and enum variants.
800       * `&T` (besides `&'static T`) is no longer allowed in `@T`.
801       * `ref` bindings in irrefutable patterns work correctly now.
802       * `char` is now prevented from containing invalid code points.
803       * Casting to `bool` is no longer allowed.
804       * `\0` is now accepted as an escape in chars and strings.
805       * `yield` is a reserved keyword.
806       * `typeof` is a reserved keyword.
807       * Crates may be imported by URL with `extern mod foo = "url";`.
808       * Explicit enum discriminants may be given as uints as in `enum E { V = 0u }`
809       * Static vectors can be initialized with repeating elements,
810         e.g. `static foo: [u8, .. 100]: [0, .. 100];`.
811       * Static structs can be initialized with functional record update,
812         e.g. `static foo: Foo = Foo { a: 5, .. bar };`.
813       * `cfg!` can be used to conditionally execute code based on the crate
814         configuration, similarly to `#[cfg(...)]`.
815       * The `unnecessary_qualification` lint detects unneeded module
816         prefixes (default: allow).
817       * Arithmetic operations have been implemented on the SIMD types in
818         `std::unstable::simd`.
819       * Exchange allocation headers were removed, reducing memory usage.
820       * `format!` implements a completely new, extensible, and higher-performance
821         string formatting system. It will replace `fmt!`.
822       * `print!` and `println!` write formatted strings (using the `format!`
823         extension) to stdout.
824       * `write!` and `writeln!` write formatted strings (using the `format!`
825         extension) to the new Writers in `std::rt::io`.
826       * The library section in which a function or static is placed may
827         be specified with `#[link_section = "..."]`.
828       * The `proto!` syntax extension for defining bounded message protocols
829         was removed.
830       * `macro_rules!` is hygienic for `let` declarations.
831       * The `#[export_name]` attribute specifies the name of a symbol.
832       * `unreachable!` can be used to indicate unreachable code, and fails
833         if executed.
834
835    * Libraries
836       * std: Transitioned to the new runtime, written in Rust.
837       * std: Added an experimental I/O library, `rt::io`, based on the new
838         runtime.
839       * std: A new generic `range` function was added to the prelude, replacing
840         `uint::range` and friends.
841       * std: `range_rev` no longer exists. Since range is an iterator it can be
842         reversed with `range(lo, hi).invert()`.
843       * std: The `chain` method on option renamed to `and_then`; `unwrap_or_default`
844         renamed to `unwrap_or`.
845       * std: The `iterator` module was renamed to `iter`.
846       * std: Integral types now support the `checked_add`, `checked_sub`, and
847         `checked_mul` operations for detecting overflow.
848       * std: Many methods in `str`, `vec`, `option, `result` were renamed for
849         consistency.
850       * std: Methods are standardizing on conventions for casting methods:
851         `to_foo` for copying, `into_foo` for moving, `as_foo` for temporary
852         and cheap casts.
853       * std: The `CString` type in `c_str` provides new ways to convert to and
854         from C strings.
855       * std: `DoubleEndedIterator` can yield elements in two directions.
856       * std: The `mut_split` method on vectors partitions an `&mut [T]` into
857         two splices.
858       * std: `str::from_bytes` renamed to `str::from_utf8`.
859       * std: `pop_opt` and `shift_opt` methods added to vectors.
860       * std: The task-local data interface no longer uses @, and keys are
861         no longer function pointers.
862       * std: The `swap_unwrap` method of `Option` renamed to `take_unwrap`.
863       * std: Added `SharedPort` to `comm`.
864       * std: `Eq` has a default method for `ne`; only `eq` is required
865         in implementations.
866       * std: `Ord` has default methods for `le`, `gt` and `ge`; only `lt`
867         is required in implementations.
868       * std: `is_utf8` performance is improved, impacting many string functions.
869       * std: `os::MemoryMap` provides cross-platform mmap.
870       * std: `ptr::offset` is now unsafe, but also more optimized. Offsets that
871         are not 'in-bounds' are considered undefined.
872       * std: Many freestanding functions in `vec` removed in favor of methods.
873       * std: Many freestanding functions on scalar types removed in favor of
874         methods.
875       * std: Many options to task builders were removed since they don't make
876         sense in the new scheduler design.
877       * std: More containers implement `FromIterator` so can be created by the
878         `collect` method.
879       * std: More complete atomic types in `unstable::atomics`.
880       * std: `comm::PortSet` removed.
881       * std: Mutating methods in the `Set` and `Map` traits have been moved into
882         the `MutableSet` and `MutableMap` traits. `Container::is_empty`,
883         `Map::contains_key`, `MutableMap::insert`, and `MutableMap::remove` have
884         default implementations.
885       * std: Various `from_str` functions were removed in favor of a generic
886         `from_str` which is available in the prelude.
887       * std: `util::unreachable` removed in favor of the `unreachable!` macro.
888       * extra: `dlist`, the doubly-linked list was modernized.
889       * extra: Added a `hex` module with `ToHex` and `FromHex` traits.
890       * extra: Added `glob` module, replacing `std::os::glob`.
891       * extra: `rope` was removed.
892       * extra: `deque` was renamed to `ringbuf`. `RingBuf` implements `Deque`.
893       * extra: `net`, and `timer` were removed. The experimental replacements
894         are `std::rt::io::net` and `std::rt::io::timer`.
895       * extra: Iterators implemented for `SmallIntMap`.
896       * extra: Iterators implemented for `Bitv` and `BitvSet`.
897       * extra: `SmallIntSet` removed. Use `BitvSet`.
898       * extra: Performance of JSON parsing greatly improved.
899       * extra: `semver` updated to SemVer 2.0.0.
900       * extra: `term` handles more terminals correctly.
901       * extra: `dbg` module removed.
902       * extra: `par` module removed.
903       * extra: `future` was cleaned up, with some method renames.
904       * extra: Most free functions in `getopts` were converted to methods.
905
906    * Other
907       * rustc's debug info generation (`-Z debug-info`) is greatly improved.
908       * rustc accepts `--target-cpu` to compile to a specific CPU architecture,
909         similarly to gcc's `--march` flag.
910       * rustc's performance compiling small crates is much better.
911       * rustpkg has received many improvements.
912       * rustpkg supports git tags as package IDs.
913       * rustpkg builds into target-specific directories so it can be used for
914         cross-compiling.
915       * The number of concurrent test tasks is controlled by the environment
916         variable RUST_TEST_TASKS.
917       * The test harness can now report metrics for benchmarks.
918       * All tools have man pages.
919       * Programs compiled with `--test` now support the `-h` and `--help` flags.
920       * The runtime uses jemalloc for allocations.
921       * Segmented stacks are temporarily disabled as part of the transition to
922         the new runtime. Stack overflows are possible!
923       * A new documentation backend, rustdoc_ng, is available for use. It is
924         still invoked through the normal `rustdoc` command.
925
926 Version 0.7 (July 2013)
927 -----------------------
928
929    * ~2000 changes, numerous bugfixes
930
931    * Language
932       * `impl`s no longer accept a visibility qualifier. Put them on methods
933         instead.
934       * The borrow checker has been rewritten with flow-sensitivity, fixing
935         many bugs and inconveniences.
936       * The `self` parameter no longer implicitly means `&'self self`,
937         and can be explicitly marked with a lifetime.
938       * Overloadable compound operators (`+=`, etc.) have been temporarily
939         removed due to bugs.
940       * The `for` loop protocol now requires `for`-iterators to return `bool`
941         so they compose better.
942       * The `Durable` trait is replaced with the `'static` bounds.
943       * Trait default methods work more often.
944       * Structs with the `#[packed]` attribute have byte alignment and
945         no padding between fields.
946       * Type parameters bound by `Copy` must now be copied explicitly with
947         the `copy` keyword.
948       * It is now illegal to move out of a dereferenced unsafe pointer.
949       * `Option<~T>` is now represented as a nullable pointer.
950       * `@mut` does dynamic borrow checks correctly.
951       * The `main` function is only detected at the topmost level of the crate.
952         The `#[main]` attribute is still valid anywhere.
953       * Struct fields may no longer be mutable. Use inherited mutability.
954       * The `#[no_send]` attribute makes a type that would otherwise be
955         `Send`, not.
956       * The `#[no_freeze]` attribute makes a type that would otherwise be
957         `Freeze`, not.
958       * Unbounded recursion will abort the process after reaching the limit
959         specified by the `RUST_MAX_STACK` environment variable (default: 1GB).
960       * The `vecs_implicitly_copyable` lint mode has been removed. Vectors
961         are never implicitly copyable.
962       * `#[static_assert]` makes compile-time assertions about static bools.
963       * At long last, 'argument modes' no longer exist.
964       * The rarely used `use mod` statement no longer exists.
965
966    * Syntax extensions
967       * `fail!` and `assert!` accept `~str`, `&'static str` or `fmt!`-style
968         argument list.
969       * `Encodable`, `Decodable`, `Ord`, `TotalOrd`, `TotalEq`, `DeepClone`,
970         `Rand`, `Zero` and `ToStr` can all be automatically derived with
971         `#[deriving(...)]`.
972       * The `bytes!` macro returns a vector of bytes for string, u8, char,
973         and unsuffixed integer literals.
974
975    * Libraries
976       * The `core` crate was renamed to `std`.
977       * The `std` crate was renamed to `extra`.
978       * More and improved documentation.
979       * std: `iterator` module for external iterator objects.
980       * Many old-style (internal, higher-order function) iterators replaced by
981         implementations of `Iterator`.
982       * std: Many old internal vector and string iterators,
983         incl. `any`, `all`. removed.
984       * std: The `finalize` method of `Drop` renamed to `drop`.
985       * std: The `drop` method now takes `&mut self` instead of `&self`.
986       * std: The prelude no longer reexports any modules, only types and traits.
987       * std: Prelude additions: `print`, `println`, `FromStr`, `ApproxEq`, `Equiv`,
988         `Iterator`, `IteratorUtil`, many numeric traits, many tuple traits.
989       * std: New numeric traits: `Fractional`, `Real`, `RealExt`, `Integer`, `Ratio`,
990         `Algebraic`, `Trigonometric`, `Exponential`, `Primitive`.
991       * std: Tuple traits and accessors defined for up to 12-tuples, e.g.
992         `(0, 1, 2).n2()` or `(0, 1, 2).n2_ref()`.
993       * std: Many types implement `Clone`.
994       * std: `path` type renamed to `Path`.
995       * std: `mut` module and `Mut` type removed.
996       * std: Many standalone functions removed in favor of methods and iterators
997         in `vec`, `str`. In the future methods will also work as functions.
998       * std: `reinterpret_cast` removed. Use `transmute`.
999       * std: ascii string handling in `std::ascii`.
1000       * std: `Rand` is implemented for ~/@.
1001       * std: `run` module for spawning processes overhauled.
1002       * std: Various atomic types added to `unstable::atomic`.
1003       * std: Various types implement `Zero`.
1004       * std: `LinearMap` and `LinearSet` renamed to `HashMap` and `HashSet`.
1005       * std: Borrowed pointer functions moved from `ptr` to `borrow`.
1006       * std: Added `os::mkdir_recursive`.
1007       * std: Added `os::glob` function performs filesystems globs.
1008       * std: `FuzzyEq` renamed to `ApproxEq`.
1009       * std: `Map` now defines `pop` and `swap` methods.
1010       * std: `Cell` constructors converted to static methods.
1011       * extra: `rc` module adds the reference counted pointers, `Rc` and `RcMut`.
1012       * extra: `flate` module moved from `std` to `extra`.
1013       * extra: `fileinput` module for iterating over a series of files.
1014       * extra: `Complex` number type and `complex` module.
1015       * extra: `Rational` number type and `rational` module.
1016       * extra: `BigInt`, `BigUint` implement numeric and comparison traits.
1017       * extra: `term` uses terminfo now, is more correct.
1018       * extra: `arc` functions converted to methods.
1019       * extra: Implementation of fixed output size variations of SHA-2.
1020
1021    * Tooling
1022       * `unused_variable`  lint mode for unused variables (default: warn).
1023       * `unused_unsafe` lint mode for detecting unnecessary `unsafe` blocks
1024         (default: warn).
1025       * `unused_mut` lint mode for identifying unused `mut` qualifiers
1026         (default: warn).
1027       * `dead_assignment` lint mode for unread variables (default: warn).
1028       * `unnecessary_allocation` lint mode detects some heap allocations that are
1029         immediately borrowed so could be written without allocating (default: warn).
1030       * `missing_doc` lint mode (default: allow).
1031       * `unreachable_code` lint mode (default: warn).
1032       * The `rusti` command has been rewritten and a number of bugs addressed.
1033       * rustc outputs in color on more terminals.
1034       * rustc accepts a `--link-args` flag to pass arguments to the linker.
1035       * rustc accepts a `-Z print-link-args` flag for debugging linkage.
1036       * Compiling with `-g` will make the binary record information about
1037         dynamic borrowcheck failures for debugging.
1038       * rustdoc has a nicer stylesheet.
1039       * Various improvements to rustdoc.
1040       * Improvements to rustpkg (see the detailed release notes).
1041
1042 Version 0.6 (April 2013)
1043 ------------------------
1044
1045    * ~2100 changes, numerous bugfixes
1046
1047    * Syntax changes
1048       * The self type parameter in traits is now spelled `Self`
1049       * The `self` parameter in trait and impl methods must now be explicitly
1050         named (for example: `fn f(&self) { }`). Implicit self is deprecated.
1051       * Static methods no longer require the `static` keyword and instead
1052         are distinguished by the lack of a `self` parameter
1053       * Replaced the `Durable` trait with the `'static` lifetime
1054       * The old closure type syntax with the trailing sigil has been
1055         removed in favor of the more consistent leading sigil
1056       * `super` is a keyword, and may be prefixed to paths
1057       * Trait bounds are separated with `+` instead of whitespace
1058       * Traits are implemented with `impl Trait for Type`
1059         instead of `impl Type: Trait`
1060       * Lifetime syntax is now `&'l foo` instead of `&l/foo`
1061       * The `export` keyword has finally been removed
1062       * The `move` keyword has been removed (see "Semantic changes")
1063       * The interior mutability qualifier on vectors, `[mut T]`, has been
1064         removed. Use `&mut [T]`, etc.
1065       * `mut` is no longer valid in `~mut T`. Use inherited mutability
1066       * `fail` is no longer a keyword. Use `fail!()`
1067       * `assert` is no longer a keyword. Use `assert!()`
1068       * `log` is no longer a keyword. use `debug!`, etc.
1069       * 1-tuples may be represented as `(T,)`
1070       * Struct fields may no longer be `mut`. Use inherited mutability,
1071         `@mut T`, `core::mut` or `core::cell`
1072       * `extern mod { ... }` is no longer valid syntax for foreign
1073         function modules. Use extern blocks: `extern { ... }`
1074       * Newtype enums removed. Use tuple-structs.
1075       * Trait implementations no longer support visibility modifiers
1076       * Pattern matching over vectors improved and expanded
1077       * `const` renamed to `static` to correspond to lifetime name,
1078         and make room for future `static mut` unsafe mutable globals.
1079       * Replaced `#[deriving_eq]` with `#[deriving(Eq)]`, etc.
1080       * `Clone` implementations can be automatically generated with
1081         `#[deriving(Clone)]`
1082       * Casts to traits must use a pointer sigil, e.g. `@foo as @Bar`
1083         instead of `foo as Bar`.
1084       * Fixed length vector types are now written as `[int, .. 3]`
1085         instead of `[int * 3]`.
1086       * Fixed length vector types can express the length as a constant
1087         expression. (ex: `[int, .. GL_BUFFER_SIZE - 2]`)
1088
1089    * Semantic changes
1090       * Types with owned pointers or custom destructors move by default,
1091         eliminating the `move` keyword
1092       * All foreign functions are considered unsafe
1093       * &mut is now unaliasable
1094       * Writes to borrowed @mut pointers are prevented dynamically
1095       * () has size 0
1096       * The name of the main function can be customized using #[main]
1097       * The default type of an inferred closure is &fn instead of @fn
1098       * `use` statements may no longer be "chained" - they cannot import
1099         identifiers imported by previous `use` statements
1100       * `use` statements are crate relative, importing from the "top"
1101         of the crate by default. Paths may be prefixed with `super::`
1102         or `self::` to change the search behavior.
1103       * Method visibility is inherited from the implementation declaration
1104       * Structural records have been removed
1105       * Many more types can be used in static items, including enums
1106         'static-lifetime pointers and vectors
1107       * Pattern matching over vectors improved and expanded
1108       * Typechecking of closure types has been overhauled to
1109         improve inference and eliminate unsoundness
1110       * Macros leave scope at the end of modules, unless that module is
1111         tagged with #[macro_escape]
1112
1113    * Libraries
1114       * Added big integers to `std::bigint`
1115       * Removed `core::oldcomm` module
1116       * Added pipe-based `core::comm` module
1117       * Numeric traits have been reorganized under `core::num`
1118       * `vec::slice` finally returns a slice
1119       * `debug!` and friends don't require a format string, e.g. `debug!(Foo)`
1120       * Containers reorganized around traits in `core::container`
1121       * `core::dvec` removed, `~[T]` is a drop-in replacement
1122       * `core::send_map` renamed to `core::hashmap`
1123       * `std::map` removed; replaced with `core::hashmap`
1124       * `std::treemap` reimplemented as an owned balanced tree
1125       * `std::deque` and `std::smallintmap` reimplemented as owned containers
1126       * `core::trie` added as a fast ordered map for integer keys
1127       * Set types added to `core::hashmap`, `core::trie` and `std::treemap`
1128       * `Ord` split into `Ord` and `TotalOrd`. `Ord` is still used to
1129         overload the comparison operators, whereas `TotalOrd` is used
1130         by certain container types
1131
1132    * Other
1133       * Replaced the 'cargo' package manager with 'rustpkg'
1134       * Added all-purpose 'rust' tool
1135       * `rustc --test` now supports benchmarks with the `#[bench]` attribute
1136       * rustc now *attempts* to offer spelling suggestions
1137       * Improved support for ARM and Android
1138       * Preliminary MIPS backend
1139       * Improved foreign function ABI implementation for x86, x86_64
1140       * Various memory usage improvements
1141       * Rust code may be embedded in foreign code under limited circumstances
1142       * Inline assembler supported by new asm!() syntax extension.
1143
1144 Version 0.5 (December 2012)
1145 ---------------------------
1146
1147    * ~900 changes, numerous bugfixes
1148
1149    * Syntax changes
1150       * Removed `<-` move operator
1151       * Completed the transition from the `#fmt` extension syntax to `fmt!`
1152       * Removed old fixed length vector syntax - `[T]/N`
1153       * New token-based quasi-quoters, `quote_tokens!`, `quote_expr!`, etc.
1154       * Macros may now expand to items and statements
1155       * `a.b()` is always parsed as a method call, never as a field projection
1156       * `Eq` and `IterBytes` implementations can be automatically generated
1157         with `#[deriving_eq]` and `#[deriving_iter_bytes]` respectively
1158       * Removed the special crate language for `.rc` files
1159       * Function arguments may consist of any irrefutable pattern
1160
1161    * Semantic changes
1162       * `&` and `~` pointers may point to objects
1163       * Tuple structs - `struct Foo(Bar, Baz)`. Will replace newtype enums.
1164       * Enum variants may be structs
1165       * Destructors can be added to all nominal types with the Drop trait
1166       * Structs and nullary enum variants may be constants
1167       * Values that cannot be implicitly copied are now automatically moved
1168         without writing `move` explicitly
1169       * `&T` may now be coerced to `*T`
1170       * Coercions happen in `let` statements as well as function calls
1171       * `use` statements now take crate-relative paths
1172       * The module and type namespaces have been merged so that static
1173         method names can be resolved under the trait in which they are
1174         declared
1175
1176    * Improved support for language features
1177       * Trait inheritance works in many scenarios
1178       * More support for explicit self arguments in methods - `self`, `&self`
1179         `@self`, and `~self` all generally work as expected
1180       * Static methods work in more situations
1181       * Experimental: Traits may declare default methods for the implementations
1182         to use
1183
1184    * Libraries
1185       * New condition handling system in `core::condition`
1186       * Timsort added to `std::sort`
1187       * New priority queue, `std::priority_queue`
1188       * Pipes for serializable types, `std::flatpipes'
1189       * Serialization overhauled to be trait-based
1190       * Expanded `getopts` definitions
1191       * Moved futures to `std`
1192       * More functions are pure now
1193       * `core::comm` renamed to `oldcomm`. Still deprecated
1194       * `rustdoc` and `cargo` are libraries now
1195
1196    * Misc
1197       * Added a preliminary REPL, `rusti`
1198       * License changed from MIT to dual MIT/APL2
1199
1200 Version 0.4 (October 2012)
1201 --------------------------
1202
1203    * ~2000 changes, numerous bugfixes
1204
1205    * Syntax
1206       * All keywords are now strict and may not be used as identifiers anywhere
1207       * Keyword removal: 'again', 'import', 'check', 'new', 'owned', 'send',
1208         'of', 'with', 'to', 'class'.
1209       * Classes are replaced with simpler structs
1210       * Explicit method self types
1211       * `ret` became `return` and `alt` became `match`
1212       * `import` is now `use`; `use is now `extern mod`
1213       * `extern mod { ... }` is now `extern { ... }`
1214       * `use mod` is the recommended way to import modules
1215       * `pub` and `priv` replace deprecated export lists
1216       * The syntax of `match` pattern arms now uses fat arrow (=>)
1217       * `main` no longer accepts an args vector; use `os::args` instead
1218
1219    * Semantics
1220       * Trait implementations are now coherent, ala Haskell typeclasses
1221       * Trait methods may be static
1222       * Argument modes are deprecated
1223       * Borrowed pointers are much more mature and recommended for use
1224       * Strings and vectors in the static region are stored in constant memory
1225       * Typestate was removed
1226       * Resolution rewritten to be more reliable
1227       * Support for 'dual-mode' data structures (freezing and thawing)
1228
1229    * Libraries
1230       * Most binary operators can now be overloaded via the traits in
1231         `core::ops'
1232       * `std::net::url` for representing URLs
1233       * Sendable hash maps in `core::send_map`
1234       * `core::task' gained a (currently unsafe) task-local storage API
1235
1236    * Concurrency
1237       * An efficient new intertask communication primitive called the pipe,
1238         along with a number of higher-level channel types, in `core::pipes`
1239       * `std::arc`, an atomically reference counted, immutable, shared memory
1240         type
1241       * `std::sync`, various exotic synchronization tools based on arcs and pipes
1242       * Futures are now based on pipes and sendable
1243       * More robust linked task failure
1244       * Improved task builder API
1245
1246    * Other
1247       * Improved error reporting
1248       * Preliminary JIT support
1249       * Preliminary work on precise GC
1250       * Extensive architectural improvements to rustc
1251       * Begun a transition away from buggy C++-based reflection (shape) code to
1252         Rust-based (visitor) code
1253       * All hash functions and tables converted to secure, randomized SipHash
1254
1255 Version 0.3  (July 2012)
1256 ------------------------
1257
1258    * ~1900 changes, numerous bugfixes
1259
1260    * New coding conveniences
1261       * Integer-literal suffix inference
1262       * Per-item control over warnings, errors
1263       * #[cfg(windows)] and #[cfg(unix)] attributes
1264       * Documentation comments
1265       * More compact closure syntax
1266       * 'do' expressions for treating higher-order functions as
1267         control structures
1268       * *-patterns (wildcard extended to all constructor fields)
1269
1270    * Semantic cleanup
1271       * Name resolution pass and exhaustiveness checker rewritten
1272       * Region pointers and borrow checking supersede alias
1273         analysis
1274       * Init-ness checking is now provided by a region-based liveness
1275         pass instead of the typestate pass; same for last-use analysis
1276       * Extensive work on region pointers
1277
1278    * Experimental new language features
1279       * Slices and fixed-size, interior-allocated vectors
1280       * #!-comments for lang versioning, shell execution
1281       * Destructors and iface implementation for classes;
1282         type-parameterized classes and class methods
1283       * 'const' type kind for types that can be used to implement
1284         shared-memory concurrency patterns
1285
1286    * Type reflection
1287
1288    * Removal of various obsolete features
1289       * Keywords: 'be', 'prove', 'syntax', 'note', 'mutable', 'bind',
1290                  'crust', 'native' (now 'extern'), 'cont' (now 'again')
1291
1292       * Constructs: do-while loops ('do' repurposed), fn binding,
1293                     resources (replaced by destructors)
1294
1295    * Compiler reorganization
1296       * Syntax-layer of compiler split into separate crate
1297       * Clang (from LLVM project) integrated into build
1298       * Typechecker split into sub-modules
1299
1300    * New library code
1301       * New time functions
1302       * Extension methods for many built-in types
1303       * Arc: atomic-refcount read-only / exclusive-use shared cells
1304       * Par: parallel map and search routines
1305       * Extensive work on libuv interface
1306       * Much vector code moved to libraries
1307       * Syntax extensions: #line, #col, #file, #mod, #stringify,
1308         #include, #include_str, #include_bin
1309
1310    * Tool improvements
1311       * Cargo automatically resolves dependencies
1312
1313 Version 0.2  (March 2012)
1314 -------------------------
1315
1316    * >1500 changes, numerous bugfixes
1317
1318    * New docs and doc tooling
1319
1320    * New port: FreeBSD x86_64
1321
1322    * Compilation model enhancements
1323       * Generics now specialized, multiply instantiated
1324       * Functions now inlined across separate crates
1325
1326    * Scheduling, stack and threading fixes
1327       * Noticeably improved message-passing performance
1328       * Explicit schedulers
1329       * Callbacks from C
1330       * Helgrind clean
1331
1332    * Experimental new language features
1333       * Operator overloading
1334       * Region pointers
1335       * Classes
1336
1337    * Various language extensions
1338       * C-callback function types: 'crust fn ...'
1339       * Infinite-loop construct: 'loop { ... }'
1340       * Shorten 'mutable' to 'mut'
1341       * Required mutable-local qualifier: 'let mut ...'
1342       * Basic glob-exporting: 'export foo::*;'
1343       * Alt now exhaustive, 'alt check' for runtime-checked
1344       * Block-function form of 'for' loop, with 'break' and 'ret'.
1345
1346    * New library code
1347       * AST quasi-quote syntax extension
1348       * Revived libuv interface
1349       * New modules: core::{future, iter}, std::arena
1350       * Merged per-platform std::{os*, fs*} to core::{libc, os}
1351       * Extensive cleanup, regularization in libstd, libcore
1352
1353 Version 0.1  (January 20, 2012)
1354 -------------------------------
1355
1356    * Most language features work, including:
1357       * Unique pointers, unique closures, move semantics
1358       * Interface-constrained generics
1359       * Static interface dispatch
1360       * Stack growth
1361       * Multithread task scheduling
1362       * Typestate predicates
1363       * Failure unwinding, destructors
1364       * Pattern matching and destructuring assignment
1365       * Lightweight block-lambda syntax
1366       * Preliminary macro-by-example
1367
1368    * Compiler works with the following configurations:
1369       * Linux: x86 and x86_64 hosts and targets
1370       * MacOS: x86 and x86_64 hosts and targets
1371       * Windows: x86 hosts and targets
1372
1373    * Cross compilation / multi-target configuration supported.
1374
1375    * Preliminary API-documentation and package-management tools included.
1376
1377 Known issues:
1378
1379    * Documentation is incomplete.
1380
1381    * Performance is below intended target.
1382
1383    * Standard library APIs are subject to extensive change, reorganization.
1384
1385    * Language-level versioning is not yet operational - future code will
1386      break unexpectedly.