Skip to content

Commit d76e7fc

Browse files
authored
Merge pull request #154 from bckohan/v3.0.0
V3.0.0
2 parents 2751518 + a637bd0 commit d76e7fc

File tree

5 files changed

+63
-49
lines changed

5 files changed

+63
-49
lines changed

.github/workflows/lint.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,19 @@ jobs:
1919
# run static analysis on bleeding and trailing edges
2020
python-version: [ '3.9', '3.12' ]
2121
django-version:
22-
- 'Django~=3.2.0' # LTS April 2024
23-
- 'Django~=4.2.0' # LTS April 2026
24-
- 'Django~=5.0.0'
22+
- '3.2' # LTS April 2024
23+
- '4.2' # LTS April 2026
24+
- '5.0' # April 2025
25+
- '5.1b1' # December 2025
2526
exclude:
2627
- python-version: '3.9'
27-
django-version: 'Django~=4.2.0'
28+
django-version: '4.2'
2829
- python-version: '3.9'
29-
django-version: 'Django~=5.0.0'
30+
django-version: '5.0'
3031
- python-version: '3.12'
31-
django-version: 'Django~=3.2.0'
32+
django-version: '3.2'
33+
- python-version: '3.9'
34+
django-version: '5.1b1'
3235

3336
steps:
3437
- uses: actions/checkout@v4
@@ -48,7 +51,7 @@ jobs:
4851
poetry config virtualenvs.in-project true
4952
poetry run pip install --upgrade pip
5053
poetry install -E all
51-
poetry run pip install -U "${{ matrix.django-version }}"
54+
poetry run pip install -U "Django~=${{ matrix.django-version }}"
5255
- name: Install Emacs
5356
if: ${{ github.event.inputs.debug == 'on' }}
5457
run: |

.github/workflows/test.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,23 @@ jobs:
2121
matrix:
2222
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
2323
django-version:
24-
- '3.2.0' # LTS April 2024
25-
- '4.2.0' # LTS April 2026
26-
- '5.0.0' # April 2025
24+
- '3.2' # LTS April 2024
25+
- '4.2' # LTS April 2026
26+
- '5.0' # April 2025
27+
- '5.1b1' # December 2025
2728
exclude:
2829
- python-version: '3.11'
29-
django-version: '3.2.0'
30+
django-version: '3.2'
3031
- python-version: '3.12'
31-
django-version: '3.2.0'
32+
django-version: '3.2'
3233
- python-version: '3.8'
33-
django-version: '5.0.0'
34+
django-version: '5.0'
3435
- python-version: '3.9'
35-
django-version: '5.0.0'
36+
django-version: '5.0'
37+
- python-version: '3.8'
38+
django-version: '5.1b1'
39+
- python-version: '3.9'
40+
django-version: '5.1b1'
3641

3742
steps:
3843
- uses: actions/checkout@v4

doc/source/changelog.rst

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22
Change Log
33
==========
44

5-
v3.0.0
6-
======
5+
v3.0.0 (15-JUL-2024)
6+
====================
7+
8+
* Implemented `Support Django 5.1 <https://github.com/bckohan/django-render-static/issues/153>`_
9+
10+
v3.0.0 (07-JUN-2024)
11+
====================
712

813
**This is a major version upgrade - please see migration guide for instructions
914
on how to** :ref:`migrate from version 2.x to 3.x. <migration_2_3>`
@@ -16,37 +21,37 @@ on how to** :ref:`migrate from version 2.x to 3.x. <migration_2_3>`
1621
* Fixed `Support django-typer version 2.1 <https://github.com/bckohan/django-render-static/issues/144>`_
1722

1823

19-
v2.2.1
20-
======
24+
v2.2.1 (11-APR-2024)
25+
====================
2126

2227
* Fixed `Custom URL converts may expect reversal kwargs to be of a given type. <https://github.com/bckohan/django-render-static/issues/141>`_
2328
* Fixed `Switch README and CONTRIBUTING to markdown. <https://github.com/bckohan/django-render-static/issues/140>`_
2429

