Releases: rtts/djhtml
Releases · rtts/djhtml
v1.5.1
What's Changed
- Upgrade Black by @rupertbaker in #63
- Fix interpretation of closing arrows in HTML attrs by @rupertbaker in #62
New Contributors
- @rupertbaker made their first contribution in #63
Full Changelog: v1.5.0...v1.5.1
v1.5.0
What's Changed
The behavior regarding final newlines has changed between DjHTML v1.4.14 and v1.5.0. It used to always append the final newline, but now this will only happen when the source file already contains a final newline.
See #56 for the discussion that led to this change.
If you still need the old behavior, the best option is to use https://github.com/pre-commit/pre-commit-hooks#end-of-file-fixer by adding the following to your .pre-commit-config.yaml
:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: main # replace with the latest tag on GitHub
hooks:
- id: end-of-file-fixer
New Contributors
- @thibaudcolas pointed out the inconsistent behavior in appending final newlines
Full Changelog: v1.4.14...v1.5.0
v1.4.14
What's Changed
- Improve pre-commit hook of DjCSS by @DmytroLitvinov in #55
New Contributors
- @DmytroLitvinov made their first contribution in #55
Full Changelog: v1.4.13...v1.4.14
v1.4.13
v1.4.12
v1.4.11
What's Changed
- Update pre-commit hooks by @adamchainz in #45
- Remove linting from nox by @adamchainz in #46
- Add CI run of nox on GitHub Actions by @adamchainz in #47
- Recommend using tags for pre-commit by @adamchainz in #44
- Added support for JavaScript switch statement. by @pawelpel in #49
New Contributors
Full Changelog: v1.4.10...v1.4.11
v1.4.10
What's Changed
- Support Python 3.10 by @adamchainz in #43
New Contributors
- @adamchainz made their first contribution in #43
Full Changelog: v1.4.9...v1.4.10
v1.4.9
v1.4.8
Improved Jinja whitespace control, thanks to @markus-beuckelmann