Releases: rtts/djhtml
3.0.10
3.0.9
What's Changed
- Type annotations by @JaapJoris in #127
- This is the first release that also publishes wheels (#128, thanks @dimbleby!)
Full Changelog: 3.0.8...3.0.9
3.0.8
What's Changed
- Support passing non-standard extra blocks. by @schinckel in #126
New Contributors
- @schinckel made their first contribution in #126
Full Changelog: 3.0.7...3.0.8
3.0.7
3.0.6
What's Changed
- Fix javascript regular expression literals by @JaapJoris in #93
Full Changelog: 3.0.5...3.0.6
3.0.5
What's Changed
- Don't treat
//inside URL as comment by @JaapJoris in #91
Full Changelog: 3.0.4...3.0.5
3.0.4
What's Changed
-
Reset absolute offsets more aggressively in DjCSS mode
Previous behavior:
background: linear-gradient( foo, bar )New behavior:
background: linear-gradient( foo, bar ) -
Support SCSS comments
Small life hack: if you leave out the space after //, these types of
comments work in regular CSS too! -
Compromise on JS regular expression literals. The compromise is that they cannot contain spaces. If they can, it becomes impossible to distinguish between
re = / foo( // commentand
not_re = x / foo( // commentIn other words, it's impossible to distinguish between the division sign and the beginning of a regex literal. It still is, but now it will be less of problem for literals without spaces.
Full Changelog: 3.0.3...3.0.4
3.0.3
What's Changed
- Add support for Slippers component syntax by @jnns in #87
- Add per-file output to --check by @DeD1rk in #88
- The
-q/--quietoption has been removed in favor of printing all output to stderr. That way, the user can redirect stderr to/dev/nullin order to ignore it.
New Contributors
Full Changelog: 3.0.2...3.0.3
3.0.2
This release fixes the "bug" that DjHTML was a little too opinionated when indenting multi-line HTML elements: #82 The old behavior has been restored, but only when the character following the tagname is a newline:
<long-html-tag
attribute1="value"
attribute2="value"
attribute3="value"/>This tweak will hopefully appease existing DjHTML users that were already used to the old behavior, and gives them a way to continue using it by placing all attributes on separate lines. A special thanks to @Thutmose3 for making this suggestion!
What's Changed
- Relative multi-line HTML elements by @JaapJoris in #83
Full Changelog: 3.0.1...3.0.2
3.0.1
This release fixes a DjCSS bug that was kindly reported by @GitRon moments after 3.0.0 was released.
What's Changed
- Fix incorrect CSS string detection by @JaapJoris in 3cb16e1
Full Changelog: 3.0.0...3.0.1