Skip to content

Releases: kitajs/html

v1.4.4

23 Aug 00:27
Compare
Choose a tag to compare
  • Fixed CSSProperties type

Full Changelog: v1.4.3...v1.4.4

v1.4.3

23 Aug 00:13
c7acefd
Compare
Choose a tag to compare
  • Added CSSProperties type to ease type usage.
  • Updated tsconfig.json usage/examples.
  • Automatic dependabot updates
  • Updated dependencies

Full Changelog: v1.4.2...v1.4.3

v1.4.2

14 Aug 21:02
Compare
Choose a tag to compare
  • Added (deprecated) support for className attributes
  • Improved performance
  • camel case attributes are not transformed to kebab automatically, please use <tag of="">.

Full Changelog: v1.4.1...v1.4.2

v1.4.1

08 Aug 16:08
Compare
Choose a tag to compare
  • Better escapeHtml
  • Fixed css properties not being escaped
  • Moved from escapeInnerHtml to safe attribute

Full Changelog: https://github.com/kitajs/html/compare/v1.4.0...v1.4.1###

v1.4.0

05 Aug 20:44
Compare
Choose a tag to compare
  • Improved performance up to 200%.
  • Added native escapeInnerHtml attribute to help avoid XSS injections

v1.3.4

30 Jul 23:25
Compare
Choose a tag to compare
  • Only allows 0 as falsy value

Full Changelog: v1.3.3...v1.3.4

v1.3.3

30 Jul 22:49
Compare
Choose a tag to compare
  • Correct handle, undefined, child and [child, child] children possibility.

Full Changelog: v1.3.2...v1.3.3

v1.3.2

30 Jul 21:41
Compare
Choose a tag to compare
  • Added undefined to all optional types to avoid exactOptionalPropertyTypes problems
  • Correct handle falsy property values
  • Moved to node:test and fixed some minor html generation problems
  • Typos in the documentation

Full Changelog: v1.3.1...v1.3.2

v1.3.1

30 Jul 19:45
Compare
Choose a tag to compare
  • Improved typings
  • Esmodules interop
  • Moved to html namespace

Full Changelog: v1.3.0...v1.3.1

v1.3.0

23 Jul 23:15
Compare
Choose a tag to compare
  • Improved typings
  • Added <tag of/> custom attribute to help non typescript users

Full Changelog: v1.2.0...v1.3.0