Skip to content

Commit

Permalink
chore: Bump version to v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qcoumes committed Mar 22, 2024
1 parent fe7672f commit de1f1a1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 15 deletions.
7 changes: 1 addition & 6 deletions django_opensearch_dsl/__init__.py
Original file line number Diff line number Diff line change
@@ -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"
1 change: 1 addition & 0 deletions docs/AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

---

Expand Down
11 changes: 11 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# 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 displays the raw OpenSearch response ([#49](https://github.com/Codoc-os/django-opensearch-dsl/pull/49)).
* Autosync and related model 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 the test matrix to work with the 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`
Expand Down
18 changes: 9 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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',
Expand Down

0 comments on commit de1f1a1

Please sign in to comment.