Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.59 KB

CHANGELOG.md

File metadata and controls

38 lines (22 loc) · 1.59 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[4.0.1] - 2023-03-12

Fixed

  • Revert type: module change in 4.0.0, which causes build tools to expect modern modules when pulling the code in.

[4.0.0] - 2023-03-11

Changed

  • Render nulls, undefined, zeroes and false; more in line with how template strings do. (#3) This is a breaking change. Make sure to review any existing code so that you don't render nulls on production.

[3.0.0] - 2023-07-07

  • This version marks the fork from vhtml

Added

  • Typescript support (no additional @types/ package is required) (thanks to pastelmind for his type definitions for vhtml, these are simply adapted from his by @odinhb)
  • New way to skip sanitization by passing a string with _stringjsx_sanitized = true set. (remziatay had the idea here)

Changed

  • Returns a String (object, not primitive) (remziatay had the idea here)
  • Rewrote the source code itself (@odinhb)

Fixed