diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8765231..5d68cee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -17,11 +17,11 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: 2.2.1 + rev: 2.2.4 hooks: - id: pyproject-fmt - repo: https://github.com/tox-dev/tox-ini-fmt - rev: 1.3.1 + rev: 1.4.1 hooks: - id: tox-ini-fmt - repo: https://github.com/rstcheck/rstcheck @@ -32,7 +32,7 @@ repos: - sphinx==6.1.3 - tomli==2.0.1 - repo: https://github.com/sphinx-contrib/sphinx-lint - rev: v0.9.1 + rev: v1.0.0 hooks: - id: sphinx-lint - repo: https://github.com/asottile/pyupgrade @@ -41,7 +41,7 @@ repos: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/adamchainz/django-upgrade - rev: 1.20.0 + rev: 1.21.0 hooks: - id: django-upgrade args: [--target-version, '3.2'] @@ -77,6 +77,6 @@ repos: - django-stubs==5.0.4 - types-python-dateutil - repo: https://github.com/adamchainz/djade-pre-commit - rev: 1.0.0 + rev: 1.2.0 hooks: - id: djade diff --git a/docs/changelog.rst b/docs/changelog.rst index 929f2d9..211615e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -7,7 +7,7 @@ Changelog 1.19.0 (2024-08-05) ------------------- -* Add :func:`django_htmx.http.replace_url()` for setting the ``HX-Replace-URL`` header. +* Add :func:`django_htmx.http.replace_url` for setting the ``HX-Replace-URL`` header. Thanks to Bogumil Schube in `PR #396 `__. @@ -70,17 +70,17 @@ Changelog 1.13.0 (2022-11-10) ------------------- -* Make the ``params`` argument of :func:`.trigger_client_event()` optional. +* Make the ``params`` argument of :func:`.trigger_client_event` optional. Thanks to Chris Tapper in `PR #263 `__. -* Add :func:`django_htmx.http.push_url()` for setting the ``HX-Push-URL`` header. +* Add :func:`django_htmx.http.push_url` for setting the ``HX-Push-URL`` header. Thanks to Chris Tapper in `PR #264 `__. -* Add :func:`django_htmx.http.reswap()` for setting the ``HX-Reswap`` header added in `htmx 1.8.0 `__. +* Add :func:`django_htmx.http.reswap` for setting the ``HX-Reswap`` header added in `htmx 1.8.0 `__. -* Add :func:`django_htmx.http.retarget()` for setting the ``HX-Retarget`` header added in `htmx 1.6.1 `__. +* Add :func:`django_htmx.http.retarget` for setting the ``HX-Retarget`` header added in `htmx 1.6.1 `__. * Add :class:`.HttpResponseLocation` for sending a response with the ``HX-Location`` header.