Skip to content

Releases: rtts/djhtml

3.0.10

08 Oct 12:05

Choose a tag to compare

What's Changed

  • Add support for Python 3.14

Full Changelog: 3.0.9...3.0.10

3.0.9

12 Aug 19:54

Choose a tag to compare

What's Changed

Full Changelog: 3.0.8...3.0.9

3.0.8

22 May 07:31

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.7...3.0.8

3.0.7

17 Oct 18:43
d3ab996

Choose a tag to compare

What's Changed

  • Dropped support for Python 3.8
  • Added support for Python 3.13
  • Support for closing tags starting with "end_" as well as "end". by @Quantra in #101

New Contributors

Full Changelog: 3.0.6...3.0.7

3.0.6

16 Mar 21:49
47f33ed

Choose a tag to compare

What's Changed

  • Fix javascript regular expression literals by @JaapJoris in #93

Full Changelog: 3.0.5...3.0.6

3.0.5

09 Mar 09:31

Choose a tag to compare

What's Changed

Full Changelog: 3.0.4...3.0.5

3.0.4

07 Mar 21:33

Choose a tag to compare

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( // comment
    

    and

      not_re = x / foo( // comment
    

    In 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

04 Mar 15:17

Choose a tag to compare

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 / --quiet option has been removed in favor of printing all output to stderr. That way, the user can redirect stderr to /dev/null in order to ignore it.

New Contributors

Full Changelog: 3.0.2...3.0.3

3.0.2

24 Feb 07:50
97067bd

Choose a tag to compare

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

Full Changelog: 3.0.1...3.0.2

3.0.1

23 Feb 09:00

Choose a tag to compare

This release fixes a DjCSS bug that was kindly reported by @GitRon moments after 3.0.0 was released.

What's Changed

Full Changelog: 3.0.0...3.0.1