diff --git a/.changes/store-plugin-rework.md b/.changes/store-plugin-rework.md index 949df008..6a771690 100644 --- a/.changes/store-plugin-rework.md +++ b/.changes/store-plugin-rework.md @@ -2,13 +2,19 @@ "store": minor:breaking --- -**Breaking change**: Renamed `StoreCollection` to `StoreState` +**Breaking changes**: -Changes: +- Renamed `StoreCollection` to `StoreState` +- `StoreBuilder::build` now returns a `Result` +- `StoreExt::store` now returns `Arc` instead of `Store` + +Other Changes: -- Disallow calling `create_store` when there're still active stores with the same path alive - Save and cancel pending auto save on drop - Use absolute path as store's key, fix #984 +- Share store to resource table by default +- Enable auto save with 100ms debounce time by default +- Use pretty json by default, close #1690 New features: @@ -16,9 +22,3 @@ New features: - Add default (de)serialize functions settings - Allow js to use pre-stored (de)serialize functions - Add back lazy store (implemented in js) - -Default changes: - -- Share store to resource table by default -- Enable auto save with 100ms debounce time by default -- Use pretty json by default, close #1690 \ No newline at end of file