This package strictly follows Semantic Versioning.
- Fixed various CSS selector equation bugs.
- Rewrote tag tokenizer to be more considerate of shortcomings in the V8 regex engine, increasing overall performance significantly.
- Fixed a few more broken HTML edge cases that could result in the parser running very very slowly.
- Fixed another broken HTML edge case that could result in the parser running very very slowly.
- Fixed multiple
<script>
parsing issues. - Fixed a few more HTML edge cases that were parsed much too slowly.
- Fixed a few broken HTML edge cases that could result in the parser running very very slowly.
- Fixed a bug where strings like "<.>" were considered valid tags by the parser.
- Switched from parse5 to a custom parser as default for HTML. This reduces the bundle size significantly for browser use. More spec compliant parsers are still supported with the new custom parser API.
- Added support for custom parsers.
- Added boolean attribute support to
newTag
method (can be used likeDOM.newTag('input', {checked: true})
).
- Reduced dependencies so this package can also be used in browsers in the future.
- Switched to @mojojs/util for utility functions.
- Added
replaceContent
method toDOM
class.
- Added support for
SafeString
objects from @mojojs/template, which allow for strings to be excluded from HTML/XML escaping.
- Added support for deep cloning nodes.
- Fixed
<template>
tag rendering.
First major release.