Repository navigation
v5.0.0
Major release standardizing camelCase API names, upgrading FrostCore, and improving DOM state preservation, animations, events, AJAX, and form handling.
Breaking Changes
- Renamed
getHTMLandsetHTMLtogetHtmlandsetHtmlin both the static and QuerySet APIs. - Renamed
hasCSSAnimation,hasCSSTransition,withCSSAnimation, andwithCSSTransitiontohasCssAnimation,hasCssTransition,withCssAnimation, andwithCssTransitionin both APIs. - Renamed
$.parseHTMLto$.parseHtml. Source-module consumers must also updateescapeCSSimports toescapeCss. - Updated
@fr0st/corefrom version 3 to version 4. The_-prefixed FrostCore utilities now follow the version 4 API, including its camelCase acronym names. The previous fQuery method names are not retained as aliases.
Added
- Added reversible
setStyleLockhelpers for the static and QuerySet APIs, with explicit release callbacks and protection against conflicting or unrestorable style changes.
Fixed
- Preserved inline display values and
!importantpriorities through hide/show cycles and animations, including stylesheet-hidden elements, forced toggling, and cloned animation effects. - Corrected zero-duration and future-start animation progress, animation callback reentry, named-queue stopping, and squeeze sizing with padding and borders.
- Preserved events, data, animations, selections, and original-node identity when cloning, moving, wrapping, replacing, or removing nodes, including overlapping selections, detached targets, shadow roots, and template contents.
- Corrected scoped event delegation, restored delegated event properties after callbacks, preserved persistent handlers alongside once-only handlers, and cleaned up multi-touch drag completion and cancellation.
- Corrected AJAX GET/HEAD query encoding, case-insensitive header merging, content-type handling, relative and base-URL resolution, network errors, and direct XHR cancellation.
- Preserved repeated form values and File/Blob inputs, normalized serialized line endings, and respected form associations, disabled controls/options, fieldsets, and non-submitting controls.
- Hardened DOM access against named form-property collisions, preserved CSS custom property names, and recursively sanitized allowed template contents.
- Corrected detached-tree sorting, common-ancestor and descendant checks, selection boundaries, box-model measurements, position calculations, and document scrolling fallbacks.
Improved
- Consolidated repeated DOM and QuerySet tests into shared fixtures and behavior cases with shallow groups and explicit lifecycle sequences.
- Made animation and queue tests deterministic, strengthened cleanup and first-node assertions, and expanded cross-browser regression coverage.
- Updated the README, JSDoc, distribution bundles, source maps, and Playwright dependency for version 5.0.0.