Skip to content

Commit

Permalink
fixes #104 and fixes #128
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Nov 17, 2023
1 parent a3f4caf commit a97a3f7
Show file tree
Hide file tree
Showing 9 changed files with 838 additions and 89 deletions.
3 changes: 2 additions & 1 deletion doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ Change Log

v2.1.0
======
* 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>`_
* Implemented `enum transpilation should iterate through value properties instead of hardcoding a switch statement. <https://github.com/bckohan/django-render-static/issues/125>`
* Implemented `Add type check and return to getter on transpiled enum classes.. <https://github.com/bckohan/django-render-static/issues/122>`_
* Implemented `Provide switch to turn off toString() transpilation on enums_to_js <https://github.com/bckohan/django-render-static/issues/121>`_
* 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
======
Expand Down
2 changes: 1 addition & 1 deletion render_static/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def default_env(**options):
env = Environment(**options)
env.globals.update(render_static.register.filters)
env.globals.update({
name: tag.__wrapped__
name: getattr(tag, '__wrapped__', tag)
for name, tag in render_static.register.tags.items()
})
return env
Expand Down
Loading

0 comments on commit a97a3f7

Please sign in to comment.