Skip to content

tauri-store

Next

Nothing yet.

1.1.0

Features

1.0.2

Documentation

  • Update README.

1.0.1

Bug fixes

  • Remove accidentally exposed internal command.

1.0.0

Breaking Changes

  • Rename Store::get to Store::get_raw.
  • Rename Store::try_get, Store::try_get_or, Store::try_get_or_default, and Store::try_get_or_else to Store::get, Store::get_or, Store::get_or_default, and Store::get_or_else, respectively.
  • Rename Store::state to Store::raw_state.
  • Rename StoreCollection::try_state, StoreCollection::try_state_or, StoreCollection::try_state_or_default, and StoreCollection::try_state_or_else to StoreCollection::state, StoreCollection::state_or, StoreCollection::state_or_default, and StoreCollection::state_or_else, respectively.
  • Remove StoreCollection::set_path and its respective JavaScript command (setStoreCollectionPath);
  • Remove meta.tauristore file.
  • Remove pretty option from the plugin builder.

Features

  • Add Marshaler trait for custom serialization and deserialization.
  • Add JsonMarshaler and PrettyJsonMarshaler to save the stores as JSON files.
  • Add TomlMarshaler and PrettyTomlMarshaler to save the stores as TOML files.
  • Add StoreCollection::app_handle.
  • Allow to destroy stores, also deleting their respective files.
  • Introduce unchecked variants for get methods (e.g. Store::get_unchecked).
  • Use sandboxed environment on Android and iOS (thanks @saurL).
  • Stabilize store migrations.

0.12.1

Dependencies

  • Update minor dependencies.

0.12.0

Features

Bug fixes

  • Stop unnecessarily requiring filterKeys to be set when the strategy is a callback.

0.11.0

Breaking Changes

Features

0.10.5

Features

0.10.4

Dependencies

  • Update dependencies.

0.10.3

Features

0.10.2

Dependencies

  • Update dependencies.

0.10.1

Documentation

  • Update README.

0.10.0

Breaking Changes

  • Remove Store.subscribeKey.

Features

  • Add experimental support for store migrations.
  • Use alien-signals as the underlying reactivity system.

0.9.0

Breaking Changes

  • Use different files for the stores when in development mode.
  • Add StoreId struct.
  • Add WatcherId struct.
  • Remove deprecated StoreFrontendOptions.onError.

0.8.1

Documentation

  • Ensure that Cargo features are properly documented on docs.rs.

0.8.0

Breaking Changes

  • Add plugin feature. Now it's possible use tauri-store directly as a Tauri plugin. This is enabled by default, so anyone developing a plugin based on the tauri-store crate should make sure to disable this feature.

0.7.2

Documentation

  • Update README.

0.7.1

Bug Fixes

  • Remove #[expect] attribute.

0.7.0

Features

0.6.0

Breaking Changes

Features

Enhancements

0.5.0

Breaking Changes

  • Remove unstable-async feature.

Enhancements

  • Add prelude module.

0.4.0

Breaking Changes

Features

Enhancements

Bug Fixes

  • Consume the first autosave tick immediately before starting the interval.

Performance

  • Use the ResourceTable to manage each store independently, instead of using a single hash map for all of them.