Skip to content

@tauri-store/valtio ​

Next ​

Nothing yet.

Dependencies ​

  • Update dependencies.

3.3.1 ​

Dependencies ​

  • Update dependencies.

3.3.0 ​

Features ​

  • Add preserve-order feature.

Dependencies ​

  • Update tauri-store to 1.2.0.

3.2.1 ​

Internal changes ​

  • Rename checkAutoStart to tryAutoStart to better reflect behavior (thanks RainyNight9).

3.2.0 ​

Features ​

  • Add subscribe and subscribeKey methods to the store.

3.1.0 ​

Features ​

  • Update tauri-store to 1.1.0.

3.0.2 ​

Documentation ​

  • Update README.

3.0.1 ​

Bug fixes ​

  • Remove accidentally exposed internal command.

3.0.0 ​

Breaking Changes ​

  • Update tauri-store to 1.0.0.

Please refer to its changelog for more details.

2.7.1 ​

Dependencies ​

  • Update minor dependencies.

2.7.0 ​

Features ​

Bug fixes ​

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

2.6.0 ​

Features ​

  • Expose marker struct.

2.5.0 ​

Features ​

  • Allow to start stores automatically.

Dependencies ​

  • Update tauri-store to 0.11.0.

2.4.0 ​

Features ​

2.3.0 ​

Features ​

2.2.0 ​

Features ​

  • Add toStore helper function to create a store from an existing proxy.
typescript
import { proxy } from "valtio";
import { toStore } from "@tauri-store/valtio";

const state = proxy({ counter: 0 });
const foo = toStore("foo", state);

2.1.1 ​

Documentation ​

  • Update README.

2.1.0 ​

Features ​

  • Add experimental support for store migrations.

Bug Fixes ​

Dependencies ​

  • Update tauri-store to 0.10.0.

2.0.0 ​

Breaking Changes ​

  • Update tauri-store to 0.9.0.
  • Rename getValtioPath to getStoreCollectionPath.
  • Rename setValtioPath to setStoreCollectionPath.
  • Remove deprecated StoreFrontendOptions.onError.

1.1.1 ​

Dependencies ​

1.1.0 ​

Features ​

  • Deprecate StoreFrontendOptions.onError.
  • Add StoreHooks to the plugin options.

0.2.2 ​

Dependencies ​

0.2.1 ​

Dependencies ​

0.2.0 ​

Features ​

  • Add setValtioPath.
  • Add StoreBackendOptions.saveOnExit.

Dependencies ​