From 178492dabdb7dc0e4519723a39b3cf098666990e Mon Sep 17 00:00:00 2001 From: Quentin Coumes Date: Fri, 22 Mar 2024 10:15:44 +0100 Subject: [PATCH] chore: Bump version to v0.6.0 --- django_opensearch_dsl/__init__.py | 7 +------ docs/AUTHORS.md | 1 + docs/CHANGELOG.md | 13 +++++++++++++ setup.py | 18 +++++++++--------- 4 files changed, 24 insertions(+), 15 deletions(-) diff --git a/django_opensearch_dsl/__init__.py b/django_opensearch_dsl/__init__.py index da48c48..caa8652 100644 --- a/django_opensearch_dsl/__init__.py +++ b/django_opensearch_dsl/__init__.py @@ -1,16 +1,11 @@ -import django from django.utils.module_loading import autodiscover_modules from .documents import Document # noqa from .fields import * # noqa -__version__ = "0.5.2" +__version__ = "0.6.0" def autodiscover(): """Force the import of the `documents` modules of each `INSTALLED_APPS`.""" autodiscover_modules("documents") - - -if django.VERSION < (3, 2): # pragma: no cover - default_app_config = "django_opensearch_dsl.apps.DODConfig" diff --git a/docs/AUTHORS.md b/docs/AUTHORS.md index a2b8bc8..f9a2ec6 100644 --- a/docs/AUTHORS.md +++ b/docs/AUTHORS.md @@ -10,6 +10,7 @@ * [Colin Seifer](https://github.com/Colin-Seifer) * [Jacob Kausler](https://github.com/jakekausler) * [ghkdxofla - Taelim Hwang (Limy)](https://github.com/ghkdxofla) +* [Cédric Raud](https://github.com/cedricraud) --- diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 813fdaf..33a34dd 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +### 0.6.0 (2024-03-22) + +* Add `mananage.py opensearch index update` subcommand to update an existing index mappings ([#52](https://github.com/Codoc-os/django-opensearch-dsl/pull/52)). +* Add `CelerySignalProcessor` as an alternative to `RealTimeSignalProcessor` to process signals asynchronously using Celery + ([#51](https://github.com/Codoc-os/django-opensearch-dsl/pull/51)). +* Add `registry.get_models()` and `registry.__contains__()` methods ([#48](https://github.com/Codoc-os/django-opensearch-dsl/pull/48), + Contributed by [ghkdxofla - Taelim Hwang (Limy)](https://github.com/ghkdxofla)). +* When using the `opensearch` command, any error now display the raw OpenSearch repsonse ([#49](https://github.com/Codoc-os/django-opensearch-dsl/pull/49)). +* Autosync and related models features are now [properly documented](https://django-opensearch-dsl.readthedocs.io/en/latest/document/#autosync) + ([#53](https://github.com/Codoc-os/django-opensearch-dsl/pull/53)). +* Update test matrix to work with latest supported version of Python, Django and OpenSearch. Also add `isort` and + `bandit` to CI ([#50](https://github.com/Codoc-os/django-opensearch-dsl/pull/50)). + ### 0.5.2 (2024-01-11) * Add the missing parameter `field_value_to_ignore=None` to `django_opensearch_dsl.fields.ListField.get_value_from_instance` diff --git a/setup.py b/setup.py index 62be66c..46c75f2 100755 --- a/setup.py +++ b/setup.py @@ -7,19 +7,19 @@ DIRNAME = os.path.dirname(__file__) CLASSIFIERS = [ 'Development Status :: 4 - Beta', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Framework :: Django', 'Framework :: Django :: 3.2', - 'Framework :: Django :: 4.0', - 'Framework :: Django :: 4.1', + 'Framework :: Django :: 4.2', + 'Framework :: Django :: 5.0', + "Environment :: Web Environment," 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', ] LONG_DESCRIPTION = ( codecs.open(os.path.join(DIRNAME, 'README.md'), encoding='utf-8').read() @@ -36,7 +36,7 @@ setup( name='django-opensearch-dsl', - version='0.5.2', + version='0.6.0', description="""Wrapper around opensearch-py for django models""", long_description=LONG_DESCRIPTION, long_description_content_type='text/markdown',