Skip to content

Commit a4cc34f

Browse files
committed
auto merge of #7165 : brson/rust/releasenotes, r=thestinger
2 parents 81506a6 + a6bc5dd commit a4cc34f

File tree

1 file changed

+62
-8
lines changed

1 file changed

+62
-8
lines changed

RELEASES.txt

+62-8
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,90 @@ Version 0.7 (July 2013)
44
* ??? changes, numerous bugfixes
55

66
* Syntax changes
7-
* `#[deriving(Encodable)]`, `#[deriving(Decodable)]`
7+
* `use mod` is no longer valid.
8+
* `fail!` and `assert!` accept `~str`, `&'static str` or `fmt!`-style
9+
argument list.
10+
* `Encodable`, `Decodable`, `TotalOrd`, `TotalEq`, `DeepClone` can all
11+
be automatically derived with `#[deriving(...)]`.
12+
* The `Durable` trait is replaced with the `'static` bounds.
13+
* At long last, 'argument modes' no longer exist.
14+
* The `bytes!` macro returns a vector of bytes for string, u8, char,
15+
and unsuffixed integer literals.
816

917
* Semantic changes
18+
* The borrow checker has been rewritten with flow-sensitivity, fixing
19+
many bugs and inconveniences.
1020
* The `self` parameter no longer implicitly means `&'self self`,
1121
and can be explicitly marked with a lifetime.
1222
* Structs with the `#[packed]` attribute have byte alignment and
1323
no padding between fields.
24+
* The `for` loop protocol now requires `for`-iterators to return `bool`
25+
so they compose better.
26+
* `Option<~T>` is now represented as a nullable pointer.
27+
* `@mut` does dynamic borrow checks correctly.
28+
* Macros TODO
29+
* The `main` function is only detected at the topmost level of the crate.
30+
The `#[main]` attribute is still valid anywhere.
31+
* Struct fields may no longer be mutable. Use inherited mutability.
32+
* The `#[non_owned]` attribute makes a type that would otherwise be
33+
`Owned`, not. TODO this may change to non_send before 0.7
34+
* The `#[mutable]` attribute makes a type that would otherwise be
35+
`Const`, note. TODO this may change to non_freeze before 0.7
36+
* Unbounded recursion will abort the process after reaching the limit
37+
specified by the `RUST_MAX_STACK` environment variable.
38+
* The `vecs_implicitly_copyable` lint mode has been removed. Vectors
39+
are never implicitly copyable.
1440

1541
* Libraries
16-
17-
**Note: in 0.7 `core` was renamed `std` and `std` to `extra.
18-
These notes use the new crate names.**
19-
2042
* The `core` crate was renamed to `std`.
2143
* The `std` crate was renamed to `extra`.
2244
* `std::mut` removed.
45+
* std: The prelude no longer reexports any modules, only types and traits.
46+
* std: Prelude additions: `print`, `println`, `FromStr`, `ApproxEq`, `Equiv`,
47+
`Iterator`, `IteratorUtil`, many numeric traits, many tuple traits.
2348
* std: `iterator` module for external iterator objects.
49+
* std: new numeric traits: `Fractional`, `Real`, `RealExt`, `Integer`, `Ratio`,
50+
`Algebraic`, `Trigonometric`, `Exponential`, `Primitive`.
51+
* std: Tuple traits and accessors defined for up to 12-tuples, e.g.
52+
`(0, 1, 2).n2()` or `(0, 1, 2).n2_ref()`.
2453
* std: many types implement `Clone` - tuples, @, @mut. TODO
2554
* std: `path` type renamed to `Path`.
2655
* std: Many standalone functions removed in favor of methods in
27-
`vec`, `str`, TODO. In the future methods will also work as functions.
56+
`vec`, `str`. In the future methods will also work as functions.
57+
* std: `reinterpret_cast` removed. Used `transmute`.
58+
* std: ascii string handling in `std::ascii`.
59+
* std: `Rand` is implemented for ~/@.
60+
* std: `run` module for spawning processes overhauled.
61+
* std: Various atomic types added to `unstable::atomic`.
62+
* std: `LinearMap` and `LinearSet` renamed to `HashMap` and `HashSet`.
63+
* std: Added `os::mkdir_recursive`.
64+
* std: Added `os::glob` function performs filesystems globs.
65+
* std: `FuzzyEq` renamed to `ApproxEq`.
66+
* std: `Map` now defines `pop` and `swap` methods.
67+
* extra: `flate` module moved from `std` to `extra`.
2868
* extra: `FileInput` implements `std::io::Reader`.
2969
* extra: `Complex` number type and `complex` module.
3070
* extra: `Rational` number type and `rational` module.
3171
* extra: `BigInt`, `BigUint` implement numeric and comparison traits.
72+
* extra: `term` uses terminfo now, is more correct.
3273

33-
* Other
74+
* Tooling
3475
* `unused_unsafe` lint mode for detecting unnecessary `unsafe` blocks.
35-
* More and improved library documentation.
76+
* `unused_mut` lint mode for identifying unused `mut` qualifiers.
3677
* The `rusti` command has been rewritten and a number of bugs addressed.
78+
* rustc outputs in color on more terminals.
79+
* rustc accepts a `--link-args` flag to pass arguments to the linker.
80+
* rustc accepts a `-Z print-link-args` flag for debugging linkage.
81+
* Compiling with `-g` will make the binary record information about
82+
dynamic borrowcheck failures for debugging.
83+
* rustdoc has a nicer stylesheet.
84+
* Various improvements to rustdoc.
85+
86+
* Other
87+
* More and improved library documentation.
88+
* Various improvements on ARM and Android.
89+
* Various improvements to MIPS backend.
90+
* jemalloc is the Rust allocator.
3791

3892
Version 0.6 (April 2013)
3993
------------------------

0 commit comments

Comments
 (0)