Skip to content

Commit

Permalink
Add a changelog
Browse files Browse the repository at this point in the history
Every project should have a changelog
  • Loading branch information
odinhb committed Mar 8, 2024
1 parent 79e1be4 commit 1777b07
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Changelog

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

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Render nulls, undefined, zeroes and false correctly and more in line with how template strings do.

### [3.0.0] - 2023-07-07

- This version marks the fork from [vhtml](https://www.npmjs.com/package/vhtml)

### Added

- Typescript support (no additional @types/ package is required) (thanks to [pastelmind](https://github.com/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](https://github.com/remziatay) had the idea [here](https://github.com/developit/vhtml/issues/34#issuecomment-1460436783))

### Changed

- Returns a `String` (object, not primitive) ([remziatay](https://github.com/remziatay) had the idea [here](https://github.com/developit/vhtml/issues/34#issuecomment-1460436783))
- Rewrote the source code itself (@odinhb)

### Fixed

- Fix [injection possibility](https://github.com/developit/vhtml/issues/34)
- Fix [memory leak](https://github.com/developit/vhtml/issues/20)

0 comments on commit 1777b07

Please sign in to comment.