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.
- Revert type: module change in 4.0.0, which causes build tools to expect modern modules when pulling the code in.
- 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.
- This version marks the fork from vhtml
- 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)
- Returns a
String
(object, not primitive) (remziatay had the idea here) - Rewrote the source code itself (@odinhb)
- Fix injection possibility
- Fix memory leak