Releases: Codoc-os/django-opensearch-dsl
Releases · Codoc-os/django-opensearch-dsl
v0.7.0
--refresh
and--parallel
options of the CLI now default to the respective value ofOPENSEARCH_DSL_AUTO_REFRESH
andOPENSEARCH_DSL_AUTO_PARALLEL
.- Implement
get_documents()
forDocumentRegistry
(#74),
Contributed by gcarq. - Update supported versions of Python and Django (#75):
- Confirm support for Python 3.13.
- Confirm support for Django 5.1 and 5.2.
- Drop support for Django 3.2.
Contributed by Mariusz Felisiak
v0.6.2
0.6.1
- Multiple fixes to
CelerySignalProcessor
(#62), Contributed by Jordan Hyatt and jlariza.- Correctly use
.delay
when calling tasks. - Only initiate tasks when needed by checking beforehand if an instance is connected to a Document (directly or related)
- The tasks will only be created on transaction commit.
- Correctly use
v0.6.0
- Add
mananage.py opensearch index update
subcommand to update an existing index mappings (#52). - Add
CelerySignalProcessor
as an alternative toRealTimeSignalProcessor
to process signals asynchronously using Celery
(#51). - Add
registry.get_models()
andregistry.__contains__()
methods (#48, Contributed by ghkdxofla - Taelim Hwang (Limy)). - When using the
opensearch
command, any error now displays the raw OpenSearch response (#49). - Autosync and related model features are now properly documented (#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).
v0.5.2
v0.5.1
- Change references from
opensearch-dsl-py
toopensearch-py
.
This follow the deprecation notice on theopensearch-dsl-py
project. Its features are now directly included inopensearch-py
.
(#33, Contributed by Jacob Kausler).
v0.5.0
v0.4.1
Document.update()
method now take an optionalusing
argument allowing to specify an alternate
OpenSearch connection defined inOPENSEARCH_DSL
.- Fix related document automatic indexation and deletion
(Contributed by Colin Seifer). - Add
pre-delete
back intoBaseSignalProcessor.handle_m2m_changed()
to properly update the
index on M2M interactions (Contributed by Colin Seifer).
v0.4.0
- Add support for related models. See Document Classes and
Document Field Reference for more information
(Contributed by Colin Seifer). django-opensearch-dsl
now only tests supported version of Python and Django (mainstream and LTS).
This choice is made to:- Speed up development.
- Speed up tests.
- Reduce actions on github.
- Encourage people to update their stack to supported (thus safer) versions.
- Drop support for Python 3.6.
- Drop support for Django 2.1, 2.2, 3.1.
- Now supports Django 4.1.
- Now supports
opensearch-dsl>=2.0 <3.00
.