Releases: innrvoice/react-atom-trigger
v.2.1.3
What's changed
v2.1.3 focuses on release hygiene and Storybook publishing cleanup.
Highlights
- Added a tag-only GitHub release artifact workflow that publishes a CycloneDX SBOM
- Moved the project to pnpm 11
- Kept internal interaction stories out of the published Storybook build
- Minor README.md update
No runtime API changes.
v.2.1.2
What's changed
v2.1.2 focuses on small runtime cleanup and maintainability polish.
Highlights
- Simplified internal observation lifecycle code
- Clarified scheduler sampling flow
- Added focused regression coverage for the cleanup
v.2.1.1
What's changed
v2.1.1 focuses on cleanup, docs and demo polish.
Highlights
- Clarified
thresholdbehavior as a single numeric value - Updated README
- Optimized and fixed the Storybook animation demo
- Slightly reduced the shipped bundle size
v.2.1.0
What's changed
v2.1.0 removes the legacy helper hooks and keeps the package focused on AtomTrigger.
Highlights
- Removed
useScrollPositionanduseViewportSizefrom the public API - Removed hook-only runtime code, tests, and compatibility smoke coverage
- Reduced the shipped bundle size
- Updated migration docs with the
v2.1breaking change
v.2.0.11
What's changed
v2.0.11 is a maintenance release.
Highlights
- Simplification and deduplication of code
- Restored Codecov bundle reporting and the Codecov bundle size badge
- Removed the temporary local
size-limitCI check
v.2.0.10
What's changed
v2.0.10 is a small maintenance release.
Highlights
- Replaced Codecov bundle reporting with a local
size-limitCI check - Updated the bundle size badge to use BundleJS
- Updated transitive
postcssresolution
v.2.0.8
What's changed
v2.0.8 is a small patch release focused on bundle-size cleanup, internal simplification and Storybook maintenance.
Highlights
- Production bundle-size cleanup
- Development-warning internals cleanup
- Storybook demo simplification
- Test-related maintenance improvements
v.2.0.7
What's changed
v2.0.7 is a small patch release focused on internal cleanup and minor stability improvements.
Highlights
- Internal code cleanup
- Small reliability polish
- Test-related maintenance improvements
v.2.0.6
What's changed
v2.0.4 is a compatibility and stability release for react-atom-trigger.
The main work here was making behavior more predictable across the supported React range, especially around SSR / hydration, child mode refs and explicit custom roots. The React 16 through 19 peer range is now also backed by dedicated compat smoke checks in CI.
On top of that, the utility hooks were tightened up so disabled listeners keep their latest snapshot and resume cleanly when re-enabled, coverage was raised again and the release pipeline got a bit stronger with package smoke checks and cleaner CI / Codecov separation.
v.2.0.3
What's changed
v2.0.3 is mostly a maintenance / quality release.
Mainly this one was about cleaning up the test side, making the suite less weird, pushing coverage higher, adding Codecov bundle analysis and fixing the recent dependency alerts around undici.
Tests and coverage
Some of the existing tests were doing the job, but a few of them were too coverage-shaped. In this release they were reworked into smaller and more behavior-based cases, especially around scheduler logic, roots, child mode and utility hooks.
Coverage was also raised quite a lot and the weaker files got proper attention instead of just adding random assertions for the sake of a better number.
Tooling
Codecov bundle analysis was added, so now the package build is tracked there too.
CI was also cleaned up a bit:
- unit coverage is uploaded separately and reflects the actual library coverage better
- browser / Storybook checks run as a separate job instead of being mixed into the main checks
Security
Fixed the recent dependency vulnerability alerts in the dev toolchain.
In particular, the vulnerable undici path coming from the Codecov plugin side was overridden.