mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-02 13:41:49 +02:00
24 lines
752 B
Markdown
24 lines
752 B
Markdown
---
|
|
"store": minor:breaking
|
|
---
|
|
|
|
### Breaking changes:
|
|
|
|
- Renamed `StoreCollection` to `StoreState`
|
|
- `StoreBuilder::build` now returns a `Result`
|
|
- `StoreExt::store` now returns `Result<Arc<Store>>`
|
|
|
|
### Enhancements:
|
|
|
|
- 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:
|
|
|
|
- Add `get_store` to get shared stores across js and rust side
|
|
- Add default (de)serialize functions settings `default_serialize_fn` and `default_deserialize_fn`
|
|
- Allow js to use pre-stored (de)serialize functions registered by `register_serialize_fn` and `register_deserialize_fn`
|