Skip to content

Bump django-autocomplete-light from 3.11.0 to 4.0.1#1524

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/django-autocomplete-light-4.0.1
Open

Bump django-autocomplete-light from 3.11.0 to 4.0.1#1524
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/django-autocomplete-light-4.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 11, 2026

Copy link
Copy Markdown
Contributor

Bumps django-autocomplete-light from 3.11.0 to 4.0.1.

Changelog

Sourced from django-autocomplete-light's changelog.

4.0.1

Fixes
- [#1417](https://github.com/yourlabs/django-autocomplete-light/issues/1417)        ModelSelect2(Multiple) without a URL now renders the full
               queryset again (regression: Select2InitialRenderMixin
               unconditionally narrowed choices to selected PKs at render
               time, breaking non-AJAX edit forms)
- [#1333](https://github.com/yourlabs/django-autocomplete-light/issues/1333)        WidgetMixin.forward list is now copied on __init__ and
               __deepcopy__, preventing silent mutation across form
               subclasses that share a base class widget instance
               (port of upstream PR [#1358](https://github.com/yourlabs/django-autocomplete-light/issues/1358))

4.0.0

BREAKING: drop Python < 3.11 and Django < 5.2
BREAKING: remove packages dal_genericm2m, dal_gm2m, dal_select2_tagging,
          dal_legacy_static, dal_genericm2m_queryset_sequence,
          dal_gm2m_queryset_sequence

Packaging

  • Migrate setup.py → pyproject.toml (PEP 517/518)
  • python_requires = ">=3.11", django >= 5.2
  • Build: python -m build (PR #1383 by dimbleby)
  • package.json version synced to 4.0.0

CI

  • Matrix: py{311,312,313,314}-dj52, py{312,313,314}-dj{60,main}
  • Migrate linter flake8 → ruff
  • GitHub Actions: actions/checkout@v6, actions/setup-python@v6

Fixes

  • #1076/#1292 Select2InitialRenderMixin: pre-selected values now render correctly on edit forms for all Select2 widgets
  • #1357 ModelSelect2Multiple.filter_choices_to_render: preserve Select2 submission order via Case/When; fix empty-selection regression that left queryset unfiltered
  • #1398 allowClear: only enabled when a non-empty placeholder is set, satisfying Select2 4.x contract; use space as fallback
  • #1311 HTMX afterSettle listener now includes root element via .find(...).addBack(...) for outerHTML swap support
  • #1334 WidgetMixin.init: (kwargs.get("attrs") or {}) guards against explicit attrs=None
  • #1396 Remove Python 2 dead code (lru_cache try/except, collections.Sequence try/except)

Cleanup

  • Removed dal_legacy_static (~6 500 lines of unused JS/CSS)
  • Removed VERSION guards for Django < 2.0 and Python 2 compat shims
  • Removed super(Class, self), unicode_literals, bare excepts
  • Docs: removed genericm2m/gm2m/tagging sections; updated for Django 5.2+

... (truncated)

Commits
  • dd64382 docs: fix tutorial title
  • 008dd48 release: bump to 4.0.1, add #1417 to changelog
  • f6b2f29 fix: docs/requirements.txt to reduce vulnerabilities
  • 8e76f61 docs: fix stale alight-backend branch links to master
  • 8d2289d fix(lint): remove unused imports from dal/views.py
  • 0c2950f refactor: address jpic review — widgets, views, JS, CSS cleanup
  • 43b1c30 fix(ci): resolve ruff and docs warnings
  • bf0ee30 docs: fix version to 4.0.0 and drop hardcoded v3 mention
  • d1fa0c3 docs: put dal_alight first everywhere
  • 8e49aef docs: make dal_alight the primary frontend throughout
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [django-autocomplete-light](https://github.com/yourlabs/django-autocomplete-light) from 3.11.0 to 4.0.1.
- [Release notes](https://github.com/yourlabs/django-autocomplete-light/releases)
- [Changelog](https://github.com/yourlabs/django-autocomplete-light/blob/master/CHANGELOG)
- [Commits](yourlabs/django-autocomplete-light@3.11.0...v4.0.1)

---
updated-dependencies:
- dependency-name: django-autocomplete-light
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants