2.1.1 (2026-04-09)
2.1.0 (2026-04-09)
- add tslib dep required by rollup typescript plugin (b2545ef)
- ci: fetch full git history for semantic-release tag detection (5e9b443)
- ci: use Node 22 for semantic-release compatibility (94d7945)
- lazy-init AbortController for Strict Mode compat (8d53a6a)
- replace commitizen with czg, add npm test hook (3579f0c)
- restore version to 2.0.0 and clean CHANGELOG after semantic-release misconfiguration (e3af7c8)
- update deps to resolve audit vulnerabilities (49aca1d)
- add useAbortSignal hook (8f2a570)
- add tslib dep required by rollup typescript plugin (b2545ef)
- ci: fetch full git history for semantic-release tag detection (5e9b443)
- ci: use Node 22 for semantic-release compatibility (94d7945)
- lazy-init AbortController for Strict Mode compat (8d53a6a)
- replace commitizen with czg, add npm test hook (3579f0c)
- restore version to 2.0.0 and clean CHANGELOG after semantic-release misconfiguration (e3af7c8)
- update deps to resolve audit vulnerabilities (49aca1d)
- add useAbortSignal hook (8f2a570)
- update project structure and configurations to use typescript (2aa8a3a)
- use readonly in return value type (#15) (ce87172)
- Default export replaced with named exports
- Add useAbortController hook for auto-abort on unmount
- Convert useIsMountedRef to named export
- Add full test coverage for new hook
- Update README with examples and migration guide
- Add CHANGELOG.md
- Bump version to 2.0.0
- Published to npm
- add tslib dep required by rollup typescript plugin (b2545ef)
- ci: use Node 22 for semantic-release compatibility (94d7945)
- lazy-init AbortController for Strict Mode compat (8d53a6a)
- replace commitizen with czg, add npm test hook (3579f0c)
- restore version to 2.0.0 and clean CHANGELOG after semantic-release misconfiguration (e3af7c8)
- update deps to resolve audit vulnerabilities (49aca1d)
- add useAbortSignal hook (8f2a570)
- update project structure and configurations to use typescript (2aa8a3a)
- use readonly in return value type (#15) (ce87172)
- Default export replaced with named exports
- Add useAbortController hook for auto-abort on unmount
- Convert useIsMountedRef to named export
- Add full test coverage for new hook
- Update README with examples and migration guide
- Add CHANGELOG.md
- Bump version to 2.0.0
- Published to npm
All notable changes to this project will be documented in this file.
- useAbortController - New hook that automatically aborts on component unmount
- Returns an
AbortControllerinstance - Auto-cleanup when component unmounts
- Perfect for fetch requests and async operations
- Full test coverage
- Returns an
- BREAKING: Converted from default export to named exports
- Old:
import useIsMountedRef from 'use-is-mounted-ref' - New:
import { useIsMountedRef } from 'use-is-mounted-ref' - Improves tree-shaking and explicit imports
- Both hooks now exported as named exports
- Old:
- import useIsMountedRef from 'use-is-mounted-ref';
+ import { useIsMountedRef } from 'use-is-mounted-ref';+ import { useAbortController } from 'use-is-mounted-ref';See git history for previous changes.