From 5c2990f8973026ac0faac190aaf22a229be308aa Mon Sep 17 00:00:00 2001 From: Ivan Wang Date: Mon, 6 May 2024 18:14:33 -0700 Subject: [PATCH 1/2] Add py.typed to setup.cfg --- py.typed | 0 setup.cfg | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 py.typed diff --git a/py.typed b/py.typed new file mode 100644 index 000000000..e69de29bb diff --git a/setup.cfg b/setup.cfg index 790ac8b58..eba539bdb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -45,5 +45,9 @@ exclude = *.tests.* tests.* +[options.package_data] +algoliasearch = + py.typed + [bdist_wheel] universal = 1 From 471effcd0b926f1bd8817b7c6a1a9de71b1a530f Mon Sep 17 00:00:00 2001 From: Ivan Wang Date: Mon, 6 May 2024 18:25:49 -0700 Subject: [PATCH 2/2] Bump version to 3.1.0 and update CHANGELOG --- CHANGELOG.md | 8 +++++++- algoliasearch/version.py | 2 +- setup.cfg | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0fb4ee38..7d3b195dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/). # Release Notes -## [Unreleased](https://github.com/algolia/algoliasearch-client-python/compare/v3.0.0...master) +## [Unreleased](https://github.com/algolia/algoliasearch-client-python/compare/v3.1.0...master) + +## [v3.1.0](https://github.com/algolia/algoliasearch-client-python/compare/v3.0.0...v3.1.0) + +### Added + +- Add `py.typed` to python package ([PEP 561](https://www.python.org/dev/peps/pep-0561/)) so downstream packages can use type annotations. ([#566](https://github.com/algolia/algoliasearch-client-python/pull/566)) ## [v3.0.0](https://github.com/algolia/algoliasearch-client-python/compare/v2.6.3...v3.0.0) diff --git a/algoliasearch/version.py b/algoliasearch/version.py index ea9d6945b..273ffca76 100644 --- a/algoliasearch/version.py +++ b/algoliasearch/version.py @@ -1 +1 @@ -VERSION = "3.0.0" +VERSION = "3.1.0" diff --git a/setup.cfg b/setup.cfg index eba539bdb..93b9ed99c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = algoliasearch -version = 3.0.0 +version = 3.1.0 author = Algolia Team author_email = support@algolia.com maintainer = Algolia Team