Skip to content

chore(deps): bump django-htmx from 1.27.0 to 1.28.0#15251

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/pip/dev/django-htmx-1.28.0
Open

chore(deps): bump django-htmx from 1.27.0 to 1.28.0#15251
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/pip/dev/django-htmx-1.28.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 15, 2026

Copy link
Copy Markdown
Contributor

Bumps django-htmx from 1.27.0 to 1.28.0.

Changelog

Sourced from django-htmx's changelog.

1.28.0 (2026-07-12)

  • Support htmx version 4 <https://four.htmx.org/>__ (beta), available by adding version=4 to the :doc:template tags \<template_tags>. The default htmx version remains 2, since htmx 4 is in beta. When htmx 4 is released, the default will be updated to 4 in a future major release of django-htmx.

    For example, with the Django templates htmx_script tag:

    .. code-block:: django

    {% htmx_script version=4 %}
    

    The :doc:example project <example_project> now uses htmx 4, to demonstrate its usage.

    See the htmx 4 migration guide <https://four.htmx.org/docs#migration>__ for guidance on adopting version 4.

    PR [#606](https://github.com/adamchainz/django-htmx/issues/606) <https://github.com/adamchainz/django-htmx/pull/606>__.

  • Extend the request.htmx object with two new attributes based on new htmx-4-only attributes:

    • :attr:HtmxDetails.request_type <django_htmx.middleware.HtmxDetails.request_type>, based on the |HX-Request-Type header|__ that indicates if the request is for full or partial content.
    • :attr:HtmxDetails.source <django_htmx.middleware.HtmxDetails.source>, based on the |HX-Source request header|__ that htmx 4 sends instead of HX-Trigger/HX-Trigger-Name.

    .. |HX-Source request header| replace:: HX-Source request header __ https://four.htmx.org/reference/headers/HX-Source

    .. |HX-Request-Type header| replace:: HX-Request-Type request header __ https://four.htmx.org/reference/headers/HX-Request-Type

    PR [#606](https://github.com/adamchainz/django-htmx/issues/606) <https://github.com/adamchainz/django-htmx/pull/606>__.

  • Add Django 6.1 support.

  • Drop Django 4.2 to 5.1 support.

Commits

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-htmx](https://github.com/adamchainz/django-htmx) from 1.27.0 to 1.28.0.
- [Changelog](https://github.com/adamchainz/django-htmx/blob/main/docs/changelog.rst)
- [Commits](adamchainz/django-htmx@1.27.0...1.28.0)

---
updated-dependencies:
- dependency-name: django-htmx
  dependency-version: 1.28.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Jul 15, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 15, 2026
@Maffooch Maffooch added this to the 3.2.0 milestone Jul 15, 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.

1 participant