Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jpclark6 committed Jan 30, 2020
1 parent e46300d commit e154f19
Show file tree
Hide file tree
Showing 6 changed files with 1,062 additions and 259 deletions.
260 changes: 3 additions & 257 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,262 +1,8 @@
3.5.0
2.3.6 #914 unpin six and fix metaclass

BACKWARD COMPATIBILITY BREAKS:
- jquery.js has been **removed** from widget.media, this means that you are
now responsible for ensuring that jquery is loaded in your page prior to
displaying the form (form.media).
- trailing dash was replaced by underscore in forward conf, ie.
dal-forward-conf-for-id_test becomes dal-forward-conf-for_id_test
2.3.5 #1001 Missing statics in previous release.

#1115: Compatibility with Django 3.0 by Alexandr Artemyev @mogost
#1079: Fixed access to $.fn.select2 by David @dwasyl
#1118: Highlight select field with error to match Django style by @tchatow
#1099: django-nested-admin forwarded field fix by @akshenc

Also, tests now run fine on Travis thanks to @jorrit-wehelp

3.4.1 Fix #1108: i18n path (thanks @philgyford for report)

3.4.0 Python 2 and Django < 2.0 support

3.3.4 re-release without dirty source

3.3.3 django < 2.0 support with dal_static contributed by @andybak

3.3.2 django.contrib.admin fix static files by @coredumperror

3.3.1

- Fixed a bug in the way jquery.init.js was being used by @coredumperror
- Set select2 container CSS class to :all: @hbielenia
- Added missing renderer parameter to render method for django 2.1 @monim67
- Fix ImportError with SELECT2_TRANSLATIONS in Django 1.x @hugorodgerbrown
- Forward argument should always be a tuple @jihoon796
- Fixed exception thrown from Select2QuerySEtView when paginate_by is set
@coredumperror

3.3.0

- use admin statics
- #981: create option behaviour
- #995: automatically generated views for generic foreign key fields
- Getting placeholder and minimumInputLength from dal select
- #1017: Initial migrations and database
- Turkish translation
- Added support for forwarded fields to Select2GenericForeignKeyModelField

3.3.0-rc6

#959

3.3.0-rc5

#895: Self() and JavaScript() forward features

3.3.0-rc4

#843: Forward logic refactored. Specifications for types of forwarded values.

3.3.0-rc3

#957 remove reference to deleted script (rebase issue introduced in
3.3.0-rc1)

3.3.0-rc2

Revert 5b37f8661, fixes tests.

3.3.0-rc1

This version supports Django 2.0 and Python 3.6, perhaps more but I have not
tested, please submit compatibility patches for older versions if needed.
Please test them with tox -e base-py36-django20-sqlite before pushing.

To install 3.3.0-rc1, use `pip install django-autocomplete-light==3.3.0-rc1`.

New features:

#953: Select2 update to 3.4.0.6-rc.1 by @jpic
#917: django-nested-admin support by @loicteixeira
#815: Simplify customization of autocomplete views by @EvaSDK
#746: Select2 Language and dynamic Media by @luzfcb
#883: Allow overwriting the results by @eayin2

Bug fixes:

#874: Fix Django 1.11.3 error by @ikcam
#933: Python 3.6 and Django 2.0 support by @jpic
#930: QuerySetSequence querysets order is not preserved by @melvyn-sopacua
#909: Prevent initilization of other selects by @loicteixeira
#904: Fix KeyError when id is not in attrs by @dwheaton
#885: Prevent rendering of empty option on multi select by @johandc
#892: Enable different item label for selected item by @maximpetrov
#926: Atomic create_object by @jpic
#718: Remove temp hack for select2 by @FuzzAU
#860: dal: widgets: use the name if we don't have the id by @xrmx
#849: Don't create a new option if an iexact-matching one already exists by @liwenyip

Also thanks to the many documentation contributors.

#874: Fix Django 1.11.3 error by @ikcam
#937: Update tutorial.rst to fix XSS in the example by @hangtwenty
#919: Better create new object example by @davideghz
#928: Add note about slim jqueries by @melvyn-sopacua

Test notes:

I have not tested this release with other Python and Django versions,
and also tests don't pass on travis despite the effort. It's working
on all browsers here and i've chased many seleniumish race conditions
but it's not enough for travis.
So, there's no docker image available with python and selenium that
looks good i'm probably going to make one at some point but it's not
today's priority as far as I'm concerned.
So, tests are run locally which means manual action, but i've left the QA
checks on travis as mandatory because i've fixed so many PEP8 mistakes
during this release ...

Congratulations for this release my friends, because a lot of great work has
been contributed by the community since last release 4 months ago.

3.2.10

#877: Return proper content type for json by @mpasternak
#819: Fixed JS autocomplete initializer by @apinsard
#871: Add many translations by @dima-kov
#879: Add classifiers in setup.py by @ad-m
#868: Fix selector used to allow clearing non-required fields.
#861: prefer pristine jQuery to the django one by @xrmx

3.2.9