25-
v2.2.0
26-
======
30+
v2.2.0 (27-FEB-2024)
31+
====================
2732

2833
* Implemented `Refactor renderstatic command using TyperCommand <https://github.com/bckohan/django-render-static/issues/137>`_
2934
* Implemented `Allow enum class writer to_string parameter to be the name of a property to return from toString() <https://github.com/bckohan/django-render-static/issues/132>`_
3035

31-
v2.1.3
32-
======
36+
v2.1.3 (12-DEC-2023)
37+
====================
3338

3439
* Fixed `Support Django 5.0 <https://github.com/bckohan/django-render-static/issues/136>`_
3540

3641

37-
v2.1.2
38-
======
42+
v2.1.2 (21-NOV-2023)
43+
====================
3944

4045
* Fixed `deepEqual should only be included by ClassURLWriter when Django version is less than 4.1 <https://github.com/bckohan/django-render-static/issues/134>`_
4146
* Fixed `deepEqual generated code in ClassURLWriter has an error <https://github.com/bckohan/django-render-static/issues/133>`_
4247

43-
v2.1.1
44-
======
48+
v2.1.1 (20-NOV-2023)
49+
====================
4550

4651
* Fixed `include_properties can result in non-deterministic ordering of constructor parameters that changes render to render <https://github.com/bckohan/django-render-static/issues/131>`_
4752

48-
v2.1.0
49-
======
53+
v2.1.0 (20-NOV-2023)
54+
====================
5055
* Implemented `Support templating of destination paths. <https://github.com/bckohan/django-render-static/issues/129>`_
5156
* Implemented `Support configurable case insensitive property mapping on enum transpilation. <https://github.com/bckohan/django-render-static/issues/128>`_
5257
* Implemented `Add a pass through getter for enums_to_js transpilation. <https://github.com/bckohan/django-render-static/issues/126>`_
@@ -56,23 +61,23 @@ v2.1.0
5661
* Implemented `Allow include_properties to be a list of properties on enums_to_js <https://github.com/bckohan/django-render-static/issues/119>`_
5762
* Implemented `Extension points for transpiled code. <https://github.com/bckohan/django-render-static/issues/104>`_
5863

59-
v2.0.3
60-
======
64+
v2.0.3 (09-NOV-2023)
65+
====================
6166
* Fixed `Invalid URL generation for urls with default arguments. <https://github.com/bckohan/django-render-static/issues/124>`_
6267

6368

64-
v2.0.2
65-
======
69+
v2.0.2 (26-OCT-2023)
70+
====================
6671
* Fixed `Dependency bug, for python < 3.9 importlib_resource req should simply be >=1.3 <https://github.com/bckohan/django-render-static/issues/123>`_
6772

6873

69-
v2.0.1
70-
======
74+
v2.0.1 (24-OCT-2023)
75+
====================
7176
* Fixed `enums_to_js allows 'name' property through even if it is excluded. <https://github.com/bckohan/django-render-static/issues/120>`_
7277

7378

74-
v2.0.0
75-
======
79+
v2.0.0 (21-OCT-2023)
80+
====================
7681

7782
**This is a major version upgrade - please see migration guide for instructions
7883
on how to** :ref:`migrate from version 1.x to 2.x. <migration_1_2>`
@@ -105,40 +110,40 @@ on how to** :ref:`migrate from version 1.x to 2.x. <migration_1_2>`
105110
* Fixed `Multilevel url arguments not working <https://github.com/bckohan/django-render-static/issues/13>`_
106111
* Implemented `Enum support <https://github.com/bckohan/django-render-static/issues/4>`_
107112

108-
v1.1.6
113+
v1.1.6 (15-FEB-2023)
109114
====================
110115

111116
* Fixed `LICENSE is packaged as source. <https://github.com/bckohan/django-render-static/issues/95>`_
112117

