mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-25 11:46:06 +02:00
Apply suggestions from code review
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
This commit is contained in:
@@ -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`
|
||||
|
||||
@@ -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<Arc<Store>>`
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user