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

Updated releases notes for 1.19 #42503

Closed
wants to merge 15 commits into from

Conversation

@XAMPPRocky
Copy link
Contributor

XAMPPRocky commented Jun 7, 2017

This is waiting on any beta backports in the coming weeks, and the lib stabilisations pr.

Rendered.

Aaron Power
@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Jun 7, 2017

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @aturon (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@XAMPPRocky

This comment has been minimized.

Copy link
Contributor Author

XAMPPRocky commented Jun 7, 2017

In this release there has been a lot of error codes added by @GuillaumeGomez I was wondering should they each get a line item, or is the current fine?

RELEASES.md Outdated
--------

- [Numeric fields can now be used for creating tuple structs.][36868]
For example `struct Point(u32, u32); let x = Foo { 0: 7, 1: 0 };`.

This comment has been minimized.

@jtdowney

jtdowney Jun 7, 2017

Contributor

Wouldn't this be let x = Point { 0: 7, 1: 0 };

Aaron Power
RELEASES.md Outdated
the members in a given workspace.][cargo/3988]
- [Updated `libssh2-sys` to 0.2.6][cargo/4008]
- [Target directory path is now in the cargo metadata][cargo/4022]
- [Cargo no longer checks the crates.io index locally][cargo/4026] This should

This comment has been minimized.

@Nemo157

Nemo157 Jun 7, 2017

Contributor

I would word this something like "Cargo no longer checks out a local working directory for the crates.io index"

Aaron Power
@ollie27
Copy link
Contributor

ollie27 left a comment

Looks like a few things are missing:

  • From<Box<str>> for Box<[u8]> #41258
  • eprint! and eprintln! #41192
  • closure_to_fn_coercion #42162
RELEASES.md Outdated
- [Ending a float literal with `._` is now a hard error.
Example: `42._` .][41946]
- [Ending a str literal with an underscore is now a hard error
Example: `"foo"_`][41990]

This comment has been minimized.

@ollie27

ollie27 Jun 7, 2017

Contributor

This didn't make it into 1.19.

This comment has been minimized.

@petrochenkov

petrochenkov Jun 7, 2017

Contributor

This is also a warning, not error.

RELEASES.md Outdated
- [Added `rust-windbg.cmd`][39983] for loading rust `.natvis` files in the
Windows Debugger.
- [Rust Language Server is now packaged as a non default component with the
`.exe`, `.msi`, and `.pkg` installers][42306]

This comment has been minimized.

@ollie27

ollie27 Jun 7, 2017

Contributor

I think this has been reverted: #42472

RELEASES.md Outdated
Language
--------

- [Numeric fields can now be used for creating tuple structs.][36868]

This comment has been minimized.

@petrochenkov

petrochenkov Jun 7, 2017

Contributor

The correct PR is #41145

RELEASES.md Outdated
- [Ending a str literal with an underscore is now a hard error
Example: `"foo"_`][41990]
- [Publicly exposing a private type is now a hard error][34537] This was
previously a warning.

This comment has been minimized.

@petrochenkov

petrochenkov Jun 7, 2017

Contributor

Nah, this is wrong. Most of #34537 isn't going to be an error, only some tiny piece of it (public reexports of private enum variants) has become an error.

RELEASES.md Outdated
- [Publicly exposing a private type is now a hard error][34537] This was
previously a warning.
- [Type parameter defaults in trait impls and functions is now a
hard error][36887] This was previously a warning.

This comment has been minimized.

@petrochenkov

petrochenkov Jun 7, 2017

Contributor

This is still a warning, there was too much breakage (as you can see, the issue is still open).

RELEASES.md Outdated
- [Type parameter defaults in trait impls and functions is now a
hard error][36887] This was previously a warning.
- [`use` imports on a private `extern crate` in a module is now a hard
error.][36886] This was previously a warning.

This comment has been minimized.

@petrochenkov

petrochenkov Jun 7, 2017

Contributor

#36886 is about any use of private extern crates outside of their module, not about imports or reexports.

@mbrubeck
Copy link
Contributor

mbrubeck left a comment

These look great! Here are a few additions that I think would clarify some of them.

RELEASES.md Outdated
For example: `let x = loop { break 7; };`
- [C compatible `union`s are now available.][42068] They can only contain `Copy`
types and cannot have a `Drop` implementation.
Example: `union Foo { bar: u8 }`

