|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 🚀 Release `@addon-core/storage` v0.4.0 (2025-10-07) |
| 4 | + |
| 5 | + |
| 6 | +### ✨ Features |
| 7 | + |
| 8 | +* enhance watch callbacks with key differentiation ([97e4557](https://github.com/addon-stack/storage/commit/97e45572da416e9d04619db1b5715a2ecf2595d8)) |
| 9 | + |
| 10 | + - Updated `watch` to include key-specific callbacks and pass key names to global callbacks. |
| 11 | + - Refactored `StorageWatchOptions` into separate callback types for consistency. |
| 12 | + - Adjusted tests to validate key-specific callback behavior and new parameters. |
| 13 | + - Improved error handling in `AbstractStorage` for unhandled key changes. |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | +### 📝 Documentation |
| 18 | + |
| 19 | +* update README and CONTRIBUTING guidelines for clarity ([aa79667](https://github.com/addon-stack/storage/commit/aa79667541fb440e1f1ebf45a24c06e650001e77)) |
| 20 | + |
| 21 | + - Expanded peer dependency details in README (including @types/react-dom). |
| 22 | + - Updated descriptions for `watch()` callbacks and `getAll()` behavior. |
| 23 | + - Clarified SecureStorage key formatting for namespaced storage. |
| 24 | + - Improved MonoStorage `watch()` explanation with deep comparison info. |
| 25 | + - Revised CONTRIBUTING.md to align with a Simplified GitFlow model. |
| 26 | + - Removed references to `release/*` and `hotfix/*` branches in release process. |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | +### 🤖 CI |
| 31 | + |
| 32 | +* replace release workflows with unified release pipeline ([a39f5d4](https://github.com/addon-stack/storage/commit/a39f5d4a4d13254e94724608161d2b8edcb8f927)) |
| 33 | + |
| 34 | + - Consolidated `release-prepare.yml` and `release-publish.yml` into a single `release.yml`. |
| 35 | + - Streamlined CI with dynamic matrix computation for better flexibility and coverage. |
| 36 | + - Updated `.release-it.cjs` with enhanced contributor logic and changelog formatting. |
| 37 | + - Introduced `.gitattributes` to enforce consistent line endings across the repo. |
| 38 | + - Improved biome configuration to exclude coverage and dist directories. |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +### 🧹 Chores |
| 43 | + |
| 44 | +* update dependencies and replace @adnbn/browser with @addon-core/browser ([fa3bbaa](https://github.com/addon-stack/storage/commit/fa3bbaad4f913d3b42365239694023442831ac38)) |
| 45 | + |
| 46 | + - Updated `@addon-core/browser` to v0.2.1, replacing `@adnbn/browser`. |
| 47 | + - Bumped multiple Jest-related dependencies to v30.2.0 for consistency. |
| 48 | + - Included new transitive dependency `signal-exit` v4.1.0. |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +### 🛠️ Refactoring |
| 53 | + |
| 54 | +* replace shallowEqual with `dequal` for deep equality checks ([d2a5e43](https://github.com/addon-stack/storage/commit/d2a5e43fcfa8100d6dee954293c4f2ec596f9846)) |
| 55 | + |
| 56 | + - Removed custom `shallowEqual` method in favor of using `dequal` for better accuracy. |
| 57 | + - Updated `MonoStorage` logic to apply deep equality checks with imported `dequal`. |
| 58 | + - Adjusted `.gitignore` with additional entries for environment and build artifacts. |
| 59 | + - Updated `package-lock.json` with `dequal` dependency and removed unused modules. |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | +### 🙌 Contributors |
| 65 | + |
| 66 | +- [Addon Stack](https://github.com/addon-stack) (@addon-stack) — 5 commits |
| 67 | +- [Addon Stack](addonbonedev@gmail.com) — 2 commits |
| 68 | + |
3 | 69 | ## 🚀 Release `@addon-core/storage` v0.3.6 (2025-09-26) |
4 | 70 |
|
5 | 71 | ### 🛠️ Refactoring |
|
0 commit comments