Skip to content

Release 0.12#1173

Merged
davidhewitt merged 1 commit intomasterfrom
release-0.12
Sep 12, 2020
Merged

Release 0.12#1173
davidhewitt merged 1 commit intomasterfrom
release-0.12

Conversation

@davidhewitt
Copy link
Member

@davidhewitt davidhewitt commented Sep 10, 2020

Closes #1104

This is a PR drafting the release of pyo3 0.12! 🎉

I've bumped the version numbers and edited the contents of the changelog to be as consistent and simple as I could make it.

I propose the following release text (links don't work yet as they point to the 0.12 guide). Please post any suggested changes.

If I don't hear reasons otherwise, I plan to put this release live on Saturday evening. (12th September)


This release has seen a few careful revisions to the PyO3 API with the goal of making it easier to learn and use. The PyErr type has been reworked to implement std::error::Error. The FromPy trait is removed. The PyObject struct is now just a simple type alias to Py<PyAny>.

Also added is a new #[derive(FromPyObject)] macro, which enables a convenient way to accept arguments of the Python "type" Union. (See the guide entry on this new feature.)

There have been many other improvements and bugfixes too numerous to go into detail here. For the full list, see the CHANGELOG.


Many thanks to you all who have helped design and implement this release!

@gilescope
Copy link
Contributor

gilescope commented Sep 11, 2020

got one more fix: #1175

@davidhewitt davidhewitt merged commit b7f45c4 into master Sep 12, 2020
@kngwyu
Copy link
Member

kngwyu commented Sep 13, 2020

@davidhewitt
Thank you!

@davidhewitt davidhewitt deleted the release-0.12 branch September 15, 2020 21:17
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.

0.12 Release

4 participants