This comment has been minimized.

@mbrubeck

mbrubeck Jun 7, 2017

Contributor

A union with two fields of different types might be a clearer example.

RELEASES.md Outdated
Compiler
--------

- [Added bootstrap support for Android.][41370]

This comment has been minimized.

@mbrubeck

mbrubeck Jun 7, 2017

Contributor

I suggest expanding this to "Add support for bootstrapping the Rust compiler toolchain on Android."

RELEASES.md Outdated

- [Added bootstrap support for Android.][41370]
- [Change `arm-linux-androideabi` to correspond to the `armeabi`
official ABI.][41656]

This comment has been minimized.

@mbrubeck

mbrubeck Jun 7, 2017

Contributor

It might be useful to note that developers must now use --target armv7-linux-androideabi if they want to continue targeting the armeabi-v7a ABI.

@cuviper

This comment has been minimized.

Copy link
Member

cuviper commented Jun 7, 2017

Should this now mention LLVM4 support? (i.e. rust-llvm is upgraded, and external LLVM4 works too.)

RELEASES.md Outdated
Example: `union Foo { bar: u8 }`

Compiler
--------

This comment has been minimized.

@TimNN

TimNN Jun 7, 2017

Contributor

This section should probably mention the LLVM upgrade #40123.

Edit: Nevermind this comment, I didn't notice @cuviper's comment when looking at the diff.

@XAMPPRocky

This comment has been minimized.

Copy link
Contributor Author

XAMPPRocky commented Jun 7, 2017

@cuviper @TimNN Is there anything to be said about using LLVM 4.0, or is Now uses LLVM 4.0 enough?

Aaron Power
@ranma42

This comment has been minimized.

Copy link
Contributor

ranma42 commented Jun 8, 2017

@brson on the rust side, XZ compression of the tarballs should ready. Should it be mentioned in the release notes or is it better to wait for the next rustup release?

@cuviper

This comment has been minimized.

Copy link
Member

cuviper commented Jun 8, 2017

@Aaronepower There are two sides to it, both the version of LLVM that Rust is shipped with and the external versions it supports in custom builds. For the LLVM 3.9 update it simply said, "The compiler can now be built against LLVM 3.9".

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jun 8, 2017

Thanks a bunch @Aaronepower.

Added a link to the rendered notes to the OP.

@Aaronepower do any of these have RFC's that can be referenced for further info? I bet numeric fields, break return, unions, maybe closure coercions.

I see that 'compatibility notes' is not last this time. Any particular reason? I've put them last in the past to deemphasize them.

I don't see custom CRT linkage, xz compression.

I've added a milestone issue to make sure rustup with xz gets released: #42542

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jun 8, 2017

@ranma42 Yes, I think it should be mentioned. rustup will be out in time.

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jun 8, 2017

@Aaronepower I think one line for the error codes is fine.

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Jun 15, 2017

ping @Aaronepower, just wanted to keep this on your radar!

@kennytm

This comment has been minimized.

Copy link
Member

kennytm commented Jun 18, 2017

I think rust-lang/cargo#3954 (Add support for custom target-specific runners — target.$triple.runner in .cargo/config) is worth mentioning.

Aaron Power
@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jul 8, 2017

It is possible the RangeArgument type will change names before release: #43033

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jul 13, 2017

RangeArgument is not in the release.

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jul 13, 2017

Updated for all comments. #42635 is slated to be fixed and doesn't need a compat note. We might wait to see that reverted and then this is probably good to go.

