@legendapp/state 0.21.13-next.2 → 0.21.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,35 @@
1
+ ## 0.21.13
2
+
3
+ - Feat: Added a `usePersistedObservable` hook
4
+ - Feat: Added an optional second parameter to observe for an untracked callback function
5
+ - Feat: Added helpers: `pageHash` and `pageHashParams` (replaces `useHash`)
6
+ - Fix: `useObservableQuery` was sometimes not working because it was not loading the correct Context
7
+ - Types: Improved types for strict mode
8
+
9
+ ## 0.21.12
10
+
11
+ - Feat: For remote persistence plugins: Add options to disable local or remote sync, support loading remote even if there's no local
12
+
13
+ ## 0.21.11
14
+
15
+ - Feat: Added useObservableQuery hook
16
+ - Feat: Added local persistence options, starting with mmkv configuration
17
+ - Change: Removed persist option from useObservable. It was a bad idea - it imported the whole /persist export. A better solution will come in an update soon.
18
+
19
+ ## 0.21.10
20
+
21
+ - Fix: `createObservableHook` was not working with initialState as a function
22
+ - Perf: Reduce number of renders by not notifying if setting with an unchanged object or array
23
+
24
+ ## 0.21.9
25
+
26
+ - Fix: A circular import warning in the react export
27
+
28
+ ## 0.21.8
29
+
30
+ - Fix: `useSelector` was not cleaning up when components when components re-rendered from a source other than observables
31
+ - Types: Improved types for strict mode https://github.com/LegendApp/legend-state/pull/56
32
+
1
33
  ## 0.21.7
2
34
 
3
35
  - Feat: Added another way to use the `Switch` component, with multiple `Show` children, that renders the first `Show` that matches
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legendapp/state",
3
- "version": "0.21.13-next.2",
3
+ "version": "0.21.13",
4
4
  "description": "legend-state",
5
5
  "sideEffects": false,
6
6
  "private": false,