Skip to content

Commit c6274bb

Browse files
feat: add support for django52
1 parent dadb988 commit c6274bb

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
python-version:
1818
- '3.11'
1919
- '3.12'
20-
toxenv: [quality, docs, django42]
20+
toxenv: [quality, docs, django42, django52]
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: setup python
@@ -37,7 +37,7 @@ jobs:
3737
run: tox
3838

3939
- name: Run coverage
40-
if: matrix.python-version == '3.12' && matrix.toxenv == 'django42'
40+
if: matrix.python-version == '3.12' && matrix.toxenv == 'django52'
4141
uses: codecov/codecov-action@v5
4242
with:
4343
flags: unittests

CHANGELOG.rst

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ Change Log
1414
Unreleased
1515
~~~~~~~~~~
1616

17+
[0.8.0] - 2025-04-17
18+
~~~~~~~~~~~~~~~~~~~~
19+
20+
* Add support for django 5.2.
21+
1722
[0.7.1] - 2025-02-28
1823
~~~~~~~~~~~~~~~~~~~~
1924

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def is_requirement(line):
151151
'Development Status :: 3 - Alpha',
152152
'Framework :: Django',
153153
'Framework :: Django :: 4.2',
154+
'Framework :: Django :: 5.2',
154155
'Intended Audience :: Developers',
155156
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
156157
'Natural Language :: English',

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[tox]
2-
envlist = py{311, 312}-django{42}, quality, docs
2+
envlist = py{311, 312}-django{42,52}, quality, docs
33

44
[testenv]
55
deps =
66
django42: Django>=4.2,<4.3
7+
django52: Django>=5.2,<5.3
78
-r{toxinidir}/requirements/test.txt
89
commands =
910
python -Wd -m pytest {posargs}

xss_utils/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""
22
Utilities to prevent possible XSS attacks on Django/Mako templates..
33
"""
4-
__version__ = '0.7.1'
4+
__version__ = '0.8.0'

0 commit comments

Comments
 (0)