113-
v1.1.5
118+
v1.1.5 (16-JAN-2023)
114119
====================
115120

116121
* Fixed `Support python 3.11 <https://github.com/bckohan/django-render-static/issues/77>`_
117122
* Fixed `Drop support for python 3.6 <https://github.com/bckohan/django-render-static/issues/70>`_
118123
* Fixed `Upgrade build tooling to poetry 1.2 <https://github.com/bckohan/django-render-static/issues/69>`_
119124

120-
v1.1.4
125+
v1.1.4 (20-AUG-2022)
121126
====================
122127

123128
* Fixed `urls_to_js output is incorrect when default kwargs specified in path() <https://github.com/bckohan/django-render-static/issues/65>`_
124129

125-
v1.1.3
130+
v1.1.3 (18-JAN-2022)
126131
====================
127132

128133
* Fixed `Django4.0 Support <https://github.com/bckohan/django-render-static/issues/45>`_
129134

130-
v1.1.2
135+
v1.1.2 (08-OCT-2021)
131136
====================
132137

133138
* Fixed `Jinja2 include breaks Jinja2 as optional dependency <https://github.com/bckohan/django-render-static/issues/34>`_
134139

135-
v1.1.1
140+
v1.1.1 (12-JUL-2021)
136141
====================
137142

138143
* Support for Jinja2 3.0
139144
* Improved importlib.resources inclusion logic
140145

141-
v1.1.0
146+
v1.1.0 (12-JUN-2021)
142147
====================
143148

144149
* Added `Support batch rendering & glob patterns in template selectors <https://github.com/bckohan/django-render-static/issues/15>`_
@@ -148,14 +153,14 @@ v1.1.0
148153
* Added `Add GET query parameters to ClassURLWriter's reverse function <https://github.com/bckohan/django-render-static/issues/12>`_
149154

150155

151-
v1.0.1
156+
v1.0.1 (24-APR-2021)
152157
====================
153158

154159
* Fixed `Bound complexity of URL Generation <https://github.com/bckohan/django-render-static/issues/10>`_
155160
* Fixed `Unnamed/named urls of the same name sometimes fail <https://github.com/bckohan/django-render-static/issues/9>`_
156161
* Fixed `Default placeholders not activated <https://github.com/bckohan/django-render-static/issues/8>`_
157162

158-
v1.0.0
163+
v1.0.0 (21-APR-2021)
159164
====================
160165

161166
* New abstract visitor pattern allows customization of generated URL resolution javascript
@@ -168,13 +173,13 @@ v1.0.0
168173
* API is now considered production/stable.
169174

170175

171-
v0.1.1
176+
v0.1.1 (02-MAR-2021)
172177
====================
173178

174179
* Added common placeholders, and placeholders for allauth and DRF
175180

176181

177-
v0.1.0
182+
v0.1.0 (24-FEB-2021)
178183
====================
179184

180185
* Initial Release

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-render-static"
3-
version = "3.0.0"
3+
version = "3.0.1"
44
description = "Use Django's template engine to render static files at deployment or package time. Includes transpilers for extending Django's url reversal and enums to JavaScript."
55
authors = ["Brian Kohan <[email protected]>"]
66
license = "MIT"
@@ -19,6 +19,7 @@ classifiers = [
1919
"Framework :: Django :: 4.1",
2020
"Framework :: Django :: 4.2",
2121
"Framework :: Django :: 5.0",
22+
"Framework :: Django :: 5.1",
2223
"Intended Audience :: Developers",
2324
"License :: OSI Approved :: MIT License",
2425
"Natural Language :: English",

render_static/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
"""
99

10-
VERSION = (3, 0, 0)
10+
VERSION = (3, 0, 1)
1111

1212
__title__ = "Django Render Static"
1313
__version__ = ".".join(str(i) for i in VERSION)

0 commit comments

Comments
 (0)