mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
More 0.7 release notes
This commit is contained in:
parent
f348465283
commit
7d61b0083a
11
RELEASES.txt
11
RELEASES.txt
@ -13,6 +13,7 @@ Version 0.7 (July 2013)
|
||||
* At long last, 'argument modes' no longer exist.
|
||||
* The `bytes!` macro returns a vector of bytes for string, u8, char,
|
||||
and unsuffixed integer literals.
|
||||
* `#[static_assert]` makes compile-time assertions about static bools.
|
||||
|
||||
* Semantic changes
|
||||
* The borrow checker has been rewritten with flow-sensitivity, fixing
|
||||
@ -34,7 +35,7 @@ Version 0.7 (July 2013)
|
||||
* The `#[mutable]` attribute makes a type that would otherwise be
|
||||
`Const`, note. TODO this may change to non_freeze before 0.7
|
||||
* Unbounded recursion will abort the process after reaching the limit
|
||||
specified by the `RUST_MAX_STACK` environment variable.
|
||||
specified by the `RUST_MAX_STACK` environment variable (default: 1GB).
|
||||
* The `vecs_implicitly_copyable` lint mode has been removed. Vectors
|
||||
are never implicitly copyable.
|
||||
|
||||
@ -46,11 +47,13 @@ Version 0.7 (July 2013)
|
||||
* std: Prelude additions: `print`, `println`, `FromStr`, `ApproxEq`, `Equiv`,
|
||||
`Iterator`, `IteratorUtil`, many numeric traits, many tuple traits.
|
||||
* std: `iterator` module for external iterator objects.
|
||||
* std: Many old internal vector and string iterators,
|
||||
incl. `any`, `all`. removed.
|
||||
* std: new numeric traits: `Fractional`, `Real`, `RealExt`, `Integer`, `Ratio`,
|
||||
`Algebraic`, `Trigonometric`, `Exponential`, `Primitive`.
|
||||
* std: Tuple traits and accessors defined for up to 12-tuples, e.g.
|
||||
`(0, 1, 2).n2()` or `(0, 1, 2).n2_ref()`.
|
||||
* std: many types implement `Clone` - tuples, @, @mut. TODO
|
||||
* std: many types implement `Clone`.
|
||||
* std: `path` type renamed to `Path`.
|
||||
* std: Many standalone functions removed in favor of methods in
|
||||
`vec`, `str`. In the future methods will also work as functions.
|
||||
@ -60,16 +63,20 @@ Version 0.7 (July 2013)
|
||||
* std: `run` module for spawning processes overhauled.
|
||||
* std: Various atomic types added to `unstable::atomic`.
|
||||
* std: `LinearMap` and `LinearSet` renamed to `HashMap` and `HashSet`.
|
||||
* std: Borrowed pointer functions moved from `ptr` to `borrow`.
|
||||
* std: Added `os::mkdir_recursive`.
|
||||
* std: Added `os::glob` function performs filesystems globs.
|
||||
* std: `FuzzyEq` renamed to `ApproxEq`.
|
||||
* std: `Map` now defines `pop` and `swap` methods.
|
||||
* std: `Cell` constructors converted to static methods.
|
||||
* extra: `rc` module adds the reference counted pointers, `Rc` and `RcMut`.
|
||||
* extra: `flate` module moved from `std` to `extra`.
|
||||
* extra: `FileInput` implements `std::io::Reader`.
|
||||
* extra: `Complex` number type and `complex` module.
|
||||
* extra: `Rational` number type and `rational` module.
|
||||
* extra: `BigInt`, `BigUint` implement numeric and comparison traits.
|
||||
* extra: `term` uses terminfo now, is more correct.
|
||||
* extra: `arc` functions converted to methods.
|
||||
|
||||
* Tooling
|
||||
* `unused_unsafe` lint mode for detecting unnecessary `unsafe` blocks.
|
||||
|
Loading…
Reference in New Issue
Block a user