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