Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,19 @@ jobs:
# run static analysis on bleeding and trailing edges
python-version: [ '3.9', '3.12' ]
django-version:
- 'Django~=3.2.0' # LTS April 2024
- 'Django~=4.2.0' # LTS April 2026
- 'Django~=5.0.0'
- '3.2' # LTS April 2024
- '4.2' # LTS April 2026
- '5.0' # April 2025
- '5.1b1' # December 2025
exclude:
- python-version: '3.9'
django-version: 'Django~=4.2.0'
django-version: '4.2'
- python-version: '3.9'
django-version: 'Django~=5.0.0'
django-version: '5.0'
- python-version: '3.12'
django-version: 'Django~=3.2.0'
django-version: '3.2'
- python-version: '3.9'
django-version: '5.1b1'

steps:
- uses: actions/checkout@v4
Expand All @@ -48,7 +51,7 @@ jobs:
poetry config virtualenvs.in-project true
poetry run pip install --upgrade pip
poetry install -E all
poetry run pip install -U "${{ matrix.django-version }}"
poetry run pip install -U "Django~=${{ matrix.django-version }}"
- name: Install Emacs
if: ${{ github.event.inputs.debug == 'on' }}
run: |
Expand Down
19 changes: 12 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,23 @@ jobs:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
django-version:
- '3.2.0' # LTS April 2024
- '4.2.0' # LTS April 2026
- '5.0.0' # April 2025
- '3.2' # LTS April 2024
- '4.2' # LTS April 2026
- '5.0' # April 2025
- '5.1b1' # December 2025
exclude:
- python-version: '3.11'
django-version: '3.2.0'
django-version: '3.2'
- python-version: '3.12'
django-version: '3.2.0'
django-version: '3.2'
- python-version: '3.8'
django-version: '5.0.0'
django-version: '5.0'
- python-version: '3.9'
django-version: '5.0.0'
django-version: '5.0'
- python-version: '3.8'
django-version: '5.1b1'
- python-version: '3.9'
django-version: '5.1b1'

steps:
- uses: actions/checkout@v4
Expand Down
71 changes: 38 additions & 33 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
Change Log
==========

v3.0.0
======
v3.0.0 (15-JUL-2024)
====================

* Implemented `Support Django 5.1 <https://github.com/bckohan/django-render-static/issues/153>`_

v3.0.0 (07-JUN-2024)
====================

* Implemented `Move tests into top level directory. <https://github.com/bckohan/django-render-static/issues/149>`_
* Implemented `Remove wrapped dependency required mishegoss and replace with jinja2 module level imports <https://github.com/bckohan/django-render-static/issues/148>`_
Expand All @@ -12,37 +17,37 @@ v3.0.0
* Fixed `Support django-typer version 2.1 <https://github.com/bckohan/django-render-static/issues/144>`_


v2.2.1
======
v2.2.1 (11-APR-2024)
====================

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

v2.2.0
======
v2.2.0 (27-FEB-2024)
====================

* Implemented `Refactor renderstatic command using TyperCommand <https://github.com/bckohan/django-render-static/issues/137>`_
* 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>`_

v2.1.3
======
v2.1.3 (12-DEC-2023)
====================

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


v2.1.2
======
v2.1.2 (21-NOV-2023)
====================

* 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>`_
* Fixed `deepEqual generated code in ClassURLWriter has an error <https://github.com/bckohan/django-render-static/issues/133>`_

v2.1.1
======
v2.1.1 (20-NOV-2023)
====================

* 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>`_

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

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


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


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


v2.0.0
======
v2.0.0 (21-OCT-2023)
====================

**This is a major version upgrade - please see migration guide for instructions
on how to** :doc:`migration` **from version 1.x to 2.x.**
Expand Down Expand Up @@ -101,40 +106,40 @@ on how to** :doc:`migration` **from version 1.x to 2.x.**
* Fixed `Multilevel url arguments not working <https://github.com/bckohan/django-render-static/issues/13>`_
* Implemented `Enum support <https://github.com/bckohan/django-render-static/issues/4>`_

v1.1.6
v1.1.6 (15-FEB-2023)
====================

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

v1.1.5
v1.1.5 (16-JAN-2023)
====================

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

v1.1.4
v1.1.4 (20-AUG-2022)
====================

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

v1.1.3
v1.1.3 (18-JAN-2022)
====================

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

v1.1.2
v1.1.2 (08-OCT-2021)
====================

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

v1.1.1
v1.1.1 (12-JUL-2021)
====================

* Support for Jinja2 3.0
* Improved importlib.resources inclusion logic

v1.1.0
v1.1.0 (12-JUN-2021)
====================

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


v1.0.1
v1.0.1 (24-APR-2021)
====================

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

v1.0.0
v1.0.0 (21-APR-2021)
====================

* New abstract visitor pattern allows customization of generated URL resolution javascript
Expand All @@ -164,13 +169,13 @@ v1.0.0
* API is now considered production/stable.


v0.1.1
v0.1.1 (02-MAR-2021)
====================

* Added common placeholders, and placeholders for allauth and DRF


v0.1.0
v0.1.0 (24-FEB-2021)
====================

* Initial Release
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-render-static"
version = "3.0.0"
version = "3.0.1"
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."
authors = ["Brian Kohan <[email protected]>"]
license = "MIT"
Expand All @@ -19,6 +19,7 @@ classifiers = [
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
Expand Down
2 changes: 1 addition & 1 deletion render_static/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

"""

VERSION = (3, 0, 0)
VERSION = (3, 0, 1)

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