HEAD is now at a44a2ed Fixed JS autocomplete initializer (#819) (#820) by
@apinsard

3.2.8

#823: Optgroup list support with Select2GroupListView by @jsurloppe
#841: Allow boolean "data-html" attribute for widget on python side by @gagarski
#839: Support for forwarding radio buttons properly by @gagarski
#839: Add checkbox handling in forwards by @marekjedrzejewski
#833: Add functional tests for rename_forward app by @gagarski

3.2.7

Remove forward.js from Select2WidgetMixin.Media by @gagarski
#838: Use namespaced jQuery in `get_forwards` by @ryan-copperleaf
#836: Queryset sequence view to display actual model name by @jsoa
3.2.5 and 3.2.6 were removed from PyPi but are the same.

3.2.4

#813: Return 400 on invalid input by @EvaSDK

3.2.3 Two seriously good community contributed bugfixes

#799: Support serializing UUIDs and add tests for models with UUIDs as PKs
by @blag
#826: Prevent rendering of empty option on multi select
by @beruic

3.2.2 Test fixes, Django 1.10 and 1.11

3.2.1

#737: TaggitSelect2: insure there's a comma when there's only one tag, or
tag "Multi word" would end up as "Multi" and "word" by
@Ixxy-Open-Source
#743: Fix placeholder not working when URL is not given to autocomplete
widget (#743) by @thauk-copperleaf
#756: Forward Capabilities Outside Admin by @gagarski

3.2.0

#745: Add list autocomplete by @dmosberger, @jpic and @thecardcheat
#754: dal_queryset_sequence documentation update by @chubz
#734: Move create_option functionality into it's own method @andybak
#741: Fix initial value not set when selected choices aren't strings
@thauk-copperleaf
#733: Advanced forward features @gagarski
#752: Add doc test to CI by @jpic
#730: Resolve SystemCheckError fields.E304 @thecardcheat
#721: Note about placement of DAL before grappelli by @chubz
#748: Update docs example about loading jquery outside the admin @jpic

Mid version number bumped as a tribute to the new major features that were
added, however, there is no know backward compatibility break from 3.1 to
3.2.

3.1.8 #727 Add missing static files

3.1.7

#714: Update select2 by @meesterguyman
#705: Improve compat with dj1.9 by @9nix00
#706: Fix extra require by @blueyed
#710: Added note for static files not checked by @geekashu
#708: Provide path with dal_select2.E001 by @blueyed
#700: Enable HTML markup in select2 item labels by @njoyard

3.1.6

#671: Create_field support with querysetsequence
#679: Allow create message translation by @maisim
#682: Extend 'forward' attribute to creating objects as well by @toudi
#666: Improved missing 'created_field' error by @guettli
#670: Javascript loading documentation
#678: Added example to update autocompletes in JS

3.1.5

#661: Field forwarding: support form prefix, and formsets at the same time.
#628: Improve option rename hook used until the patch is merged upstream in
select2.
#656: Use http.JsonResponse() to return json by @guettli
#638: System check for dal_select2 to raise an error if select2 is not
available.
#662: Examples for setting placeholder and minimum input length options in
select2.
#619: From django-sbo-selenium to pytest+splinter.

3.1.4 #646: Released way too much node_modules in select2, sorry !

3.1.3 #640: Bugfix: Taggit select2 widget in invalid forms

3.1.2

- #634: Select2 Upgrade
- #628: Do not rely on ids to fix container text
- #631: Initializing GFKs with values from forms
- #623: Fix setup.py extras by @ticosax
- #610: Cancel out Django's style on lists

3.1.1 Forgot vendor files in 3.1.0

3.1.0

- ! BC BREAK ! CreateModelField is gone, it didn't work when another field
of the form didn't validate. There isn't a really sane way to create the
option in the form field field. Instead, this is done in the view, like
in DAL v2.
- ! BC BREAK ! dal_tagulous was removed in favor of django-tagging, because
tagulous already provides its implementation of a select2 widget.
- #610 Fixed a rendering issue with multiple selects. Upstream patch
proposed but not merged yet: select2/select2#4226

For details about the current status and plan, please consult the
announcement:

http://blog.yourlabs.org/post/140477620808/django-autocomplete-light-v3-whats-going-on

3.0.4 #586 Prune select2 docs by @eraldo

3.0.3 #586 Include all in MANIFEST by @eraldo

3.0.2 #575 Prevent Django admin from setting up jQuery with noConflict

3.0.1 #573 Updated MANIFEST to include static files.

3.0.0 Rewrite: easier to use, test, maintain and support.
2.3.4 #914 pin six to 1.10

2.3.3

Expand Down
11 changes: 11 additions & 0 deletions autocomplete_light/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"""
Provide tools to enable nice autocompletes in your Django project.
"""
import django

if django.VERSION < (1, 9):
from .shortcuts import * # noqa

default_app_config = 'autocomplete_light.apps.AutocompleteLightConfig'

__version__ = (2, 3, 4)
Loading

0 comments on commit e154f19

Please sign in to comment.