Skip to content

Latest commit

 

History

History
229 lines (157 loc) · 7.5 KB

CHANGELOG.rst

File metadata and controls

229 lines (157 loc) · 7.5 KB

Changelog

0.10 (July 15, 2024)

No changes from 0.10b1.

0.10b1 (July 1, 2024)

Bugfixes

  • Fixes exception propagation when rendering templates. Contributed by @yaakovLowenstein. (#52)
  • Fix rendering blocks over multiple extended templates. (#56)

Maintenance

  • Support Python 3.11 and 3.12. (#44, #55)
  • Drop support for Python 3.7. (#44)
  • Support Django 4.2, 5.0 and 5.1. (#44, #55)
  • Drop support for Django < 3.2; Django 4.0; Django 4.1. (#44, #55)
  • Add type hints and configure mypy. (#54)

0.9.2 (October 18, 2022)

Maintenance

0.9.1 (December 15, 2021)

Maintenance

  • Support Python 3.10. (#33)
  • Fixed a packaging issue where the generated wheels were empty. Contributed by @cordery. (#35)

0.9 (December 14, 2021)

Maintenance

  • Drop support for Django 3.0. (#31)
  • Support Django 3.2 and 4.0. (#27, #31)
  • Switch continuous integration to GitHub Actions. (#26, #28)
  • Changed packaging to use setuptools declarative config in setup.cfg. (#32)

0.8.1 (October 15, 2020)

Bugfixes

  • Fixes a regression in v0.8 where a Context could not be re-used. Contributed by @evanbrumley. (#25)

0.8 (October 6, 2020)

Bugfixes

  • render_block_to_string now forwards the Context passed as context parameter. Contributed by @bblanchon. (#21)

Maintenance

  • Drop support for Python 3.5, support Python 3.9. (#22)

0.7 (July 13, 2020)

Maintenance

  • Drop support for Django < 2.2. (#18)
  • Support Django 3.0 and 3.1. (#18, #20)
  • Drop support for Python 2.7. (#19)
  • Support Python 3.8. (#18)

0.6 (May 8, 2019)

Improvements

  • render_block_to_string now optionally accepts a request parameter. If given, a RequestContext instead of a Context is used when rendering with the Django templating engine. Contributed by @vintage. (#15)

Maintenance

  • Support Django 1.11, 2.1, and 2.2. (#9, #11, #17)
  • Support Python 2.7, 3.5, 3.6, and 3.7. (#9, #17)
  • Fix rendering of README on PyPI. Contributed by @mixxorz. (#10)

0.5 (September 1, 2016)

Bugfixes

  • Fixes a major issue with inheriting templates and rendering a block found in the parent template, but overwriting part of it in the child template. (#8)

0.4 (August 4, 2016)

Improvements

  • Initial support for using the Jinja2 templating engine. See README for caveats. (#3)

Maintenance

  • Support Django 1.10. (#5)
  • Support Python 3. (#6)

0.3.1 (June 1, 2016)

Maintenance

  • Refactoring to make more generic (for potentially supporting multiple templating engines).

0.3 (May 27, 2016)

  • Largely rewritten.
  • Support Django 1.8 and 1.9:
    • Guards against different template backends.
    • Uses internal APIs for each node.
    • Removed context_instance parameter.
    • Support for calling {{ block.super }}.

0.2.2 (January 10, 2011)

0.2.1 (August 27, 2010)

0.2 (August 4, 2008)

  • Updated version from Django Snippet 942 by zbyte64.
  • Improves include:
    1. Simpler/better handling of "extends" block tag
    2. Searches If/Else blocks
    3. Less code
    4. Allow list of templates to be passed which is closer to the behavior of render_to_response

0.1 (May 22, 2008)