docs: fixups to 0.22 migration guide (#4332)

This commit is contained in:
David Hewitt 2024-07-10 15:18:13 +01:00 committed by GitHub
parent 3c65132da5
commit 90c4799951
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 0 deletions

View File

@ -5,6 +5,15 @@ For a detailed list of all changes, see the [CHANGELOG](changelog.md).
## from 0.21.* to 0.22 ## from 0.21.* to 0.22
### Deprecation of `gil-refs` feature continues
<details open>
<summary><small>Click to expand</small></summary>
Following the introduction of the "Bound" API in PyO3 0.21 and the planned removal of the "GIL Refs" API, all functionality related to GIL Refs is now gated behind the `gil-refs` feature and emits a deprecation warning on use.
See <a href="#from-021-to-022">the 0.21 migration entry</a> for help upgrading.
</details>
### Deprecation of implicit default for trailing optional arguments ### Deprecation of implicit default for trailing optional arguments
<details open> <details open>
<summary><small>Click to expand</small></summary> <summary><small>Click to expand</small></summary>
@ -528,6 +537,7 @@ assert_eq!(&*name, "list");
# } # }
# Python::with_gil(example).unwrap(); # Python::with_gil(example).unwrap();
``` ```
</details>
## from 0.19.* to 0.20 ## from 0.19.* to 0.20