From 484d15fb8137fd8e3005c3458924b7ec7857e433 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 7 Oct 2024 11:57:04 +0200 Subject: [PATCH] Release 0.2.0 --- CHANGES.rst | 52 +++++++++++++++++++++++++++++++++++++++ CHANGES/16.doc.rst | 1 - CHANGES/19.packaging.rst | 3 --- CHANGES/22.packaging.rst | 1 - CHANGES/24.packaging.rst | 1 - CHANGES/26.bugfix.rst | 1 - CHANGES/29.packaging.rst | 1 - CHANGES/32.packaging.rst | 1 - CHANGES/37.packaging.rst | 1 - CHANGES/38.feature.rst | 1 - src/propcache/__init__.py | 2 +- 11 files changed, 53 insertions(+), 12 deletions(-) delete mode 100644 CHANGES/16.doc.rst delete mode 100644 CHANGES/19.packaging.rst delete mode 100644 CHANGES/22.packaging.rst delete mode 120000 CHANGES/24.packaging.rst delete mode 100644 CHANGES/26.bugfix.rst delete mode 120000 CHANGES/29.packaging.rst delete mode 120000 CHANGES/32.packaging.rst delete mode 120000 CHANGES/37.packaging.rst delete mode 100644 CHANGES/38.feature.rst diff --git a/CHANGES.rst b/CHANGES.rst index 93389b6..ca27a11 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,6 +14,58 @@ Changelog .. towncrier release notes start +0.2.0 +===== + +*(2024-10-07)* + + +Bug fixes +--------- + +- Fixed loading the C-extensions on Python 3.8 -- by :user:`bdraco`. + + *Related issues and pull requests on GitHub:* + :issue:`26`. + + +Features +-------- + +- Improved typing for the :func:`propcache.api.under_cached_property` decorator -- by :user:`bdraco`. + + *Related issues and pull requests on GitHub:* + :issue:`38`. + + +Improved documentation +---------------------- + +- Added API documentation for the :func:`propcache.api.cached_property` and :func:`propcache.api.under_cached_property` decorators -- by :user:`bdraco`. + + *Related issues and pull requests on GitHub:* + :issue:`16`. + + +Packaging updates and notes for downstreams +------------------------------------------- + +- Moved :func:`propcache.api.under_cached_property` and :func:`propcache.api.cached_property` to `propcache.api` -- by :user:`bdraco`. + + Both decorators remain importable from the top-level package, however importing from `propcache.api` is now the recommended way to use them. + + *Related issues and pull requests on GitHub:* + :issue:`19`, :issue:`24`, :issue:`32`. + +- Converted project to use a src layout -- by :user:`bdraco`. + + *Related issues and pull requests on GitHub:* + :issue:`22`, :issue:`29`, :issue:`37`. + + +---- + + 0.1.0 ===== diff --git a/CHANGES/16.doc.rst b/CHANGES/16.doc.rst deleted file mode 100644 index 4848aff..0000000 --- a/CHANGES/16.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Added API documentation for the :func:`propcache.api.cached_property` and :func:`propcache.api.under_cached_property` decorators -- by :user:`bdraco`. diff --git a/CHANGES/19.packaging.rst b/CHANGES/19.packaging.rst deleted file mode 100644 index d5a533a..0000000 --- a/CHANGES/19.packaging.rst +++ /dev/null @@ -1,3 +0,0 @@ -Moved :func:`propcache.api.under_cached_property` and :func:`propcache.api.cached_property` to `propcache.api` -- by :user:`bdraco`. - -Both decorators remain importable from the top-level package, however importing from `propcache.api` is now the recommended way to use them. diff --git a/CHANGES/22.packaging.rst b/CHANGES/22.packaging.rst deleted file mode 100644 index c9e365e..0000000 --- a/CHANGES/22.packaging.rst +++ /dev/null @@ -1 +0,0 @@ -Converted project to use a src layout -- by :user:`bdraco`. diff --git a/CHANGES/24.packaging.rst b/CHANGES/24.packaging.rst deleted file mode 120000 index 5ee4e98..0000000 --- a/CHANGES/24.packaging.rst +++ /dev/null @@ -1 +0,0 @@ -19.packaging.rst \ No newline at end of file diff --git a/CHANGES/26.bugfix.rst b/CHANGES/26.bugfix.rst deleted file mode 100644 index 4f6c208..0000000 --- a/CHANGES/26.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed loading the C-extensions on Python 3.8 -- by :user:`bdraco`. diff --git a/CHANGES/29.packaging.rst b/CHANGES/29.packaging.rst deleted file mode 120000 index 499b838..0000000 --- a/CHANGES/29.packaging.rst +++ /dev/null @@ -1 +0,0 @@ -22.packaging.rst \ No newline at end of file diff --git a/CHANGES/32.packaging.rst b/CHANGES/32.packaging.rst deleted file mode 120000 index 5ee4e98..0000000 --- a/CHANGES/32.packaging.rst +++ /dev/null @@ -1 +0,0 @@ -19.packaging.rst \ No newline at end of file diff --git a/CHANGES/37.packaging.rst b/CHANGES/37.packaging.rst deleted file mode 120000 index 499b838..0000000 --- a/CHANGES/37.packaging.rst +++ /dev/null @@ -1 +0,0 @@ -22.packaging.rst \ No newline at end of file diff --git a/CHANGES/38.feature.rst b/CHANGES/38.feature.rst deleted file mode 100644 index 6883666..0000000 --- a/CHANGES/38.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Improved typing for the :func:`propcache.api.under_cached_property` decorator -- by :user:`bdraco`. diff --git a/src/propcache/__init__.py b/src/propcache/__init__.py index b13c9e5..afbb34b 100644 --- a/src/propcache/__init__.py +++ b/src/propcache/__init__.py @@ -4,7 +4,7 @@ _PUBLIC_API = ("cached_property", "under_cached_property") -__version__ = "0.2.0.dev0" +__version__ = "0.2.0" __all__ = () # Imports have moved to `propcache.api` in 0.2.0+.