RELEASES.md Outdated
a warning.
- [From the pound escape, lines consisting of multiple `#`s are
now visible][41785]
- [`for` loop desugaring has changed such that `break` does nat

This comment has been minimized.

@mbrubeck

mbrubeck Jul 13, 2017

Contributor

Typo: s/nat/not/

- [Rust will now release XZ compressed packages][rust-installer/57]
- [rustup will now prefer to download rust packages with
XZ compression][rustup/1100] over GZip packages.
- [Added the ability to escape `#` in rust documentation][41785] By adding

This comment has been minimized.

@mbrubeck

mbrubeck Jul 13, 2017

Contributor

This change is mentioned twice (once here, then again in "Compatibility Notes" below).

This comment has been minimized.

@brson

brson Jul 13, 2017

Contributor

Yeah, I noticed that and decided that it's ok - it's a feature addition with compatibility concerns. shrug

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jul 13, 2017

@steveklabnik since we're reverting this change that affects nmake, at least temporarily, to give more time for the ecosystem to adapt, it might be worth mentioning in the release announcement so users are aware.

RELEASES.md Outdated
- [From the pound escape, lines consisting of multiple `#`s are
now visible][41785]
- [`for` loop desugaring has changed such that `break` does not
affect type inference][42634]

This comment has been minimized.

@Zoxc

Zoxc Jul 13, 2017

Contributor

This pull request is a fix for #42265 which has never been stable.

This should say: for loop desugaring has changed such that the iterator is not borrowed during the loop body.
#42265 should also be referenced.

It probably doesn't belong in compatibility notes since it should have no effect on Rust code.

This comment has been minimized.

@brson

brson Jul 13, 2017

Contributor

Thanks @Zoxc. Since it has no effect, I just removed it completely.

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jul 13, 2017

Oh, if the jobserver patch is reverted, it will need to be removed from the relnotes.

@XAMPPRocky

This comment has been minimized.

Copy link
Contributor Author

XAMPPRocky commented Jul 13, 2017

@brson I'm not seeing any revert PR, was this mentioned somewhere?

RELEASES.md Outdated
`aborting due to N previous errors`][42150] This was previously inaccurate and
would only count certain kinds of errors.
- [The compiler now supports Visual Studio 2017][42225]
- [The compiler is now be built against LLVM 4.0.1 by default][42948]

This comment has been minimized.

@jimmycuadra

jimmycuadra Jul 14, 2017

Contributor

Typo: "is now be built"

@jimmycuadra

This comment has been minimized.

Copy link
Contributor

jimmycuadra commented Jul 14, 2017

In the compatibility notes, #34537 and #42460 are both linked with nearly identical descriptions. Do these represent the same underlying subject, and if so, should one of those links be removed?

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jul 14, 2017

@Aaronepower jobserver was reverted here, which was actually merged here.

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jul 14, 2017

@jimmycuadra yeah, they are both pretty much the same, probably we should only keep the link to the private_in_public PR.

Aaron Power added some commits Jul 15, 2017

Aaron Power
Aaron Power
RELEASES.md Outdated
command, which has been available since 1.16.
- [Ending a float literal with `._` is now a hard error.
Example: `42._` .][41946]
- [Any use of a private `extern crate` outside of it's module is now a

This comment has been minimized.

@sfackler

sfackler Jul 19, 2017

Member

its not it's I think?

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jul 19, 2017

@bors p=100 needs to land before the release!

RELEASES.md Outdated
[RFC 1558]: https://github.com/rust-lang/rfcs/pull/1558
[RFC 1624]: https://github.com/rust-lang/rfcs/pull/1624
[RFC 1721]: https://github.com/rust-lang/rfcs/pull/1721
[`Command::envs`]: https://doc.rust-lang.org/nightly/std/process/struct.Command.html#method.envs

This comment has been minimized.

@steveklabnik

steveklabnik Jul 19, 2017

Member

it'd be nice if this didn't link to nightly but it's not a blocker

Aaron Power
@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Jul 20, 2017

@bors: r+

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jul 20, 2017

📌 Commit a911c0c has been approved by alexcrichton

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jul 20, 2017

🔒 Merge conflict

@steveklabnik

This comment has been minimized.

Copy link
Member

steveklabnik commented Jul 20, 2017

Github shows no conflict. Dunno whats up.

@bors: retry

maybe?

@Mark-Simulacrum

This comment has been minimized.

Copy link
Member

Mark-Simulacrum commented Jul 20, 2017

This needs to be rebased, the conflict is presumably in a submodule.

@XAMPPRocky

This comment has been minimized.

Copy link
Contributor Author

XAMPPRocky commented Jul 20, 2017

Closing in favour of a new PR without submodule problems. #43368

@XAMPPRocky XAMPPRocky closed this Jul 20, 2017

bors added a commit that referenced this pull request Jul 20, 2017

Auto merge of #43368 - Aaronepower:patch-3, r=alexcrichton
Update release notes for 1.19.0

This is just #42503 there is some problems with submodules I can't seem to fix so I just created a new PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.