Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 14:42
· 32 commits to main since this release

πŸš€ Release @addon-core/storage v0.4.0 (2025-10-07)

✨ Features

  • enhance watch callbacks with key differentiation (97e4557)

    • Updated watch to include key-specific callbacks and pass key names to global callbacks.
    • Refactored StorageWatchOptions into separate callback types for consistency.
    • Adjusted tests to validate key-specific callback behavior and new parameters.
    • Improved error handling in AbstractStorage for unhandled key changes.

πŸ“ Documentation

  • update README and CONTRIBUTING guidelines for clarity (aa79667)

    • Expanded peer dependency details in README (including @types/react-dom).
    • Updated descriptions for watch() callbacks and getAll() 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/* and hotfix/* branches in release process.

πŸ€– CI

  • replace release workflows with unified release pipeline (a39f5d4)

    • Consolidated release-prepare.yml and release-publish.yml into a single release.yml.
    • Streamlined CI with dynamic matrix computation for better flexibility and coverage.
    • Updated .release-it.cjs with enhanced contributor logic and changelog formatting.
    • Introduced .gitattributes to enforce consistent line endings across the repo.
    • Improved biome configuration to exclude coverage and dist directories.

🧹 Chores

  • update dependencies and replace @adnbn/browser with @addon-core/browser (fa3bbaa)

    • Updated @addon-core/browser to v0.2.1, replacing @adnbn/browser.
    • Bumped multiple Jest-related dependencies to v30.2.0 for consistency.
    • Included new transitive dependency signal-exit v4.1.0.

πŸ› οΈ Refactoring

  • replace shallowEqual with dequal for deep equality checks (d2a5e43)

    • Removed custom shallowEqual method in favor of using dequal for better accuracy.
    • Updated MonoStorage logic to apply deep equality checks with imported dequal.
    • Adjusted .gitignore with additional entries for environment and build artifacts.
    • Updated package-lock.json with dequal dependency and removed unused modules.

πŸ™Œ Contributors