Skip to content

Latest commit

 

History

History
220 lines (153 loc) · 5.7 KB

CHANGES.rst

File metadata and controls

220 lines (153 loc) · 5.7 KB

0.18.1

  • Fixed serialization for options element (#112)

0.18.0

  • Add support for multiple django admin sites (#110)
  • Add support for Django 5.0 and Python 3.12

0.17.1

  • Added the completion.js.map file into the distribution to fix compatibility with Django 4.0 collectstatic (thanks to @magdapoppins);

0.17.0

  • Django 4.0 compatibility (thanks to @Lotfull);

0.16.0

  • added support for new string-specific comparison operators: startswith, not startswith, endswith, not endswith;

0.15.4

  • fixed a deprecation warning for Django 3.1 (thanks to @sainAk);

0.15.3

  • fixed django-completion bug related to removed chained models from suggestions;
  • fixed django-completion bug related to fixed circular dependencies.

Related pull requests:

0.15.2

  • fixed regression for Django < 2.1 (thanks to @derekenos for reporting the issue);

0.15.1

  • fixed url() deprecation warnings for Django 3.1+ (thanks to @ecilveks);

0.15.0

  • the completion JavaScript widget has been moved to its own repo and is now available as a standalone package on npm. It still ships with the Python package, though, so if you don't need to embed the completion widget in your custom JavaScript application, no additional installation steps are required;
  • added support for GenericIPAddressField (thanks to @HannaShalamitskaya for reporting the issue);
  • the source code is now linted with flake8 and isort;

0.14.5

  • added a help text to some operators;
  • fixed the background color in the dark mode (django 3.2+);

0.14.4

  • add ~ operator for date/datetime fields;

0.14.3

  • write_tables argument for PLY parser is now disabled by default. This change prevents an error that may arise if DjangoQL is installed into un-writeable location (#63, #53. Thanks to @sochotnicky for the PR);
  • fixed quotes handling in completion widget (#62, thanks to @nicolazilio for reporting this);

0.14.2

  • add basic support for models.BinaryField (thanks to @Akay7);

0.14.1

  • fixed inconsistency in search by fields with choices (#58, thanks to @pandichef for reporting this);
  • Officially compatible with Python 3.9 (no changes in the code, just added it to the test matrix);

0.14.0

  • New feature: field suggestion options are now loaded asynchronously via Suggestions API;
  • Breaking: DjangoQLField.get_options() now accepts mandatory search parameter. If you've implemented custom suggestion options for your schema, please add handling of this parameter (you should only return results that match search criteria);
  • Breaking: when using in the admin together with the standard Django search, DjangoQL checkbox is now on by default. If you don't want this behavior, you can turn it off with djangoql_completion_enabled_by_default option. Thanks to @nicolazilio for the idea;
  • Deprecated: if you've used DjangoQLSchema.as_dict() somewhere in your code, please switch to new schema serializers instead (see in serializers.py);
  • Improved field customization examples in the docs (#55, thanks to @joeydebreuk);
  • Added support for Django 3.1.x (#57, thanks to @jleclanche)

0.13.1

  • Fixed compatibility with upcoming Django 3.0 (thanks to @vkrizan for the reminder);

0.13.0

  • Added "DjangoQL syntax help" link to the error messages in Django admin (thanks to @AngellusMortis for the idea);

0.12.6

  • Fixed: DateField and DateTimeField lookups no longer crash on comparison with None (thanks to @st8st8);
  • Officially compatible with Django 2.2 (no changes in the code, just added it to the test matrix);

0.12.5

  • Added convenience method DjangoQLSearchMixin.djangoql_search_enabled() (thanks to @MilovanovM);

0.12.4

  • DjangoQL syntax help page in admin now requires users to be logged-in (thanks to @OndrejIT);

0.12.3

  • Fixed removal/override of related fields, when the referenced model is linked from more parent models on multiple levels (thanks to @vkrizan);

0.12.2

  • fixed weird completion widget behavior for unknown field types (thanks to @vkrizan);

0.12.0

  • completion widget now supports passing either CSS selector or HTMLElement instance (thanks to @vkrizan);

0.11.0

  • completion widget converted to a constructable JS object to improve its compatibility with JS frameworks (thanks to @vkrizan);

0.10.3

  • DjangoQL no longer depends on ContentType. Fixes use cases when the package is used without Django admin and ContentType is not used;

0.10.2

  • Removed .DS_Store from the distribution (thanks to @vkrizan);

0.10.1

  • Added Python 3.7 and Django 2.1 to the test matrix;
  • removed PYTHONDONTWRITEBYTECODE from the setup.py and added test_project to the distribution (thanks to @vkrizan);

0.10.0

  • Introducing Search Modes in the admin: now users can switch between Advanced Search mode (DjangoQL) and a standard Django search that you define with search_fields in your ModelAdmin;

0.9.1

  • Improved schema auto-generation. Now it avoids adding fields that may cause circular references, like author.book.author.book...;

0.9.0

  • Fixed compatibility with Django 2.0, added Django 2.0 to the test matrix;