Skip to content

Releases: j4crev/htmlfy

v1.0.2

Choose a tag to compare

@j4crev j4crev released this 06 Jun 20:58
  • fix: issue 41, where common special characters, for framework templating, were not recognized for attribute names (5479de0)

v1.0.1

Choose a tag to compare

@j4crev j4crev released this 18 Feb 19:42

What's Changed

  • fix: whitespace around nested tags (830b125)

Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@j4crev j4crev released this 25 Jul 01:57

breaking

  • do not enforce self-closing void elements by default (closify)
  • do not set entities within textareas by default (entify) -- this means textareas are now minified; so, use the ignore config option if you want to preserve their whitespace.
  • default ignore_with string has changed
  • remove deprecated tag_wrap_width configuration option (use tag_wrap instead)

Full Changelog: v0.8.1...v1.0.0

v0.8.1

Choose a tag to compare

@j4crev j4crev released this 22 Jun 14:51
793d895

What's Changed

  • chore: update readme by @j4w8n in #34
  • fix: type declarations for closify & minify by @ufukbakan in #35

Full Changelog: v0.8.0...v0.8.1

v0.8.0

Choose a tag to compare

@j4crev j4crev released this 21 Jun 02:34
  • feat: ability to pass a user config to minify.

This allows you to run minify as a standalone function and ignore html tags as well. Right now, the only config options that are relevant are ignore and ignore_with.

closes #30
supersedes #32

v0.7.5

Choose a tag to compare

@j4crev j4crev released this 16 May 17:59

What's Changed

  • fix: punctuation handling (a5b1553)

This is likely a temporary fix. We should probably have better handling of inline-style elements so that they're grouped on one line instead of text being a "sibling" of tags.

Full Changelog: v0.7.4...v0.7.5

v0.7.4

Choose a tag to compare

@j4crev j4crev released this 16 May 17:57

What's Changed

  • fix: faster "ignore" performance by @j4w8n in #26

Full Changelog: v0.7.3...v0.7.4

v0.7.3

Choose a tag to compare

@j4crev j4crev released this 11 May 15:23
  • fix: better performance for "ignore" feature, with large HTML strings (b68e584)

Full Changelog: v0.7.2...v0.7.3

v0.7.2

Choose a tag to compare

@j4crev j4crev released this 17 Apr 02:30
  • fix: make process faster (628736e)

Full Changelog: v0.7.1...v0.7.2

v0.7.1

Choose a tag to compare

@j4crev j4crev released this 16 Apr 10:02
  • fix: minify gets 1,000 times faster for large html.

Before, minify was taking over 4 seconds:

closify: 1.43ms
trimify: 0.006ms
minify: 4.227s
enqueue: 2.651ms

Now it takes a few milliseconds:

closify: 0.862ms
trimify: 0.003ms
minify: 3.538ms
enqueue: 3.312ms

Full Changelog: v0.7.0...v0.7.1