|
|
@ -2,13 +2,13 @@
|
|
|
|
"store": minor:breaking
|
|
|
|
"store": minor:breaking
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
**Breaking changes**:
|
|
|
|
### Breaking changes:
|
|
|
|
|
|
|
|
|
|
|
|
- Renamed `StoreCollection` to `StoreState`
|
|
|
|
- Renamed `StoreCollection` to `StoreState`
|
|
|
|
- `StoreBuilder::build` now returns a `Result`
|
|
|
|
- `StoreBuilder::build` now returns a `Result`
|
|
|
|
- `StoreExt::store` now returns `Result<Arc<Store>>`
|
|
|
|
- `StoreExt::store` now returns `Result<Arc<Store>>`
|
|
|
|
|
|
|
|
|
|
|
|
Other Changes:
|
|
|
|
### Enhancements:
|
|
|
|
|
|
|
|
|
|
|
|
- Save and cancel pending auto save on drop
|
|
|
|
- Save and cancel pending auto save on drop
|
|
|
|
- Use absolute path as store's key, fix #984
|
|
|
|
- Use absolute path as store's key, fix #984
|
|
|
@ -16,9 +16,9 @@ Other Changes:
|
|
|
|
- Enable auto save with 100ms debounce time by default
|
|
|
|
- Enable auto save with 100ms debounce time by default
|
|
|
|
- Use pretty json by default, close #1690
|
|
|
|
- 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
|
|
|
|
- Add default (de)serialize functions settings
|
|
|
|
- Allow js to use pre-stored (de)serialize functions
|
|
|
|
- Allow js to use pre-stored (de)serialize functions
|
|
|
|
- Add back lazy store (implemented in js)
|
|
|
|
- Add back lazy store (implemented in js)
|
|
|
|