Skip to content

Releases: clokep/django-querysetsequence

0.17 (2023-06-27)

27 Jun 17:47
Compare
Choose a tag to compare

Bugfixes

  • None values are now appropriately sorted first or last (depending on database support. Contributed by @vuongdv-spinshell.
    (#97)

Improvements

Maintenance

  • Support Python 3.11. (#101)
  • Support Django 4.0, 4.1, and 4.2. (#83, #102)
  • Support Django REST Framework 3.14. (#101)
  • Drop support for Python 3.7. (#102)
  • Drop support for Django 2.2 and 3.1. (#98)
  • Drop support for Django REST Framework < 3.11. (#98)

v0.16 (2022-04-01)

27 Jun 17:45
Compare
Choose a tag to compare

Improvements

  • Fix QuerySetSequence's support with Django REST Framework's DjangoFilterBackend by accepting a model parameter. If one is not provided, a dummy model is used to provide a reasonable DoesNotExist error. Contributed by @j0nm1. (#88)

Maintenance

v0.15

24 Feb 13:58
Compare
Choose a tag to compare

0.15 (2021-12-10)

Improvements

  • Support Django 4.0. (#83)
  • Support the contains() method. (#85)

Maintenance

  • Drop support for Django 3.0. (#83)
  • Changed packaging to use setuptools declarative config in setup.cfg. (#84)

v0.14

24 Feb 13:57
Compare
Choose a tag to compare

0.14 (2021-02-26)

Improvements

  • Support Django 3.2. (#78, #81)
  • Support Python 3.9. (#78)
  • Support the values() and values_list() methods. (#73, #74)
  • Support the distinct() method when each QuerySet instance is from a unique model. Contributed by @jpic. (#77, #80)
  • Add Sphinx documentation which is available at Read the Docs.

Bugfixes

Maintenance

  • Add an additional test for the interaction of order_by() and only(). (#72)
  • Support Django REST Framework 3.12. (#75)
  • Switch continuous integration to GitHub Actions. (#79)
  • Drop support for Python 3.5. (#82)

v0.13

24 Feb 13:56
Compare
Choose a tag to compare

0.13 (2020-07-27)

Improvements

  • Support Django 3.1. (#69)
  • Drop support for Django < 2.2. (#70)

Bugfixes

  • explain() now passes through parameters to the underlying QuerySet instances. (#69)
  • Fixes compatibility issue with ModelChoiceField. Contributed by @jpic. (#68)

Maintenance

  • Drop support for Django < 2.2. (#70)

v0.12

24 Feb 13:55
dee2997
Compare
Choose a tag to compare

0.12 (2019-12-20)

Bugfixes

  • Do not use is not to compare to an integer literal. (#61)

Maintenance

  • Support Django 3.0. (#59)
  • Support Python 3.8. (#59)
  • Support Django REST Framework 3.10 and 3.11. (#59, #64)
  • Drop support for Python 2.7. (#59)
  • Drop support for Django 2.0 and 2.1. (#59)

v0.11

24 Feb 13:55
Compare
Choose a tag to compare

0.11 (2019-04-25)

Improvements

  • Add a QuerySetSequence specific method: get_querysets(). Contributed by @optiz0r. (#53)

Maintenance

v0.10

24 Feb 13:53
Compare
Choose a tag to compare

0.10 (2018-10-09)

Improvements

  • Support first(), last(), latest(), and earliest() methods. (#40, #49)
  • Support the [& and | operators. (#41)
  • Support defer() and only() methods to control which fields are returned. (#44)
  • Support calling using() to switch databases for an entire QuerySetSequence. (#44)
  • Support calling extra(), update(), and annotate() which get applied to each QuerySet. (#46, #47)
  • Support calling explain() on Django >= 2.1. (#48)

Bugfixes

  • Raise NotImplementedError on unimplemented methods. This fixes a regression introduced in 0.9. (#42)
  • Expand tests for empty QuerySet instances. (#43)

v0.9

24 Feb 13:52
Compare
Choose a tag to compare

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 of QuerySet and should improve interactions with other packages which modify QuerySet. (#38)

Maintenance

  • Support Django REST Framework 3.7 and 3.8. (#33, #39)
  • Support Django 2.0 and 2.1. Contributed by @michael-k. (#35, #39)
  • Drop support for Django < 1.11. Django 1.11 and above are supported. This also drops support for Django REST Framework < 3.4, since they do not support Django 1.11. (#36)

v0.8

24 Feb 13:51
Compare
Choose a tag to compare

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)