Skip to content

Releases: Codoc-os/django-opensearch-dsl

v0.7.0

11 Apr 06:07
Compare
Choose a tag to compare
  • --refresh and --parallel options of the CLI now default to the respective value of OPENSEARCH_DSL_AUTO_REFRESH
    and OPENSEARCH_DSL_AUTO_PARALLEL.
  • Implement get_documents() for DocumentRegistry (#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

23 Apr 21:33
Compare
Choose a tag to compare
  • Fix CelerySignalProcessor previously using RealTimeSignalProcessor's method due to wrong indentation (#66), Contributed by jlariza.
  • models.PositiveBigIntegerField is now automatically mapped to LongField (#67), Contributed by jlariza.

0.6.1

13 Apr 21:13
Compare
Choose a tag to compare
  • 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.

v0.6.0

22 Mar 09:28
Compare
Choose a tag to compare
  • Add mananage.py opensearch index update subcommand to update an existing index mappings (#52).
  • Add CelerySignalProcessor as an alternative to RealTimeSignalProcessor to process signals asynchronously using Celery
    (#51).
  • Add registry.get_models() and registry.__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

11 Jan 05:34
Compare
Choose a tag to compare
  • Add the missing parameter field_value_to_ignore=None to django_opensearch_dsl.fields.ListField.get_value_from_instance
    (#47, Contributed by ghkdxofla - Taelim Hwang (Limy)).

v0.5.1

17 May 23:55
Compare
Choose a tag to compare
  • Change references from opensearch-dsl-py to opensearch-py.
    This follow the deprecation notice on the opensearch-dsl-py project. Its features are now directly included in opensearch-py.
    (#33, Contributed by Jacob Kausler).

v0.5.0

20 Nov 15:49
Compare
Choose a tag to compare
  • get_indexing_queryset() now order unordered QuerySet by their PK.
    (#29, Contributed by Cédric Raud).
  • keep_order argument of django_opensearch_dsl.search.Search.to_queryset now default to True
    to be in line with the documentation (#27).

v0.4.1

16 Aug 15:22
Compare
Choose a tag to compare
  • Document.update() method now take an optional using argument allowing to specify an alternate
    OpenSearch connection defined in OPENSEARCH_DSL.
  • Fix related document automatic indexation and deletion
    (Contributed by Colin Seifer).
  • Add pre-delete back into BaseSignalProcessor.handle_m2m_changed() to properly update the
    index on M2M interactions (Contributed by Colin Seifer).

v0.4.0

04 Aug 12:24
Compare
Choose a tag to compare
  • 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.

v0.3.0

22 Jun 04:35
Compare
Choose a tag to compare
  • Fixes internal links in documentation.
  • Removes the need to declare a TESTING boolean in settings.py.