Releases: Codoc-os/django-opensearch-dsl
Releases · Codoc-os/django-opensearch-dsl
v0.8.0
- Add
--usingand--databaseoptions to the CLI to respectively specify which
OpenSearch and database connection to use (#87).
BREAKING CHANGES:
django_opensearch_dsl.documents.Document.get_querysetnow take an optionalaliasargument to specify which
database connection to use.django_opensearch_dsl.documents.Document.get_indexing_querysetnow take an optionalaliasargument to specify
which database connection to use.
v0.7.0
--refreshand--paralleloptions 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
.delaywhen 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 updatesubcommand to update an existing index mappings (#52). - Add
CelerySignalProcessoras an alternative toRealTimeSignalProcessorto process signals asynchronously using Celery
(#51). - Add
registry.get_models()andregistry.__contains__()methods (#48, Contributed by ghkdxofla - Taelim Hwang (Limy)). - When using the
opensearchcommand, 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
isortand
banditto CI (#50).
v0.5.2
v0.5.1
- Change references from
opensearch-dsl-pytoopensearch-py.
This follow the deprecation notice on theopensearch-dsl-pyproject. 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 optionalusingargument allowing to specify an alternate
OpenSearch connection defined inOPENSEARCH_DSL.- Fix related document automatic indexation and deletion
(Contributed by Colin Seifer). - Add
pre-deleteback 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-dslnow 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.