]> git.lizzy.rs Git - rust.git/blob - RELEASES.txt
auto merge of #11052 : jvns/rust/testing-tutorial, r=brson
[rust.git] / RELEASES.txt
1 Version 0.9 (January 2014)
2 --------------------------
3
4    * ~1600 changes, numerous bugfixes
5
6    * Language
7       * The `float` type has been removed. Use `f32` or `f64` instead.
8       * A new facility for enabling experimental features (feature gating) has
9         been added, using the crate-level `#[feature(foo)]` attribute.
10       * Managed boxes (@) are now behind a feature gate
11         (`#[feature(managed_boxes)]`) in preperation for future removal. Use the
12         standard library's `Gc` or `Rc` types instead.
13       * `@mut` has been removed. Use `std::cell::{Cell, RefCell}` instead.
14       * Jumping back to the top of a loop is now done with `continue` instead of
15         `loop`.
16       * Strings can no longer be mutated through index assignment.
17       * Raw strings can be created via the basic `r"foo"` syntax or with matched
18         hash delimiters, as in `r###"foo"###`.
19       * `~fn` is now written `proc (args) -> retval { ... }` and may only be
20         called once.
21       * The `&fn` type is now written `|args| -> ret` to match the literal form.
22       * `@fn`s have been removed.
23       * `do` only works with procs in order to make it obvious what the cost
24         of `do` is.
25       * The `#[link(...)]` attribute has been replaced with
26         `#[crate_id = "name#vers"]`.
27       * Empty `impl`s must be terminated with empty braces and may not be
28         terminated with a semicolon.
29       * Keywords are no longer allowed as lifetime names; the `self` lifetime
30         no longer has any special meaning.
31       * The old `fmt!` string formatting macro has been removed.
32       * `printf!` and `printfln!` (old-style formatting) removed in favor of
33         `print!` and `println!`.
34       * `mut` works in patterns now, as in `let (mut x, y) = (1, 2);`.
35       * New reserved keywords: `alignof`, `offsetof`, `sizeof`.
36       * Macros can have attributes.
37       * Macros can expand to items with attributes.
38       * Macros can expand to multiple items.
39       * The `asm!` macro is feature-gated (`#[feature(asm)]`).
40       * Comments may be nested.
41       * Values automatically coerce to trait objects they implement, without
42         an explicit `as`.
43       * Enum discriminants are no longer an entire word but as small as needed to
44         contain all the variants. The `repr` attribute can be used to override
45         the discriminant size, as in `#[repr(int)]` for integer-sized, and
46         `#[repr(C)]` to match C enums.
47       * Non-string literals are not allowed in attributes (they never worked).
48       * The FFI now supports variadic functions.
49       * Octal numeric literals, as in `0o7777`.
50       * The `concat!` syntax extension performs compile-time string concatenation.
51       * The `#[fixed_stack_segment]` and `#[rust_stack]` attributes have been
52         removed as Rust no longer uses segmented stacks.
53       * Non-ascii identifiers are feature-gated (`#[feature(non_ascii_idents)]`).
54       * Ignoring all fields of an enum variant or tuple-struct is done with `..`,
55         not `*`; ignoring remaining fields of a struct is also done with `..`,
56         not `_`; ignoring a slice of a vector is done with `..`, not `.._`.
57       * `rustc` supports the "win64" calling convention via `extern "win64"`.
58       * `rustc` supports the "system" calling convention, which defaults to the
59         preferred convention for the target platform, "stdcall" on 32-bit Windows,
60         "C" elsewhere.
61       * The `type_overflow` lint (default: warn) checks literals for overflow.
62       * The `unsafe_block` lint (default: allow) checks for usage of `unsafe`.
63       * The `attribute_usage` lint (default: warn) warns about unknown
64         attributes.
65       * The `unknown_features` lint (default: warn) warns about unknown
66         feature gates.
67       * The `dead_code` lint (default: warn) checks for dead code.
68       * Rust libraries can be linked statically to one another
69       * `#[link_args]` is behind the `link_args` feature gate.
70       * Native libraries are now linked with `#[link(name = "foo")]`
71       * Native libraries can be statically linked to a rust crate
72         (`#[link(name = "foo", kind = "static")]`).
73       * Native OS X frameworks are now officially supported
74         (`#[link(name = "foo", kind = "framework")]`).
75       * The `#[thread_local]` attribute creates thread-local (not task-local)
76         variables. Currently behind the `thread_local` feature gate.
77       * The `return` keyword may be used in closures.
78       * Types that can be copied via a memcpy implement the `Pod` kind.
79
80    * Libraries
81       * std: The `option` and `result` API's have been overhauled to make them
82         simpler, more consistent, and more composable.
83       * std: The entire `std::io` module has been replaced with one that is
84         more comprehensive and that properly interfaces with the underlying
85         scheduler. File, TCP, UDP, Unix sockets, pipes, and timers are all
86         implemented.
87       * std: `io::util` contains a number of useful implementations of
88         `Reader` and `Writer`, including `NullReader`, `NullWriter`,
89         `ZeroReader`, `TeeReader`.
90       * std: The reference counted pointer type `extra::rc` moved into std.
91       * std: The `Gc` type in the `gc` module will replace `@` (it is currently
92         just a wrapper around it).
93       * std: `fmt::Default` can be implemented for any type to provide default
94         formatting to the `format!` macro, as in `format!("{}", myfoo)`.
95       * std: The `rand` API continues to be tweaked.
96       * std: Functions dealing with type size and alignment have moved from the
97         `sys` module to the `mem` module.
98       * std: The `path` module was written and API changed.
99       * std: `str::from_utf8` has been changed to cast instead of allocate.
100       * std: `starts_with` and `ends_with` methods added to vectors via the
101         `ImmutableEqVector` trait, which is in the prelude.
102       * std: Vectors can be indexed with the `get_opt` method, which returns `None`
103         if the index is out of bounds.
104       * std: Task failure no longer propagates between tasks, as the model was
105         complex, expensive, and incompatible with thread-based tasks.
106       * std: The `Any` type can be used for dynamic typing.
107       * std: `~Any` can be passed to the `fail!` macro and retrieved via
108         `task::try`.
109       * std: Methods that produce iterators generally do not have an `_iter`
110         suffix now.
111       * std: `cell::Cell` and `cell::RefCell` can be used to introduce mutability
112         roots (mutable fields, etc.). Use instead of e.g. `@mut`.
113       * std: `util::ignore` renamed to `prelude::drop`.
114       * std: Slices have `sort` and `sort_by` methods via the `MutableVector`
115         trait.
116       * std: `vec::raw` has seen a lot of cleanup and API changes.
117       * std: The standard library no longer includes any C++ code, and very
118         minimal C, eliminating the dependency on libstdc++.
119       * std: Runtime scheduling and I/O functionality has been factored out into
120         extensible interfaces and is now implemented by two different crates:
121         libnative, for native threading and I/O; and libgreen, for green threading
122         and I/O. This paves the way for using the standard library in more limited
123         embeded environments.
124       * std: The `comm` module has been rewritten to be much faster, have a
125         simpler, more consistent API, and to work for both native and green
126         threading.
127       * std: All libuv dependencies have been moved into the rustuv crate.
128       * native: New implementations of runtime scheduling on top of OS threads.
129       * native: New native implementations of TCP, UDP, file I/O, process spawning,
130         and other I/O.
131       * green: The green thread scheduler and message passing types are almost
132         entirely lock-free.
133       * extra: The `flatpipes` module had bitrotted and was removed.
134       * extra: All crypto functions have been removed and Rust now has a policy of
135         not reimplementing crypto in the standard library. In the future crypto
136         will be provided by external crates with bindings to established libraries.
137       * extra: `c_vec` has been modernized.
138       * extra: The `sort` module has been removed. Use the `sort` method on
139         mutable slices.
140
141    * Tooling
142       * The `rust` and `rusti` commands have been removed, due to lack of
143         maintenance.
144       * `rustdoc` was completely rewritten.
145       * `rustdoc` can test code examples in documentation.
146       * `rustpkg` can test packages with the argument, 'test'.
147       * `rustpkg` supports arbitrary dependencies, including C libraries.
148       * `rustc`'s support for generating debug info is improved again.
149       * `rustc` has better error reporting for unbalanced delimiters.
150       * `rustc`'s JIT support was removed due to bitrot.
151       * Executables and static libraries can be built with LTO (-Z lto)
152       * `rustc` adds a `--dep-info` flag for communicating dependencies to
153         build tools.
154
155 Version 0.8 (September 2013)
156 --------------------------
157
158    * ~2200 changes, numerous bugfixes
159
160    * Language
161       * The `for` loop syntax has changed to work with the `Iterator` trait.
162       * At long last, unwinding works on Windows.
163       * Default methods are ready for use.
164       * Many trait inheritance bugs fixed.
165       * Owned and borrowed trait objects work more reliably.
166       * `copy` is no longer a keyword. It has been replaced by the `Clone` trait.
167       * rustc can omit emission of code for the `debug!` macro if it is passed
168         `--cfg ndebug`
169       * mod.rs is now "blessed". When loading `mod foo;`, rustc will now look
170         for foo.rs, then foo/mod.rs, and will generate an error when both are
171         present.
172       * Strings no longer contain trailing nulls. The new `std::c_str` module
173         provides new mechanisms for converting to C strings.
174       * The type of foreign functions is now `extern "C" fn` instead of `*u8'.
175       * The FFI has been overhauled such that foreign functions are called directly,
176         instead of through a stack-switching wrapper.
177       * Calling a foreign function must be done through a Rust function with the
178         `#[fixed_stack_segment]` attribute.
179       * The `externfn!` macro can be used to declare both a foreign function and
180         a `#[fixed_stack_segment]` wrapper at once.
181       * `pub` and `priv` modifiers on `extern` blocks are no longer parsed.
182       * `unsafe` is no longer allowed on extern fns - they are all unsafe.
183       * `priv` is disallowed everywhere except for struct fields and enum variants.
184       * `&T` (besides `&'static T`) is no longer allowed in `@T`.
185       * `ref` bindings in irrefutable patterns work correctly now.
186       * `char` is now prevented from containing invalid code points.
187       * Casting to `bool` is no longer allowed.
188       * `\0` is now accepted as an escape in chars and strings.
189       * `yield` is a reserved keyword.
190       * `typeof` is a reserved keyword.
191       * Crates may be imported by URL with `extern mod foo = "url";`.
192       * Explicit enum discriminants may be given as uints as in `enum E { V = 0u }`
193       * Static vectors can be initialized with repeating elements,
194         e.g. `static foo: [u8, .. 100]: [0, .. 100];`.
195       * Static structs can be initialized with functional record update,
196         e.g. `static foo: Foo = Foo { a: 5, .. bar };`.
197       * `cfg!` can be used to conditionally execute code based on the crate
198         configuration, similarly to `#[cfg(...)]`.
199       * The `unnecessary_qualification` lint detects unneeded module
200         prefixes (default: allow).
201       * Arithmetic operations have been implemented on the SIMD types in
202         `std::unstable::simd`.
203       * Exchange allocation headers were removed, reducing memory usage.
204       * `format!` implements a completely new, extensible, and higher-performance
205         string formatting system. It will replace `fmt!`.
206       * `print!` and `println!` write formatted strings (using the `format!`
207         extension) to stdout.
208       * `write!` and `writeln!` write formatted strings (using the `format!`
209         extension) to the new Writers in `std::rt::io`.
210       * The library section in which a function or static is placed may
211         be specified with `#[link_section = "..."]`.
212       * The `proto!` syntax extension for defining bounded message protocols
213         was removed.
214       * `macro_rules!` is hygienic for `let` declarations.
215       * The `#[export_name]` attribute specifies the name of a symbol.
216       * `unreachable!` can be used to indicate unreachable code, and fails
217         if executed.
218
219    * Libraries
220       * std: Transitioned to the new runtime, written in Rust.
221       * std: Added an experimental I/O library, `rt::io`, based on the new
222         runtime.
223       * std: A new generic `range` function was added to the prelude, replacing
224         `uint::range` and friends.
225       * std: `range_rev` no longer exists. Since range is an iterator it can be
226         reversed with `range(lo, hi).invert()`.
227       * std: The `chain` method on option renamed to `and_then`; `unwrap_or_default`
228         renamed to `unwrap_or`.
229       * std: The `iterator` module was renamed to `iter`.
230       * std: Integral types now support the `checked_add`, `checked_sub`, and
231         `checked_mul` operations for detecting overflow.
232       * std: Many methods in `str`, `vec`, `option, `result` were renamed for
233         consistency.
234       * std: Methods are standardizing on conventions for casting methods:
235         `to_foo` for copying, `into_foo` for moving, `as_foo` for temporary
236         and cheap casts.
237       * std: The `CString` type in `c_str` provides new ways to convert to and
238         from C strings.
239       * std: `DoubleEndedIterator` can yield elements in two directions.
240       * std: The `mut_split` method on vectors partitions an `&mut [T]` into
241         two splices.
242       * std: `str::from_bytes` renamed to `str::from_utf8`.
243       * std: `pop_opt` and `shift_opt` methods added to vectors.
244       * std: The task-local data interface no longer uses @, and keys are
245         no longer function pointers.
246       * std: The `swap_unwrap` method of `Option` renamed to `take_unwrap`.
247       * std: Added `SharedPort` to `comm`.
248       * std: `Eq` has a default method for `ne`; only `eq` is required
249         in implementations.
250       * std: `Ord` has default methods for `le`, `gt` and `ge`; only `lt`
251         is required in implementations.
252       * std: `is_utf8` performance is improved, impacting many string functions.
253       * std: `os::MemoryMap` provides cross-platform mmap.
254       * std: `ptr::offset` is now unsafe, but also more optimized. Offsets that
255         are not 'in-bounds' are considered undefined.
256       * std: Many freestanding functions in `vec` removed in favor of methods.
257       * std: Many freestanding functions on scalar types removed in favor of
258         methods.
259       * std: Many options to task builders were removed since they don't make
260         sense in the new scheduler design.
261       * std: More containers implement `FromIterator` so can be created by the
262         `collect` method.
263       * std: More complete atomic types in `unstable::atomics`.
264       * std: `comm::PortSet` removed.
265       * std: Mutating methods in the `Set` and `Map` traits have been moved into
266         the `MutableSet` and `MutableMap` traits. `Container::is_empty`,
267         `Map::contains_key`, `MutableMap::insert`, and `MutableMap::remove` have
268         default implementations.
269       * std: Various `from_str` functions were removed in favor of a generic
270         `from_str` which is available in the prelude.
271       * std: `util::unreachable` removed in favor of the `unreachable!` macro.
272       * extra: `dlist`, the doubly-linked list was modernized.
273       * extra: Added a `hex` module with `ToHex` and `FromHex` traits.
274       * extra: Added `glob` module, replacing `std::os::glob`.
275       * extra: `rope` was removed.
276       * extra: `deque` was renamed to `ringbuf`. `RingBuf` implements `Deque`.
277       * extra: `net`, and `timer` were removed. The experimental replacements
278         are `std::rt::io::net` and `std::rt::io::timer`.
279       * extra: Iterators implemented for `SmallIntMap`.
280       * extra: Iterators implemented for `Bitv` and `BitvSet`.
281       * extra: `SmallIntSet` removed. Use `BitvSet`.
282       * extra: Performance of JSON parsing greatly improved.
283       * extra: `semver` updated to SemVer 2.0.0.
284       * extra: `term` handles more terminals correctly.
285       * extra: `dbg` module removed.
286       * extra: `par` module removed.
287       * extra: `future` was cleaned up, with some method renames.
288       * extra: Most free functions in `getopts` were converted to methods.
289
290    * Other
291       * rustc's debug info generation (`-Z debug-info`) is greatly improved.
292       * rustc accepts `--target-cpu` to compile to a specific CPU architecture,
293         similarly to gcc's `--march` flag.
294       * rustc's performance compiling small crates is much better.
295       * rustpkg has received many improvements.
296       * rustpkg supports git tags as package IDs.
297       * rustpkg builds into target-specific directories so it can be used for
298         cross-compiling.
299       * The number of concurrent test tasks is controlled by the environment
300         variable RUST_TEST_TASKS.
301       * The test harness can now report metrics for benchmarks.
302       * All tools have man pages.
303       * Programs compiled with `--test` now support the `-h` and `--help` flags.
304       * The runtime uses jemalloc for allocations.
305       * Segmented stacks are temporarily disabled as part of the transition to
306         the new runtime. Stack overflows are possible!
307       * A new documentation backend, rustdoc_ng, is available for use. It is
308         still invoked through the normal `rustdoc` command.
309
310 Version 0.7 (July 2013)
311 -----------------------
312
313    * ~2000 changes, numerous bugfixes
314
315    * Language
316       * `impl`s no longer accept a visibility qualifier. Put them on methods
317         instead.
318       * The borrow checker has been rewritten with flow-sensitivity, fixing
319         many bugs and inconveniences.
320       * The `self` parameter no longer implicitly means `&'self self`,
321         and can be explicitly marked with a lifetime.
322       * Overloadable compound operators (`+=`, etc.) have been temporarily
323         removed due to bugs.
324       * The `for` loop protocol now requires `for`-iterators to return `bool`
325         so they compose better.
326       * The `Durable` trait is replaced with the `'static` bounds.
327       * Trait default methods work more often.
328       * Structs with the `#[packed]` attribute have byte alignment and
329         no padding between fields.
330       * Type parameters bound by `Copy` must now be copied explicitly with
331         the `copy` keyword.
332       * It is now illegal to move out of a dereferenced unsafe pointer.
333       * `Option<~T>` is now represented as a nullable pointer.
334       * `@mut` does dynamic borrow checks correctly.
335       * The `main` function is only detected at the topmost level of the crate.
336         The `#[main]` attribute is still valid anywhere.
337       * Struct fields may no longer be mutable. Use inherited mutability.
338       * The `#[no_send]` attribute makes a type that would otherwise be
339         `Send`, not.
340       * The `#[no_freeze]` attribute makes a type that would otherwise be
341         `Freeze`, not.
342       * Unbounded recursion will abort the process after reaching the limit
343         specified by the `RUST_MAX_STACK` environment variable (default: 1GB).
344       * The `vecs_implicitly_copyable` lint mode has been removed. Vectors
345         are never implicitly copyable.
346       * `#[static_assert]` makes compile-time assertions about static bools.
347       * At long last, 'argument modes' no longer exist.
348       * The rarely used `use mod` statement no longer exists.
349
350    * Syntax extensions
351       * `fail!` and `assert!` accept `~str`, `&'static str` or `fmt!`-style
352         argument list.
353       * `Encodable`, `Decodable`, `Ord`, `TotalOrd`, `TotalEq`, `DeepClone`,
354         `Rand`, `Zero` and `ToStr` can all be automatically derived with
355         `#[deriving(...)]`.
356       * The `bytes!` macro returns a vector of bytes for string, u8, char,
357         and unsuffixed integer literals.
358
359    * Libraries
360       * The `core` crate was renamed to `std`.
361       * The `std` crate was renamed to `extra`.
362       * More and improved documentation.
363       * std: `iterator` module for external iterator objects.
364       * Many old-style (internal, higher-order function) iterators replaced by
365         implementations of `Iterator`.
366       * std: Many old internal vector and string iterators,
367         incl. `any`, `all`. removed.
368       * std: The `finalize` method of `Drop` renamed to `drop`.
369       * std: The `drop` method now takes `&mut self` instead of `&self`.
370       * std: The prelude no longer reexports any modules, only types and traits.
371       * std: Prelude additions: `print`, `println`, `FromStr`, `ApproxEq`, `Equiv`,
372         `Iterator`, `IteratorUtil`, many numeric traits, many tuple traits.
373       * std: New numeric traits: `Fractional`, `Real`, `RealExt`, `Integer`, `Ratio`,
374         `Algebraic`, `Trigonometric`, `Exponential`, `Primitive`.
375       * std: Tuple traits and accessors defined for up to 12-tuples, e.g.
376         `(0, 1, 2).n2()` or `(0, 1, 2).n2_ref()`.
377       * std: Many types implement `Clone`.
378       * std: `path` type renamed to `Path`.
379       * std: `mut` module and `Mut` type removed.
380       * std: Many standalone functions removed in favor of methods and iterators
381         in `vec`, `str`. In the future methods will also work as functions.
382       * std: `reinterpret_cast` removed. Use `transmute`.
383       * std: ascii string handling in `std::ascii`.
384       * std: `Rand` is implemented for ~/@.
385       * std: `run` module for spawning processes overhauled.
386       * std: Various atomic types added to `unstable::atomic`.
387       * std: Various types implement `Zero`.
388       * std: `LinearMap` and `LinearSet` renamed to `HashMap` and `HashSet`.
389       * std: Borrowed pointer functions moved from `ptr` to `borrow`.
390       * std: Added `os::mkdir_recursive`.
391       * std: Added `os::glob` function performs filesystems globs.
392       * std: `FuzzyEq` renamed to `ApproxEq`.
393       * std: `Map` now defines `pop` and `swap` methods.
394       * std: `Cell` constructors converted to static methods.
395       * extra: `rc` module adds the reference counted pointers, `Rc` and `RcMut`.
396       * extra: `flate` module moved from `std` to `extra`.
397       * extra: `fileinput` module for iterating over a series of files.
398       * extra: `Complex` number type and `complex` module.
399       * extra: `Rational` number type and `rational` module.
400       * extra: `BigInt`, `BigUint` implement numeric and comparison traits.
401       * extra: `term` uses terminfo now, is more correct.
402       * extra: `arc` functions converted to methods.
403       * extra: Implementation of fixed output size variations of SHA-2.
404
405    * Tooling
406       * `unused_variable`  lint mode for unused variables (default: warn).
407       * `unused_unsafe` lint mode for detecting unnecessary `unsafe` blocks
408         (default: warn).
409       * `unused_mut` lint mode for identifying unused `mut` qualifiers
410         (default: warn).
411       * `dead_assignment` lint mode for unread variables (default: warn).
412       * `unnecessary_allocation` lint mode detects some heap allocations that are
413         immediately borrowed so could be written without allocating (default: warn).
414       * `missing_doc` lint mode (default: allow).
415       * `unreachable_code` lint mode (default: warn).
416       * The `rusti` command has been rewritten and a number of bugs addressed.
417       * rustc outputs in color on more terminals.
418       * rustc accepts a `--link-args` flag to pass arguments to the linker.
419       * rustc accepts a `-Z print-link-args` flag for debugging linkage.
420       * Compiling with `-g` will make the binary record information about
421         dynamic borrowcheck failures for debugging.
422       * rustdoc has a nicer stylesheet.
423       * Various improvements to rustdoc.
424       * Improvements to rustpkg (see the detailed release notes).
425
426 Version 0.6 (April 2013)
427 ------------------------
428
429    * ~2100 changes, numerous bugfixes
430
431    * Syntax changes
432       * The self type parameter in traits is now spelled `Self`
433       * The `self` parameter in trait and impl methods must now be explicitly
434         named (for example: `fn f(&self) { }`). Implicit self is deprecated.
435       * Static methods no longer require the `static` keyword and instead
436         are distinguished by the lack of a `self` parameter
437       * Replaced the `Durable` trait with the `'static` lifetime
438       * The old closure type syntax with the trailing sigil has been
439         removed in favor of the more consistent leading sigil
440       * `super` is a keyword, and may be prefixed to paths
441       * Trait bounds are separated with `+` instead of whitespace
442       * Traits are implemented with `impl Trait for Type`
443         instead of `impl Type: Trait`
444       * Lifetime syntax is now `&'l foo` instead of `&l/foo`
445       * The `export` keyword has finally been removed
446       * The `move` keyword has been removed (see "Semantic changes")
447       * The interior mutability qualifier on vectors, `[mut T]`, has been
448         removed. Use `&mut [T]`, etc.
449       * `mut` is no longer valid in `~mut T`. Use inherited mutability
450       * `fail` is no longer a keyword. Use `fail!()`
451       * `assert` is no longer a keyword. Use `assert!()`
452       * `log` is no longer a keyword. use `debug!`, etc.
453       * 1-tuples may be represented as `(T,)`
454       * Struct fields may no longer be `mut`. Use inherited mutability,
455         `@mut T`, `core::mut` or `core::cell`
456       * `extern mod { ... }` is no longer valid syntax for foreign
457         function modules. Use extern blocks: `extern { ... }`
458       * Newtype enums removed. Use tuple-structs.
459       * Trait implementations no longer support visibility modifiers
460       * Pattern matching over vectors improved and expanded
461       * `const` renamed to `static` to correspond to lifetime name,
462         and make room for future `static mut` unsafe mutable globals.
463       * Replaced `#[deriving_eq]` with `#[deriving(Eq)]`, etc.
464       * `Clone` implementations can be automatically generated with
465         `#[deriving(Clone)]`
466       * Casts to traits must use a pointer sigil, e.g. `@foo as @Bar`
467         instead of `foo as Bar`.
468       * Fixed length vector types are now written as `[int, .. 3]`
469         instead of `[int * 3]`.
470       * Fixed length vector types can express the length as a constant
471         expression. (ex: `[int, .. GL_BUFFER_SIZE - 2]`)
472
473    * Semantic changes
474       * Types with owned pointers or custom destructors move by default,
475         eliminating the `move` keyword
476       * All foreign functions are considered unsafe
477       * &mut is now unaliasable
478       * Writes to borrowed @mut pointers are prevented dynamically
479       * () has size 0
480       * The name of the main function can be customized using #[main]
481       * The default type of an inferred closure is &fn instead of @fn
482       * `use` statements may no longer be "chained" - they cannot import
483         identifiers imported by previous `use` statements
484       * `use` statements are crate relative, importing from the "top"
485         of the crate by default. Paths may be prefixed with `super::`
486         or `self::` to change the search behavior.
487       * Method visibility is inherited from the implementation declaration
488       * Structural records have been removed
489       * Many more types can be used in static items, including enums
490         'static-lifetime pointers and vectors
491       * Pattern matching over vectors improved and expanded
492       * Typechecking of closure types has been overhauled to
493         improve inference and eliminate unsoundness
494       * Macros leave scope at the end of modules, unless that module is
495         tagged with #[macro_escape]
496
497    * Libraries
498       * Added big integers to `std::bigint`
499       * Removed `core::oldcomm` module
500       * Added pipe-based `core::comm` module
501       * Numeric traits have been reorganized under `core::num`
502       * `vec::slice` finally returns a slice
503       * `debug!` and friends don't require a format string, e.g. `debug!(Foo)`
504       * Containers reorganized around traits in `core::container`
505       * `core::dvec` removed, `~[T]` is a drop-in replacement
506       * `core::send_map` renamed to `core::hashmap`
507       * `std::map` removed; replaced with `core::hashmap`
508       * `std::treemap` reimplemented as an owned balanced tree
509       * `std::deque` and `std::smallintmap` reimplemented as owned containers
510       * `core::trie` added as a fast ordered map for integer keys
511       * Set types added to `core::hashmap`, `core::trie` and `std::treemap`
512       * `Ord` split into `Ord` and `TotalOrd`. `Ord` is still used to
513         overload the comparison operators, whereas `TotalOrd` is used
514         by certain container types
515
516    * Other
517       * Replaced the 'cargo' package manager with 'rustpkg'
518       * Added all-purpose 'rust' tool
519       * `rustc --test` now supports benchmarks with the `#[bench]` attribute
520       * rustc now *attempts* to offer spelling suggestions
521       * Improved support for ARM and Android
522       * Preliminary MIPS backend
523       * Improved foreign function ABI implementation for x86, x86_64
524       * Various memory usage improvements
525       * Rust code may be embedded in foreign code under limited circumstances
526       * Inline assembler supported by new asm!() syntax extension.
527
528 Version 0.5 (December 2012)
529 ---------------------------
530
531    * ~900 changes, numerous bugfixes
532
533    * Syntax changes
534       * Removed `<-` move operator
535       * Completed the transition from the `#fmt` extension syntax to `fmt!`
536       * Removed old fixed length vector syntax - `[T]/N`
537       * New token-based quasi-quoters, `quote_tokens!`, `quote_expr!`, etc.
538       * Macros may now expand to items and statements
539       * `a.b()` is always parsed as a method call, never as a field projection
540       * `Eq` and `IterBytes` implementations can be automatically generated
541         with `#[deriving_eq]` and `#[deriving_iter_bytes]` respectively
542       * Removed the special crate language for `.rc` files
543       * Function arguments may consist of any irrefutable pattern
544
545    * Semantic changes
546       * `&` and `~` pointers may point to objects
547       * Tuple structs - `struct Foo(Bar, Baz)`. Will replace newtype enums.
548       * Enum variants may be structs
549       * Destructors can be added to all nominal types with the Drop trait
550       * Structs and nullary enum variants may be constants
551       * Values that cannot be implicitly copied are now automatically moved
552         without writing `move` explicitly
553       * `&T` may now be coerced to `*T`
554       * Coercions happen in `let` statements as well as function calls
555       * `use` statements now take crate-relative paths
556       * The module and type namespaces have been merged so that static
557         method names can be resolved under the trait in which they are
558         declared
559
560    * Improved support for language features
561       * Trait inheritance works in many scenarios
562       * More support for explicit self arguments in methods - `self`, `&self`
563         `@self`, and `~self` all generally work as expected
564       * Static methods work in more situations
565       * Experimental: Traits may declare default methods for the implementations
566         to use
567
568    * Libraries
569       * New condition handling system in `core::condition`
570       * Timsort added to `std::sort`
571       * New priority queue, `std::priority_queue`
572       * Pipes for serializable types, `std::flatpipes'
573       * Serialization overhauled to be trait-based
574       * Expanded `getopts` definitions
575       * Moved futures to `std`
576       * More functions are pure now
577       * `core::comm` renamed to `oldcomm`. Still deprecated
578       * `rustdoc` and `cargo` are libraries now
579
580    * Misc
581       * Added a preliminary REPL, `rusti`
582       * License changed from MIT to dual MIT/APL2
583
584 Version 0.4 (October 2012)
585 --------------------------
586
587    * ~2000 changes, numerous bugfixes
588
589    * Syntax
590       * All keywords are now strict and may not be used as identifiers anywhere
591       * Keyword removal: 'again', 'import', 'check', 'new', 'owned', 'send',
592         'of', 'with', 'to', 'class'.
593       * Classes are replaced with simpler structs
594       * Explicit method self types
595       * `ret` became `return` and `alt` became `match`
596       * `import` is now `use`; `use is now `extern mod`
597       * `extern mod { ... }` is now `extern { ... }`
598       * `use mod` is the recommended way to import modules
599       * `pub` and `priv` replace deprecated export lists
600       * The syntax of `match` pattern arms now uses fat arrow (=>)
601       * `main` no longer accepts an args vector; use `os::args` instead
602
603    * Semantics
604       * Trait implementations are now coherent, ala Haskell typeclasses
605       * Trait methods may be static
606       * Argument modes are deprecated
607       * Borrowed pointers are much more mature and recommended for use
608       * Strings and vectors in the static region are stored in constant memory
609       * Typestate was removed
610       * Resolution rewritten to be more reliable
611       * Support for 'dual-mode' data structures (freezing and thawing)
612
613    * Libraries
614       * Most binary operators can now be overloaded via the traits in
615         `core::ops'
616       * `std::net::url` for representing URLs
617       * Sendable hash maps in `core::send_map`
618       * `core::task' gained a (currently unsafe) task-local storage API
619
620    * Concurrency
621       * An efficient new intertask communication primitive called the pipe,
622         along with a number of higher-level channel types, in `core::pipes`
623       * `std::arc`, an atomically reference counted, immutable, shared memory
624         type
625       * `std::sync`, various exotic synchronization tools based on arcs and pipes
626       * Futures are now based on pipes and sendable
627       * More robust linked task failure
628       * Improved task builder API
629
630    * Other
631       * Improved error reporting
632       * Preliminary JIT support
633       * Preliminary work on precise GC
634       * Extensive architectural improvements to rustc
635       * Begun a transition away from buggy C++-based reflection (shape) code to
636         Rust-based (visitor) code
637       * All hash functions and tables converted to secure, randomized SipHash
638
639 Version 0.3  (July 2012)
640 ------------------------
641
642    * ~1900 changes, numerous bugfixes
643
644    * New coding conveniences
645       * Integer-literal suffix inference
646       * Per-item control over warnings, errors
647       * #[cfg(windows)] and #[cfg(unix)] attributes
648       * Documentation comments
649       * More compact closure syntax
650       * 'do' expressions for treating higher-order functions as
651         control structures
652       * *-patterns (wildcard extended to all constructor fields)
653
654    * Semantic cleanup
655       * Name resolution pass and exhaustiveness checker rewritten
656       * Region pointers and borrow checking supersede alias
657         analysis
658       * Init-ness checking is now provided by a region-based liveness
659         pass instead of the typestate pass; same for last-use analysis
660       * Extensive work on region pointers
661
662    * Experimental new language features
663       * Slices and fixed-size, interior-allocated vectors
664       * #!-comments for lang versioning, shell execution
665       * Destructors and iface implementation for classes;
666         type-parameterized classes and class methods
667       * 'const' type kind for types that can be used to implement
668         shared-memory concurrency patterns
669
670    * Type reflection
671
672    * Removal of various obsolete features
673       * Keywords: 'be', 'prove', 'syntax', 'note', 'mutable', 'bind',
674                  'crust', 'native' (now 'extern'), 'cont' (now 'again')
675
676       * Constructs: do-while loops ('do' repurposed), fn binding,
677                     resources (replaced by destructors)
678
679    * Compiler reorganization
680       * Syntax-layer of compiler split into separate crate
681       * Clang (from LLVM project) integrated into build
682       * Typechecker split into sub-modules
683
684    * New library code
685       * New time functions
686       * Extension methods for many built-in types
687       * Arc: atomic-refcount read-only / exclusive-use shared cells
688       * Par: parallel map and search routines
689       * Extensive work on libuv interface
690       * Much vector code moved to libraries
691       * Syntax extensions: #line, #col, #file, #mod, #stringify,
692         #include, #include_str, #include_bin
693
694    * Tool improvements
695       * Cargo automatically resolves dependencies
696
697 Version 0.2  (March 2012)
698 -------------------------
699
700    * >1500 changes, numerous bugfixes
701
702    * New docs and doc tooling
703
704    * New port: FreeBSD x86_64
705
706    * Compilation model enhancements
707       * Generics now specialized, multiply instantiated
708       * Functions now inlined across separate crates
709
710    * Scheduling, stack and threading fixes
711       * Noticeably improved message-passing performance
712       * Explicit schedulers
713       * Callbacks from C
714       * Helgrind clean
715
716    * Experimental new language features
717       * Operator overloading
718       * Region pointers
719       * Classes
720
721    * Various language extensions
722       * C-callback function types: 'crust fn ...'
723       * Infinite-loop construct: 'loop { ... }'
724       * Shorten 'mutable' to 'mut'
725       * Required mutable-local qualifier: 'let mut ...'
726       * Basic glob-exporting: 'export foo::*;'
727       * Alt now exhaustive, 'alt check' for runtime-checked
728       * Block-function form of 'for' loop, with 'break' and 'ret'.
729
730    * New library code
731       * AST quasi-quote syntax extension
732       * Revived libuv interface
733       * New modules: core::{future, iter}, std::arena
734       * Merged per-platform std::{os*, fs*} to core::{libc, os}
735       * Extensive cleanup, regularization in libstd, libcore
736
737 Version 0.1  (January 2012)
738 ---------------------------
739
740    * Most language features work, including:
741       * Unique pointers, unique closures, move semantics
742       * Interface-constrained generics
743       * Static interface dispatch
744       * Stack growth
745       * Multithread task scheduling
746       * Typestate predicates
747       * Failure unwinding, destructors
748       * Pattern matching and destructuring assignment
749       * Lightweight block-lambda syntax
750       * Preliminary macro-by-example
751
752    * Compiler works with the following configurations:
753       * Linux: x86 and x86_64 hosts and targets
754       * MacOS: x86 and x86_64 hosts and targets
755       * Windows: x86 hosts and targets
756
757    * Cross compilation / multi-target configuration supported.
758
759    * Preliminary API-documentation and package-management tools included.
760
761 Known issues:
762
763    * Documentation is incomplete.
764
765    * Performance is below intended target.
766
767    * Standard library APIs are subject to extensive change, reorganization.
768
769    * Language-level versioning is not yet operational - future code will
770      break unexpectedly.