Skip to content
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

1.4 release notes #29416

Merged
merged 3 commits into from
Nov 5, 2015
Merged

1.4 release notes #29416

merged 3 commits into from
Nov 5, 2015

Conversation

brson
Copy link
Contributor

@brson brson commented Oct 27, 2015

Rendered

More highlights would be good. I intend to go through and hyperlink all the APIs still.

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

Libraries
---------

* [Many APIs were stabilized][stab]: `<Box<str>>::into_string`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess this is so long, a sub-list would just make the post really long...

@brson
Copy link
Contributor Author

brson commented Oct 28, 2015

I'm porting this to 1.4 as is.

@alexcrichton
Copy link
Member

r=me when this is ready

@bluss
Copy link
Member

bluss commented Oct 28, 2015

Could mention that the RFC 1214 changes had a borrowck improvement (stricter) to enable safe and sound scoped threads (rfc link); crossbeam and scoped threadpool depend on this.

* [`extern fn`s of with the "Rust" and "C" ABIs implement common
traits including `Eq`, `Ord`, `Debug`, `Hash`][fp].
* [String comparison is faster][faststr].
* `&mut T` where `T: Write` [also implements `Write`][mutw].
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could say std::fmt::Write to disambiguate here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I didn't realize. I'll clarify.

@hanna-kruppe
Copy link
Contributor

Might want to mention #27307 (float parsing rewrite). Something like:

str::parse no longer introduces avoidable rounding error when parsing floating point numbers. Together with earlier changes to float formatting/output, "round trips" like f.to_string().parse() now preserve the value of f exactly. Additionally, leading plus signs are now accepted.

The leading plus thing is only mentioned because it might be a breaking change (although minor) for some users, if the analogous change for integer parsing (currently in nightly) is any indication.

* [`BinaryHeap` implements `Debug`][bh2].
* [`Borrow` and `BorrowMut` are implemented for fixed-size
arrays][bm].
* [`extern fn`s of with the "Rust" and "C" ABIs implement common
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"of with" doesn't make sense

@brson
Copy link
Contributor Author

brson commented Oct 29, 2015

r=acrichto

@brson
Copy link
Contributor Author

brson commented Oct 29, 2015

Thanks for the reviews @bluss @wesleywiser @rkruppe. Updated.

prelude][pr].
* [`Extend<String>` and `FromIterator<String` are both implemented for
`String`][es].
* [`IntoIterator` is implemented for references into `Option` and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be references to to be precise. An example is &Option<T>.

@kud1ing
Copy link

kud1ing commented Oct 30, 2015

Could you please also put in the date 2015-10-29?

@brson
Copy link
Contributor Author

brson commented Nov 5, 2015

@bors r=alexcrichton

@bors
Copy link
Contributor

bors commented Nov 5, 2015

📌 Commit 018c468 has been approved by alexcrichton

@brson
Copy link
Contributor Author

brson commented Nov 5, 2015

@bors r=alexcrichton

@bors
Copy link
Contributor

bors commented Nov 5, 2015

📌 Commit 6b1de25 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Nov 5, 2015

⌛ Testing commit 6b1de25 with merge 7e4bd74...

@alexcrichton
Copy link
Member

@bors: force

@alexcrichton
Copy link
Member

@bors: retry force rollup

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Nov 5, 2015
[Rendered](https://github.com/brson/rust/blob/relnotes/RELEASES.md)

More highlights would be good. I intend to go through and hyperlink all the APIs still.
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Nov 5, 2015
[Rendered](https://github.com/brson/rust/blob/relnotes/RELEASES.md)

More highlights would be good. I intend to go through and hyperlink all the APIs still.
bors added a commit that referenced this pull request Nov 5, 2015
@bors bors merged commit 6b1de25 into rust-lang:master Nov 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.