Skip to content

Releases: addon-stack/storage

v0.4.0

07 Oct 14:42

Choose a tag to compare

🚀 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

v0.3.6

26 Sep 11:36

Choose a tag to compare

🚀 Release @addon-core/storage v0.3.6 (2025-09-26)

🛠️ Refactoring

  • update release-it config to hide unused sections (1ce0a4d)

    • Updated configuration to hide docs, build, and chore sections in changelogs.
    • Removed chore and build from patch types for version bump logic.
    • Added releaseName field in GitHub releases for better naming consistency.
  • update release-it configuration for better npm publish (ae54a77)

v0.3.5

25 Sep 21:44

Choose a tag to compare

🚀 Release @addon-core/storage v0.3.5 (2025-09-25)

🐛 Bug Fixed

  • release-it: remove redundant releaseName field from config (92bfca4)

    • Deleted the releaseName field under the GitHub section as it is not used.
    • Simplifies the configuration for release management.

🧹 Chores

  • release: v0.3.4 [skip ci] (7b9bf6d)

v0.3.1

24 Sep 20:56

Choose a tag to compare

🚀 0.3.1

  • re-enable and refine writerOpts for release configuration- Uncommented and refined writerOpts in shared.cjs for structured release notes.
  • Enhanced commitPartial to properly handle subject fallback and body rendering.
  • Restored and fine-tuned sorting for type, scope, and subject fields.
  • shared.cjs: comment out writerOpts in release configuration- Temporarily disabled writerOpts block by commenting it out in shared.cjs.
  • Ensures configuration is bypassed while retaining the original logic for reference.
  • ci: improve commitPartial and release notes grouping logic- Updated commitPartial in shared.cjs to include type and scope formatting enhancements.
  • Enabled grouping of commits by type with sorting on scope and subject.
  • Adjusted commitGroupsSort and commitsSort for better structured release notes.
  • ci: streamline release messaging and enhance template structure- Updated committed.cjs to remove release notes from commit message template.
  • Improved shared.cjs by adjusting commitPartial to use headers for better readability.
  • Added headerPartial to include version information in generated release notes.
  • ci: update release-sync workflow and enhance commitPartial- Updated release-sync.yml to use devmasx/merge-branch@master for branch syncing.
  • Migrated workflow syntax to use from_branch and target_branch for clarity.
  • Improved commitPartial in shared.cjs by adjusting templates and ensuring better alignment.
  • Enabled hidden attribute for all Semantic Release type presets.

v0.3.0

24 Sep 15:27

Choose a tag to compare

0.3.0 (2025-09-24)

ci: add workflow to sync main into develop upon release

  • Introduced release-sync.yml to automatically merge main into develop post-release.

  • Utilizes tibdex/merge-branch@v3 to handle the branch sync process.

  • Triggers on successful completion of the Release Publish workflow.
    ci: enhance commitPartial to properly handle type and scope checks

  • Updated commitPartial template in shared.cjs to include a type check.

  • Ensures release notes are generated only if a valid type is present.
    add keywords, author, and contributors metadata

  • Added keywords for improved discoverability of the package.

  • Included author and contributors fields for better attribution.

v0.2.3

23 Sep 21:48

Choose a tag to compare

0.2.3 (2025-09-23)

standardize indentation and adjust lint-staged configuration

  • Updated indentation in all Semantic Release config files for consistency.

  • Standardized import format for commonPlugins across configs.

  • Enhanced lint-staged and biome.json to include .cjs and .mjs file formats.
    restructure Semantic Release configs and update workflows

  • Moved release configs to release directory for better organization.

  • Split shared plugins into shared.cjs for reduced duplication across configs.

  • Updated release-publish.yml and release-prepare.yml to reference new config paths.

  • Removed outdated semantic-release.config.cjs and semantic-release.preview.cjs.

  • Excluded src/types.ts from the build entrypoint in tsup.config.ts.
    migrate build tooling to tsup and update dependencies

  • Replaced @rslib/core build config with tsup for a streamlined setup.

  • Removed .changeset directory and rslib.config.ts as part of build tool migration.

  • Updated semantic-release.preview.cjs indentation for consistency.

  • Added esbuild-fix-imports-plugin and tsup to devDependencies for improved module bundling.

  • Updated import in useStorage.ts to reflect proper module export.

v0.2.2

23 Sep 14:17

Choose a tag to compare

0.2.2 (2025-09-23)

Bug Fixes

  • remove unused --debug flag from Semantic Release dry run (9108ff3)

v0.2.1

22 Sep 21:42

Choose a tag to compare

Patch Changes

v0.2.0

22 Sep 20:56

Choose a tag to compare

Minor Changes

  • 906ed65 Thanks @addon-stack! - added storage providers and utilities:

    • Storage, SecureStorage, MonoStorage
    • React hook useStorage for convenient use of storage in components
    • Factories Storage.Local/Sync/Session, namespace support, and watch for change subscriptions

    Infrastructure and tooling

    • migrate: switched to Biome for linting and code formatting
    • chore: updated npm scripts and configs for consistency and stability
    • chore: refined lint-staged, simplified pre-commit scripts
    • chore: mass auto-formatting and import ordering

    CI/CD and releases

    • chore: simplified release preparation — commit changes directly to the release branch
    • CI: current CI (type checks, tests, build, npm pack --dry-run) updated to match new scripts/linter

    Reference commits

    • feat: introduce Storage, SecureStorage, MonoStorage and useStorage hook — 4459fd5
    • migrate to Biome — 2b4d1a3
    • update scripts/configs — 8daee6b
    • lint-staged/pre-commit tweaks — 4ed5053, 5ad57ac
    • simplify release workflow — 0365825