From 6499225b38701316d607d20c3612d9852927ce64 Mon Sep 17 00:00:00 2001 From: Sergei Izmailov Date: Thu, 31 Aug 2023 18:56:50 +0900 Subject: [PATCH] Release 1.2 (#126) --- CHANGELOG.md | 40 +++++++++++++++++++++++++++++++--------- setup.py | 2 +- 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c5b7ca..4e6e6d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,37 @@ Changelog ========= -Version 1.0-dev (Aug 29, 2023) + +Version 1.2 (Aug 31, 2023) -------------------------- -⚠️ Project was rewritten from scratch for `1.x`. This allowed me to address some long-standing issues, but I might accidentally brake behaviour you relied on. +Changes: +- 🐛 Fix compatibility with Python 3.7..3.9 (#124) +- 🐛 Fix incorrect list of base classes (#123) +- ✨ Replace `typing` collections with builtin types (e.g. `typing.List` -> `list`) according + to [PEP 585](https://peps.python.org/pep-0585/) (#122) +- ✨ Add missing translations of pybind types: `function` -> `Callable`, `object`/`handle` -> `typing.Any` (#121) +- ✨ Support function-valued default arguments (#119) +- 🐛 Fix missing properties docstrings (#118) + +Version 1.1 (Aug 30, 2023) +-------------------------- Changes: - - Updated CLI interface, some options were removed, please see `pybind11-stubgen --help` for details - - Replaced regex-based signature parsing with more robust procedure which enables to produce partially degraded signatures - - Added type parsing/replacing, including deeply annotated types - - Support implicit imports required for static analysis - - Add introspection of pure python functions - - Support python 3.10+ only (temporarily) - - Improved structure of test binary pybind module + +- Added `--dry-run` CLI option to skip writing stubs stage (#114 ) + +Version 1.0-dev (Aug 29, 2023) +------------------------------ +⚠️ Project was rewritten from scratch for `1.x`. This allowed me to address some long-standing issues, but I might +accidentally brake behaviour you relied on. + +Changes: + +- Updated CLI interface, some options were removed, please see `pybind11-stubgen --help` for details +- Replaced regex-based signature parsing with more robust procedure which enables to produce partially degraded + signatures +- Added type parsing/replacing, including deeply annotated types +- Support implicit imports required for static analysis +- Add introspection of pure python functions +- Support python 3.10+ only (temporarily) +- Improved structure of test binary pybind module diff --git a/setup.py b/setup.py index d816f1e..0103926 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ maintainer_email="sergei.a.izmailov@gmail.com", description="PEP 561 type stubs generator for pybind11 modules", url="https://github.com/sizmailov/pybind11-stubgen", - version="1.1", + version="1.2", long_description=open("README.md").read(), long_description_content_type="text/markdown", license="BSD",