Skip to content

Releases

v5.0.2

Choose a tag to compare

@elusivecodes elusivecodes released this 25 Oct 00:37

Patch release correcting browser test server configuration, refreshing tooling dependencies, and strengthening distribution bundle verification.

Fixed

  • Made Playwright configuration and browser test URL expectations respect the configured test server port.

Improved

  • Updated Playwright to ^1.64.1, ESLint to ^10.13.0, and Vite to ^8.3.4, and refreshed dependency resolutions.
  • Pinned Monocart Reporter to 2.14.0 and its coverage reports dependency to 2.13.0 to keep coverage tooling consistent.
  • Strengthened CI checks to detect modified and untracked distribution bundles, and added the same verification before npm publishing.
  • Regenerated distribution bundles and source maps with the updated tooling.

v5.0.1

Choose a tag to compare

@elusivecodes elusivecodes released this 03 Oct 14:18

Patch release correcting numeric dataset parsing, aligning shared project conventions, and refreshing dependencies.

Fixed

  • Corrected hexadecimal, binary, and octal dataset values to use complete numeric conversion instead of partial parsing.
  • Added regression coverage for numeric dataset formats and preserved strings with units, empty strings, and whitespace.

Improved

  • Aligned source and test conventions, including explicit boolean and numeric conversions, and refreshed README headings.
  • Adopted @fr0st/eslint-config version 6 and removed duplicate local rules while preserving fQuery's browser globals and test configuration.
  • Updated @fr0st/core to ^4.0.1, ESLint to ^10.11.0, Vite to ^8.3.1, and Monocart Reporter to ^2.14.0.
  • Strengthened browser tests with uncaught-error checks and dynamically generated script integrity hashes.
  • Refreshed dependency resolutions and regenerated distribution bundles and source maps for version 5.0.1.

v5.0.0

Choose a tag to compare

@elusivecodes elusivecodes released this 13 Sep 01:48

Major release standardizing camelCase API names, upgrading FrostCore, and improving DOM state preservation, animations, events, AJAX, and form handling.

Breaking Changes

  • Renamed getHTML and setHTML to getHtml and setHtml in both the static and QuerySet APIs.
  • Renamed hasCSSAnimation, hasCSSTransition, withCSSAnimation, and withCSSTransition to hasCssAnimation, hasCssTransition, withCssAnimation, and withCssTransition in both APIs.
  • Renamed $.parseHTML to $.parseHtml. Source-module consumers must also update escapeCSS imports to escapeCss.
  • Updated @fr0st/core from 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 setStyleLock helpers for the static and QuerySet APIs, with explicit release callbacks and protection against conflicting or unrestorable style changes.

Fixed

  • Preserved inline display values and !important priorities 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.

v4.1.2

Choose a tag to compare

@elusivecodes elusivecodes released this 29 Aug 11:55

Patch release aligning the fQuery ignore rules with the shared Frost JS project layout.

Improved

  • Organized ignore entries into dependency, temporary-file, and test/coverage sections.
  • Aligned ignore ordering and comments with FrostUI.
  • Bumped the package version to 4.1.2.

v4.1.1

Choose a tag to compare

@elusivecodes elusivecodes released this 29 Aug 08:17

Patch release moving fQuery to the Frost JS GitHub organization and refreshing shared project dependencies.

Improved

  • Updated repository, issue tracker, CI, Codecov, bundle-size, and license links for github.com/frost-js/fquery.
  • Updated @fr0st/core to ^3.1.2 and @fr0st/eslint-config to ^5.0.3.
  • Bumped the package version to 4.1.1.

v4.1.0

Choose a tag to compare

@elusivecodes elusivecodes released this 29 Aug 01:30

Minor release adding Vite-based ESM and UMD builds, browser source coverage, and package/documentation alignment.

Added

  • Added prebuilt ESM and minified ESM bundles with source maps alongside the UMD bundles.
  • Added Chromium source coverage with console, HTML, and LCOV reports plus Codecov integration.
  • Added direct browser ESM installation guidance and aligned project badges.

Improved

  • Migrated the build from Rollup and Terser to Vite and refreshed project dependencies.
  • Changed the package root to the prebuilt ESM bundle while retaining matching dist and src subpaths.
  • Updated CI to collect coverage, verify generated bundles, and validate package contents.
  • Renamed the Playwright suite from test/specs/.spec.js to test/browser/.test.js.
  • Bumped the package version to 4.1.0.

v4.0.2

Choose a tag to compare

@elusivecodes elusivecodes released this 27 Aug 12:45

Patch release adding CSS custom property support and modernizing project lint and build tooling.

Fixed

  • Added CSS custom property support to css, getStyle, setStyle, removeStyle, and styles supplied to create.
  • Preserved the leading -- while normalizing custom property names and kept numeric custom property values unitless.

Improved

  • Updated the shared ESLint configuration and migrated JSDoc type references to top-of-file @import declarations.
  • Renamed the JavaScript build scripts to bundle, lint, and minify, and updated CI and documentation references.
  • Refreshed dependency resolutions and regenerated distribution bundles and source maps.

v4.0.1

Choose a tag to compare

@elusivecodes elusivecodes released this 22 Aug 04:31

Patch release modernizing QuerySet internals while preserving its public API.

Improved

  • Migrated internal class state to native JavaScript private fields.
  • Split the minimal QuerySet core from method assembly to keep source imports acyclic.
  • Defined modular QuerySet methods as non-enumerable prototype properties.
  • Retained the previous proto.js deep import as a compatibility re-export.

v4.0.0

Choose a tag to compare

@elusivecodes elusivecodes released this 21 Aug 12:30

Major release modernizing fQuery's supported environments, test and release pipeline, and hardening DOM, animation, AJAX, event, queue, and sanitization behavior.

Breaking Changes

  • Updated supported Node.js versions to ^20.19.0, ^22.13.0, or >=24.
  • Updated @fr0st/core from version 2 to version 3; the _-prefixed FrostCore utilities now follow the version 3 API and behavior.
  • Changed $.clearQueue(selector) to clear only the default queue. Pass { queueName: null } to clear every named queue.

Fixed

  • Made the package safe to import in Node before registering a DOM implementation, and consistently sourced browser constructors and globals from the configured window.
  • Preserved pre-existing inline styles across built-in animation effects and prevented callback errors from stalling the animation scheduler.
  • Isolated named queues so completion, rejection, or clearing one queue no longer removes other queues on the same element.
  • Corrected AJAX handling for HTTP errors, timeouts, FormData, lowercase methods, falsy payloads, and safely encoded query parameters.
  • Corrected cookie lookup and encoding, document readiness, event cloning and dispatch, position and constraint calculations, text-node selections, escaped traversal selectors, cross-realm collections, and debounce recovery after callback errors.
  • Hardened HTML sanitization with exact string attribute matching and removal of javascript: URLs from URI attributes.

Improved

  • Migrated the browser suite from Mocha and Puppeteer to Playwright across Chromium, Firefox, and WebKit, with deterministic animation clocks and batched assertions.
  • Added CI coverage for supported Node.js versions, focused-test protection, generated-bundle verification, package-content validation, and provenance-enabled npm publishing.
  • Consolidated project documentation into the README and aligned JSDoc types and @returns conventions with current Frost projects.
  • Removed circular source dependencies, retained optimized traversal parsing paths, and aligned static and QuerySet helper signatures.
  • Refreshed package metadata, explicit exports, dependency versions, distribution bundles, and source maps.

v3.3.0

Choose a tag to compare

@elusivecodes elusivecodes released this 12 May 11:28
  • Added dl, dt and dd to sanitizer allowed tags.