Skip to content

More 0.7 release notes #7209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions RELEASES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

Expand All @@ -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.
Expand All @@ -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.
Expand Down