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

Announcement: releasing version 2.0.0 soon! #41

Closed
fitzgen opened this issue Nov 26, 2019 · 2 comments
Closed

Announcement: releasing version 2.0.0 soon! #41

fitzgen opened this issue Nov 26, 2019 · 2 comments

Comments

@fitzgen
Copy link
Collaborator

fitzgen commented Nov 26, 2019

The next release will be a breaking change to version 2.0.0 and the new minimum supported Rust version will be 1.36.0.

It should be a no-op upgrade for almost everyone, unless you are using alloc_uninitialized. This method now uses MaybeUninit instead of raw pointers (see #40 and #38). Updating code that uses the old alloc_uninitialized should mostly mean just calling https://doc.rust-lang.org/nightly/std/mem/union.MaybeUninit.html#method.as_mut_ptr to turn the MaybeUninit into a raw pointer for your calls to std::ptr::write.

There is a 2.0.0-rc1 release candidate version on crates.io now, you can use that to test the upgrade.

If there are no bugs discovered or issues raise, I'll release 2.0.0 proper on December 3rd.

@fitzgen
Copy link
Collaborator Author

fitzgen commented Dec 3, 2019

Ok, I'm going to cut the 2.0.0 release!

@fitzgen
Copy link
Collaborator Author

fitzgen commented Dec 3, 2019

2.0.0 is published!

@fitzgen fitzgen closed this as completed Dec 3, 2019
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

No branches or pull requests

1 participant