v0.4.0
π Release @addon-core/storage v0.4.0 (2025-10-07)
β¨ Features
-
enhance watch callbacks with key differentiation (97e4557)
- Updated
watchto include key-specific callbacks and pass key names to global callbacks. - Refactored
StorageWatchOptionsinto separate callback types for consistency. - Adjusted tests to validate key-specific callback behavior and new parameters.
- Improved error handling in
AbstractStoragefor unhandled key changes.
- Updated
π Documentation
-
update README and CONTRIBUTING guidelines for clarity (aa79667)
- Expanded peer dependency details in README (including @types/react-dom).
- Updated descriptions for
watch()callbacks andgetAll()behavior. - Clarified SecureStorage key formatting for namespaced storage.
- Improved MonoStorage
watch()explanation with deep comparison info. - Revised CONTRIBUTING.md to align with a Simplified GitFlow model.
- Removed references to
release/*andhotfix/*branches in release process.
π€ CI
-
replace release workflows with unified release pipeline (a39f5d4)
- Consolidated
release-prepare.ymlandrelease-publish.ymlinto a singlerelease.yml. - Streamlined CI with dynamic matrix computation for better flexibility and coverage.
- Updated
.release-it.cjswith enhanced contributor logic and changelog formatting. - Introduced
.gitattributesto enforce consistent line endings across the repo. - Improved biome configuration to exclude coverage and dist directories.
- Consolidated
π§Ή Chores
-
update dependencies and replace @adnbn/browser with @addon-core/browser (fa3bbaa)
- Updated
@addon-core/browserto v0.2.1, replacing@adnbn/browser. - Bumped multiple Jest-related dependencies to v30.2.0 for consistency.
- Included new transitive dependency
signal-exitv4.1.0.
- Updated
π οΈ Refactoring
-
replace shallowEqual with
dequalfor deep equality checks (d2a5e43)- Removed custom
shallowEqualmethod in favor of usingdequalfor better accuracy. - Updated
MonoStoragelogic to apply deep equality checks with importeddequal. - Adjusted
.gitignorewith additional entries for environment and build artifacts. - Updated
package-lock.jsonwithdequaldependency and removed unused modules.
- Removed custom
π Contributors
- Addon Stack (@addon-stack) β 5 commits
- Addon Stack β 2 commits