Skip to content

Releases: natemoo-re/ultrahtml

v1.5.3

20 Feb 16:53
93a1273
Compare
Choose a tag to compare

Patch Changes

  • ebc97e0: upgrades dts-bundle-generator to 9.2.1, fixing an issue with .d.ts
    generation which led methods prefixed with two underscores to be
    incorrectly made private in the generated declaration file.

v1.5.2

11 Sep 13:05
81d92ef
Compare
Choose a tag to compare

Patch Changes

  • 244be0a: Update parsel-js to latest

v1.5.1

11 Sep 12:15
2e75e27
Compare
Choose a tag to compare

Patch Changes

  • a989b5a: Bundle type definitions in .d.ts files

v1.5.0

11 Sep 04:00
100a986
Compare
Choose a tag to compare

Minor Changes

  • 7c93190: Add support for static media queries to ultrahtml/transformers/inline.

    You may now pass an env value to the transformer, for example:

    import { transform } from "ultrahtml";
    import inline from "ultrahtml/transformers/inline";
    
    const output = await transform(input, [
      // Acts as if the screen is 960px wide and 1280px tall
      inline({ env: { width: 960, height: 1280 } })
    ]);

v1.4.0

29 Aug 02:44
1067399
Compare
Choose a tag to compare

Minor Changes

  • 8bbaeef: Allow elements inside of <svg> to be self-closing for compactness

Patch Changes

  • 5715bc3: Fix sanitize transformer behavior when only using allowElements

v1.3.0

14 Jul 03:05
7db9a1d
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v1.2.0

12 Dec 14:50
2cb7762
Compare
Choose a tag to compare

Minor Changes

  • 7792f5d: Add useObjectSyntax option to inline transformer. Note that this option is currently not compatible with transform

v1.1.0

12 Dec 03:51
c350b7e
Compare
Choose a tag to compare

Minor Changes

  • d910619: Remove resolveAsset option from inline transformer, making it synchronous again.

v1.0.4

28 Nov 16:53
2f98065
Compare
Choose a tag to compare

Patch Changes

  • c5799aa: Update attribute handling to account for attributes with newlines

v1.0.3

27 Nov 01:34
090c49c
Compare
Choose a tag to compare

Patch Changes

  • d7cb17d: Fix another edge case with text inside script/styles