Jij-Inc/pyo3-stub-gen
Stub file (*.pyi) generator for PyO3
📋 Enhancement, and other changes
- Prepare PyO3 0.29 support for pyo3-stub-gen 0.23 by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/478
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.22.4...0.23.0
📋 Enhancement, and other changes
- Start developing 0.22.4 by @tokenprovider-pyo3stubgen[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/467
- Constrain PyO3 range for pyo3-stub-gen 0.22.4 by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/479
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.22.3...0.22.4
📋 Enhancement, and other changes
- Start developing 0.22.3 by @tokenprovider-pyo3stubgen[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/458
- fix(derive): accept name/module/rename_all from macro_rules! substitution by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/466 (from https://github.com/Jij-Inc/pyo3-stub-gen/pull/465 by @alteous)
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.22.2...0.22.3
📋 Enhancement, and other changes
- Start developing 0.22.2 by @tokenprovider-pyo3stubgen[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/442
- Fix inconsistent stubs for dunder methods by @AndrewADev in https://github.com/Jij-Inc/pyo3-stub-gen/pull/452
- feat(derive): treat Bound<'_, Self> and Py<Self> as receivers by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/455
- Add support for builtin ip address types by @LuSo58 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/444
✨ New Contributors
- @AndrewADev made their first contribution in https://github.com/Jij-Inc/pyo3-stub-gen/pull/452
- @LuSo58 made their first contribution in https://github.com/Jij-Inc/pyo3-stub-gen/pull/444
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.22.1...0.22.2
📋 Enhancement, and other changes
- Start developing 0.22.1 by @tokenprovider-pyo3stubgen[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/438
- Add generate-index option to doc-gen config by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/441
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.22.0...0.22.1
📋 Enhancement, and other changes
- Start developing 0.21.3 by @tokenprovider-pyo3stubgen[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/435
- Add separate-items option for per-class/per-function doc pages by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/437
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.21.2...0.22.0
🐛 Bug fix
- Fix setter stub to use type_input instead of type_output by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/434
📋 Enhancement, and other changes
- Start developing 0.21.2 by @tokenprovider-pyo3stubgen[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/433
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.21.1...0.21.2
🐛 Bug fix
- Fix special float values (inf, nan) to generate valid Python syntax by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/432
📋 Enhancement, and other changes
- Start developing 0.21.1 by @tokenprovider-pyo3stubgen[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/430
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.21.0...0.21.1
🐛 Bug fix
- Refactor ParameterDefault for correct module qualification by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/418
- Fix getter/setter to respect #[pyo3(name = "...")] attribute by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/429
📋 Enhancement, and other changes
- Start developing 0.20.1 by @tokenprovider-pyo3stubgen[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/414
- Fix __init__.py and __init__.pyi coexistence problem by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/416
- Add generate-init-py feature and fix docgen for re-exports by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/423
- Do not generate .pyi for non-PyO3 modules by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/424
- Add runtime type alias support to type_alias! macro by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/426
- Add new reexport_module_members! syntax with wildcard + explicit items by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/428
✨ New Contributors
- @tokenprovider-pyo3stubgen[bot] made their first contribution in https://github.com/Jij-Inc/pyo3-stub-gen/pull/414
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.20.0...0.21.0
📋 Enhancement, and other changes
- Start developing 0.19.1 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/403
- Add property support to API reference docs by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/412
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.19.0...0.20.0
📋 Enhancement, and other changes
- feat: add Python type alias support by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/391
- Implement `PyStubType` for `time` crate types by @watsaig in https://github.com/Jij-Inc/pyo3-stub-gen/pull/400
- Add test cases for `time` and `chrono` crate types in examples/pure by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/402
- Add API reference documentation generation by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/393
✨ New Contributors
- @watsaig made their first contribution in https://github.com/Jij-Inc/pyo3-stub-gen/pull/400
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.18.0...0.19.0
📋 Enhancement, and other changes
- Simplify stub generation strategy: layout-based file paths by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/350
- Add skip_stub_type parameter for manual PyStubType implementation by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/356
- Avoid malachite dependencies by @tisonkun in https://github.com/Jij-Inc/pyo3-stub-gen/pull/362
- fix: use fully qualified imports to avoid name collision in type checking by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/381
- feat: add automatic `__all__` generation with escape hatch mechanism by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/389
✨ New Contributors
- @tisonkun made their first contribution in https://github.com/Jij-Inc/pyo3-stub-gen/pull/362
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.17.2...0.18.0
🗑️ ⚠️ Remove unintended dependency on LGPL-licensed crate introduced in 0.15.0.
- Avoid malachite dependencies by @tisonkun in https://github.com/Jij-Inc/pyo3-stub-gen/pull/362
- Versions 0.15.0–0.17.1 have been yanked due to this issue.
📋 Enhancement, and other changes
- Setup cargo-deny by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/367
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.17.1...0.17.2
Back port of #362 **Full Changelog**: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.16.1...0.16.2
Back port of https://github.com/Jij-Inc/pyo3-stub-gen/pull/362 **Full Changelog**: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.15.2...0.15.3
📋 Enhancement, and other changes
- Start developing 0.17.1 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/346
- Add skip_stub_type parameter for manual PyStubType implementation by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/356
📦 Note
- Because we need some task before releasing 0.18.0 with #350 which will cause large inconsistency, I create a sub develop branch `dev-0.17` and release from it with #356.
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.17.0...0.17.1
💥 Breaking Changes
- Add `python_overload` parameter for inline function overloading by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/345
🐛 Bug fix
- Fix: Ensure deterministic ordering for overloaded functions and methods by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/344
📋 Enhancement, and other changes
- Start developing 0.16.2 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/340
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.16.1...0.17.0
📋 What's Changed
- Fix typing.Literal[True/False] lowercasing bug in Python stub generation by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/339
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.16.0...0.16.1
📋 What's Changed
- Redesign parameter model to support Python function signature syntax by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/338
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.15.2...0.16.0
📋 What's Changed
- Start developing 0.15.2 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/332
- Fix and enhance module parameter support for Python stub syntax by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/335
- Fix: Handle RustType marker in nested type annotations by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/336
- Bump the dependencies group with 12 updates by @dependabot[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/334
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.15.1...0.15.2
📋 What's Changed
- Start developing 0.15.1 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/327
- Add RustType marker for Python stub syntax by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/330
- Add Manual Overriding section to README by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/331
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.15.0...0.15.1
📋 What's Changed
- Start developing 0.14.2 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/317
- Add stubtest integration and `@final` decorator support by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/318
- Direct Python stub syntax support by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/323
- Add missing implementation for builtin bool type by @jannek-sw in https://github.com/Jij-Inc/pyo3-stub-gen/pull/321
- Bump the dependencies group across 1 directory with 19 updates by @dependabot[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/324
- Bump the dependencies group with 2 updates by @dependabot[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/325
✨ New Contributors
- @jannek-sw made their first contribution in https://github.com/Jij-Inc/pyo3-stub-gen/pull/321
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.14.1...0.15.0
📋 What's Changed
- Start developing 0.14.1 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/308
- Fix TypeInfo::dict_of method to generate dict instead of set type annotations by @Copilot in https://github.com/Jij-Inc/pyo3-stub-gen/pull/311
- Fix stub generation issues and add mypy validation by @Copilot in https://github.com/Jij-Inc/pyo3-stub-gen/pull/315
- Bump quote from 1.0.40 to 1.0.41 in the dependencies group by @dependabot[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/309
- Drop crate version from module doc example by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/316
✨ New Contributors
- @Copilot made their first contribution in https://github.com/Jij-Inc/pyo3-stub-gen/pull/311
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.14.0...0.14.1
📋 What's Changed
- Start developing 0.13.2 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/282
- Feature gating `infer_signature`, fix #283, perhaps fix #161 by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/286
- Generate stub for PyComplex by @benruijl in https://github.com/Jij-Inc/pyo3-stub-gen/pull/278
- Add `#[remove_gen_stub]` macro, fix #266 by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/285
- Bump the dependencies group with 4 updates by @dependabot[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/291
- Bump the dependencies group with 8 updates by @dependabot[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/298
- feat: Add support for rust_decimal::Decimal type in stub generation by @extremeandy in https://github.com/Jij-Inc/pyo3-stub-gen/pull/294
- Fix import statement for submodule class reference by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/296
- + 7 more
✨ New Contributors
- @benruijl made their first contribution in https://github.com/Jij-Inc/pyo3-stub-gen/pull/278
- @extremeandy made their first contribution in https://github.com/Jij-Inc/pyo3-stub-gen/pull/294
- @j03-dev made their first contribution in https://github.com/Jij-Inc/pyo3-stub-gen/pull/304
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.13.1...0.14.0
📋 What's Changed
- Start developing 0.13.1 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/280
- fix: Correct ellipsis placement for type_ignore without docstrings by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/281
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.13.0...0.13.1
📋 What's Changed
- More support for custom exceptions by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/267
- Generate comparison method stubs for `#[pyclass(eq, ord)]` by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/268
- feat: Add support for hash and str attributes in #[pyclass] by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/272
- feat: Add support for type: ignore comments in stub generation by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/279
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.12.2...0.13.0
📋 What's Changed
- Bump cc from 1.2.30 to 1.2.31 in the dependencies group by @dependabot[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/257
- Start developing 0.12.2 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/258
- test: Adds test-cases for kwargs / args by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/260
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.12.1...0.12.2
📋 What's Changed
- Start developing 0.12.1 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/255
- `#[deprecated]` does not work with `#[getter]` by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/256
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.12.0...0.12.1
📋 What's Changed
- Start developing 0.11.2 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/249
- fix `classmethod`, fix #59 by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/232
- Add support for overriding function argument types and return type by @cstruct in https://github.com/Jij-Inc/pyo3-stub-gen/pull/244
- Bump prettyplease from 0.2.35 to 0.2.36 in the dependencies group by @dependabot[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/252
- Add `async fn` support for free fns and methods, continuation by @cstruct in https://github.com/Jij-Inc/pyo3-stub-gen/pull/251
- Translate Rust's `#[deprecated]` to `@typing_extension.deprecated` in Python by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/254
✨ New Contributors
- @cstruct made their first contribution in https://github.com/Jij-Inc/pyo3-stub-gen/pull/244
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.11.1...0.12.0
📋 What's Changed
- Add test for #242 by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/247
- Support `@overload` decorator generation by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/246
- Fix packaging, introduce Trusted Publishing by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/248
- Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.11.0...0.11.1
