diff --git a/.changes/store-plugin-rework-js-feat.md b/.changes/store-plugin-rework-js-feat.md index 8eb61988..3306af24 100644 --- a/.changes/store-plugin-rework-js-feat.md +++ b/.changes/store-plugin-rework-js-feat.md @@ -3,5 +3,5 @@ --- - Add `getStore` -- Add an option to use pre-stored (de)serialize functions -- Add back lazy store `LazyStore` +- Add an option to use pre-stored (de)serialize functions (registered on rust) +- Add `LazyStore` diff --git a/.changes/store-plugin-rework.md b/.changes/store-plugin-rework.md index 2b6d3618..0d4776b0 100644 --- a/.changes/store-plugin-rework.md +++ b/.changes/store-plugin-rework.md @@ -2,13 +2,13 @@ "store": minor:breaking --- -**Breaking changes**: +### Breaking changes: - Renamed `StoreCollection` to `StoreState` - `StoreBuilder::build` now returns a `Result` - `StoreExt::store` now returns `Result>` -Other Changes: +### Enhancements: - Save and cancel pending auto save on drop - Use absolute path as store's key, fix #984 @@ -16,9 +16,9 @@ Other Changes: - Enable auto save with 100ms debounce time by default - Use pretty json by default, close #1690 -New features: +### New features: -- Add `getStore`/`get_store` share stores across js and rust side +- Add `get_store` to get shared stores across js and rust side - Add default (de)serialize functions settings - Allow js to use pre-stored (de)serialize functions - Add back lazy store (implemented in js)