Release history and notes¶
Sequence based identifiers are used for versioning (schema follows below):
major.minor[.revision]
- It’s always safe to upgrade within the same minor version (for example, from 0.3 to 0.3.4).
- Minor version changes might be backwards incompatible. Read the release notes carefully before upgrading (for example, when upgrading from 0.3.4 to 0.4).
- All backwards incompatible changes are mentioned in this document.
0.5.1 — 2017-10-18
- Fixed serialization of complex nested structures (lists of nested objects).
- Documentation fixes.
0.5¶
2017-10-05
Note
This release contains changes that might be backwards incompatible
for your project. If you have used dynamic document serializer
django_elasticsearch_dsl_drf.serializers.DocumentSerializer
with customisations (with use of serializers.SerializerMethodField,
having the value parsed to JSON), just remove the custom parts.
- Support for
ObjectField,NestedField,GeoPointField,ListField,GeoShapeField(and in general, nesting fields either as a dictionary or list should not be a problem at all). - Dynamic serializer has been made less strict.
- Added
get_paginated_response_contextmethods to bothPageNumberPaginationandLimitOffsetPaginationpagination classes to simplify customisations.
0.4.4¶
2017-10-02
- Documentation improvements (Elasticsearch suggestions).
- More tests (term and phrase suggestions).
- Code style fixes.
0.4¶
2017-09-26
Note
This release contains changes that might be backwards incompatible
for your project. Make sure to add the DefaultOrderingFilterBackend
everywhere you have used the OrderingFilterBackend, right after the
latter.
GeoSpatialFilteringFilterBackendfiltering backend, supportinggeo_distanceandgeo_polygongeo-spatial queries.GeoSpatialOrderingFilterBackendordering backend, supporting ordering of results forgeo_distancefilter.OrderingFilterBackendno longer provides defaults when no ordering is given. In order to take care of the defaults include theDefaultOrderingFilterBackendin the list offilter_backends(after all other ordering backends).
0.3.12¶
2017-09-21
- Added
geo_distancefilter. Note, that although functionally the filter would not change its’ behaviour, it is likely to be moved to a separate backend (geo_spatial). For now use as is. - Minor fixes.
0.3.6¶
2017-09-07
- Fixed suggestions test for Elasticsearch 5.x.
- Added compat module for painless testing of Elastic 2.x to Elastic 5.x transition.
0.1.6¶
2017-06-23
- Implemented
gt`, ``gte,ltandltefunctional query lookups. - Implemented
idsnative filter lookup.
0.1.5¶
2017-06-22
- Implemented
endswithandcontainsfunctional filters. - Added tests for
wildcard,exists,excludeandisnullfilters. Improvedrangefilter tests. - Improve
more_like_thishelper test. - Improve ordering tests.
- Two additional arguments added to the
more_like_thishelper:min_doc_freqandmax_doc_freq. - Minor documentation improvements.
0.1.3¶
2017-06-21
- Added tests for
more_like_thishelper,rangeandprefixfilters. - Minor documentation improvements.