Changelog¶
next¶
Maintenance¶
0.17 (2023-06-27)¶
Bugfixes¶
None
values are now appropriately sorted first or last (depending on database support. Contributed by @vuongdv-spinshell. (#97)
Improvements¶
Initial support for asynchronous queries. (#99, #103)
Maintenance¶
0.16 (2022-04-01)¶
Improvements¶
Maintenance¶
0.15 (2021-12-10)¶
Improvements¶
Support the
contains()
method. (#85)
Maintenance¶
0.14 (2021-02-26)¶
Improvements¶
Bugfixes¶
Support calling
filter()
withQ()
objects. Contributed by @jpic. (#76)
Maintenance¶
0.13 (2020-07-27)¶
Bugfixes¶
Maintenance¶
0.12 (2019-12-20)¶
Bugfixes¶
Do not use
is not
to compare to an integer literal. (#61)
Maintenance¶
0.11 (2019-04-25)¶
Improvements¶
Maintenance¶
Support Python 3.7. Contributed by @michael-k. (#51)
Support Django 2.2. Contributed by @michael-k. (#51)
Support Django REST Framework 3.9. Contributed by @michael-k. (#51)
Drop support for Python 3.4. Contributed by @michael-k. (#51)
Drop support for Django REST Framework < 3.6.3. Contributed by @michael-k. (#51)
0.10 (2018-10-09)¶
Improvements¶
Support
first()
,last()
,latest()
, andearliest()
methods. (#40, #49)Support the
&
and|
operators. (#41)Support
defer()
andonly()
methods to control which fields are returned. (#44)Support calling
using()
to switch databases for an entireQuerySetSequence
. (#44)Support calling
extra()`, ``update()
, andannotate()
which get applied to eachQuerySet
. (#46, #47)Support calling
explain()
on Django >= 2.1. (#48)
Bugfixes¶
0.9 (2018-09-20)¶
Bugfixes¶
Stop using the internals of QuerySet for better forward compatibility. This change means that
QuerySetSequence
is no longer a sub-class ofQuerySet
and should improve interactions with other packages which modifyQuerySet
. (#38)
Maintenance¶
0.8 (2017-09-05)¶
Improvements¶
Optimize iteration when not slicing a
QuerySetSequence
. Contributed by @EvgeneOskin. (#29)
Maintenance¶
Support Django 1.11. Contributed by @michael-k. (#26, #32)
Support Django REST Framework 3.5 and 3.6. (#26)
0.7.2 (2017-04-04)¶
Bugfixes¶
Calling an unimplemented method with parameters on
QuerySetSequence
raised a non-sensical error. (#28)
0.7.1 (2017-03-31)¶
Bugfixes¶
Maintenance¶
Support Django REST Framework 3.5. (#20)
0.7 (2016-10-20)¶
Improvements¶
Allow filtering / querying / ordering by the order of the
QuerySets
in theQuerySetSequence
by using'#'
. This allows for additional optimizations when using third-party applications, e.g. Django REST Framework. (#10, #14, #15, #16)Django REST Framework integration: includes a subclass of the
CursorPagination
from Django REST Framework underqueryset_sequence.pagination.SequenceCursorPagination
which is designed to work efficiently with aQuerySetSequence
by first ordering by internalQuerySet
, then by theordering
attribute. (#17)
Bugfixes¶
PartialInheritanceMeta
must be providedINHERITED_ATTRS
andNOT_IMPLEMENTED_ATTRS
. (#12)
Maintenance¶
Move
queryset_sequence
to an actual module in order to hide some implementation details. (#11)
0.6.1 (2016-08-03)¶
Maintenance¶
Support Django 1.10. (#9)
0.6 (2016-06-07)¶
Improvements¶
Allow specifying the
Model
to use when instantiating aQuerySetSequence
. This is required for compatibility with some third-party applications that check themodel
field for equality, e.g. when using theDjangoFilterBackend
with Django REST Framework. Contributed by @CountZachula. (#6)Support
prefetch_related
. (#7)
Bugfixes¶
Fixes an issue when using Django Debug Toolbar. (#8)
0.5 (2016-02-21)¶
Improvements¶
0.4 (2016-02-03)¶
Maintenance¶
0.3 (2016-01-29)¶
Improvements¶
Raises
NotImplementedError
forQuerySet
methods thatQuerySetSequence
does not implement. (e2c67c5, b376b87)Support
reverse()
to reverse the item ordering. (f27b2c7)Support
none()
to return anEmptyQuerySet
. (6171c11)Support
exists()
to check if aQuerySetSequence
has any results. (1aa705b)Support
select_related
to follow foreign-key relationships when generating results. (ad54d5e)
Bugfixes¶
0.2.4 (2016-01-21)¶
Improvements¶
Maintenance¶
Support Django 1.9.1. (9497e09)
0.2.3 (2016-01-11)¶
Bugfixes¶
Fixed calling
order_by()
with a single field. (5c8521c)
0.2.2 (2016-01-08)¶
Improvements¶
Support the
get()
method onQuerySetSequence
. (957a650)
0.2.1 (2016-01-08)¶
Bugfixes¶
Fixed a bug when there’s no data to iterate. (02aafac)
0.2 (2016-01-08)¶
Bugfixes¶
Do not try to instantiate
EmptyQuerySet
. (99dba06)
Maintenance¶
Fixed packaging. (9b1ae74)
0.1 (2016-01-07)¶
Support Django 1.8.0.
Various bug fixes and tests.
The initial commits on based on DjangoSnippets and other code:
DjangoSnippet 1103 by mattdw. foo_7a081bfcfc0eff2aba4d550632d9733786c65ac8
-
foo_8d989bcc36140573a0f4d5f1e0e1e99e9a90a9f4
Updated per comment 1553 by nosa_manuel. foo_ff258ca20f2a5c8e536a744fb9b64fba87046ef5
Updated per comment 4642 by esquevin. foo_04b5fe14a5e8803c2b11259ff60c095fb9da8ce3
DjangoSnippet 1933 by t_rybik. foo_93f5575b3661bd2334960767eadf4a1ba03bfb8f
django-ko-demo from The Atlantic by @fdintino. foo_0b875aeb8aaea20ba47fc2fbc285d078aee42240