jaspr_hooks 0.1.2 copy "jaspr_hooks: ^0.1.2" to clipboard
jaspr_hooks: ^0.1.2 copied to clipboard

React-style lifecycle and state hooks for native Jaspr components.

0.1.2 #

  • Fixed signed-zero change detection in useOptimistic and useExternalStore while continuing to treat NaN snapshots as equal.
  • Updated the Jaspr test, builder, example, and documentation toolchain to 0.23.4 and raised the compatible web compiler baseline to 4.8.0.
  • Changed pub.dev releases from tag-triggered GitHub publishing to a fully manual release process.

0.1.1 #

  • Fixed the project mascot image on pub.dev by using an absolute Markdown URL.

0.1.0 #

  • Added deterministic useId and stable latest-handler useEvent hooks.
  • Added focus, active-element, abort-controller, animation-frame, history, and clipboard hooks to the browser entry point.
  • Expanded the interactive catalog, SSR coverage, lifecycle tests, and production-browser validation to all 66 exported hooks.

0.1.0-dev.3 #

  • Added foundation hooks for latest values, owned resources, external stores, inherited components, imperative handles, timeouts, and intervals.
  • Added async actions with configurable concurrency and explicit optimistic state transactions.
  • Added toggle, counter, collection, queue, mount, unmount, and update-effect convenience hooks.
  • Added hydration-safe media query and preferred-motion hooks.
  • Added the optional package:jaspr_hooks/web.dart entry point with node keys, element and viewport sizing, intersection and mutation observers, event listeners, click-outside detection, and hover state.
  • Expanded the interactive catalog, AI-agent reference, semantic tests, and production-browser coverage to all 57 exported hooks.
  • Removed the legacy pub.dev screenshot assets and excluded future local screenshots from source and package archives.
  • Updated the Playwright, TypeScript, Node.js type, and GitHub Actions Node.js toolchains.

0.1.0-dev.2 #

  • Improved documentation layout spacing at the end of every page.
  • Added a repository agent skill for consistent version bumps and release validation.
  • Removed redundant internal comments without changing runtime behavior.

0.1.0-dev.1 #

  • Initial preview of the native Jaspr hook runtime.
  • Added stateless, stateful, and callback-based hook component hosts.
  • Added state, effect, memoization, async, stream, listenable, reducer, debounce, and browser-lifecycle hooks.
  • Added SSR-safe effect and subscription behavior, including usePostFrameEffect.
  • Added the interactive Jaspr Content documentation application and browser test suite.
  • Added an AI-agent installation prompt, rendered agent guide, and a stable llms.txt reference covering every exported hook.