Releases: litejs/dom
Releases · litejs/dom
Release v25.1.0
New Features:
- Add svgVoidElements (Lauri Rooden)
- css: Add option min.color (Lauri Rooden)
- Add selectorSplit (Lauri Rooden)
Removed Features:
- css: Remove root level comments (Lauri Rooden)
Enhancements:
- Remove redos (Lauri Rooden)
- Make sheet with min options (Lauri Rooden)
- Test Readme examples (Lauri Rooden)
- css: Handle data-uri (Lauri Rooden)
- Extract read in sheet base (Lauri Rooden)
- Do not minimize element style by default (Lauri Rooden)
- Extract mergeAttributes (Lauri Rooden)
- Test with bun and arm (Lauri Rooden)
- css: Handle
@import
rules (Lauri Rooden) - css: Use number shorthand (Lauri Rooden)
- css: Clear multiple selectors (Lauri Rooden)
- css: Reduce newlines (Lauri Rooden)
- css: Use
@import "url"
shorthand (Lauri Rooden) - Upgrade libs (Lauri Rooden)
- Export CSSStyleSheet directly (Lauri Rooden)
v24.12.0
New Features:
- Add document.styleSheets (Lauri Rooden)
- Add initial CSSStyleSheet (Lauri Rooden)
Enhancements:
- Use firstChild in hasChildNodes (Lauri Rooden)
- Make import default case in Readme (Lauri Rooden)
- Move test data under data/ (Lauri Rooden)
- Accept minimize options (Lauri Rooden)
- Upgrade tests syntax (Lauri Rooden)
- dom: Minify inline css (Lauri Rooden)
- Upgrade libs (Lauri Rooden)
- net: Inline dataUrlRe (Lauri Rooden)
- Upgrade syntax (Lauri Rooden)
v24.8.0
New Features:
- net: Expose protocolHandler so custom protocols can be handled (Lauri Rooden)
- net: Handle isAsync in done so data url can be sync (Lauri Rooden)
Enhancements:
- ci: Run tests on Node 8 (ubuntu-latest x86) (Lauri Rooden)
- net: Add proto variable (Lauri Rooden)
- net: Use done also for error (Lauri Rooden)
- doc: Use packagephobia image (Lauri Rooden)
v24.7.0
New Features:
- net: Add support for xhr.onerror (Lauri Rooden)
- Add CSSStyleDeclaration.cssText (Lauri Rooden)
Fixes:
- Fix setNamedItem signature (Lauri Rooden)
Enhancements:
- test: Remove test/run.mjs (Lauri Rooden)
- test: Remove test/index.js (Lauri Rooden)
- test: Add css test (Lauri Rooden)
- test: Run in browser (Lauri Rooden)
- test: Merge parser.js and domparser.js (Lauri Rooden)
- Move CSSStyleDeclaration to css.js (Lauri Rooden)
- Use cssText for writing style (Lauri Rooden)
- Test importing as module (Lauri Rooden)
- ci: Use npx to execute jshint and c8 (Lauri Rooden)
- doc: Reword Readme (Lauri Rooden)
v24.6.0
New Features:
- Add document.title (Lauri Rooden)
Fixes:
- Fix infinite loop with non-closed rawElement (Lauri Rooden)
Enhancements:
- ci: Remove signature from release message (Lauri Rooden)
- Verify commit in action (Lauri Rooden)
- Reduce fn call on Node.toString (Lauri Rooden)
- minify: Clean attribute values (Lauri Rooden)
- ci: Separate Coverage workflow (Lauri Rooden)
v23.12.1
Fixes:
- Fix attributes on cloned nodes (Lauri Rooden)
Enhancements:
- Remove null check from replaceChildren (Lauri Rooden)
- Remove setter returns (Lauri Rooden)
- Rename index.js to dom.js (Lauri Rooden)
- net: Export defaultHeaders (Lauri Rooden)
- ci: Require Analyze before Release (Lauri Rooden)
- Delete old workflow runs (Lauri Rooden)
v23.12.0
New Features:
- net: Add xhr.setRequestHeader (Lauri Rooden)
Fixes:
- selector: Fix querySelector on xml documents (Lauri Rooden)
Enhancements:
- Add Release workflow (Lauri Rooden)
- Export entities (Lauri Rooden)