@legendapp/state 0.18.0-next.1 → 0.18.0

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 +28 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ ## 0.18.0
2
+ - Breaking: Renamed tracing functions to `use*` to match hook naming
3
+ - Fix: Improved automatic React hooking into dispatcher to not need a `useEffect` and more dependably cleanup
4
+ - Fix: Better handling JSX and DOM elements in observables
5
+ - Fix: Tracing functions were not always working correctly
6
+ - Fix: Errors building in Next.js
7
+ - Fix: Typing of Show component with Babel plugin enabled
8
+ - Feat: Support `computed` with a Promise
9
+
10
+ ## 0.17.6
11
+ - Fix: React behavior disabled until it's activated by React rendering it
12
+
13
+ ## 0.17.5
14
+ - Fix: Missing export of `useSelector`
15
+
16
+ ## 0.17.4
17
+ - Fix: Improve `observe()` disposing
18
+
19
+ ## 0.17.3
20
+ - Fix: Undefined observables were not rendering directly in React properly
21
+ - Fix: `observe()` was not updating listeners on each run
22
+
23
+ ## 0.17.2
24
+ - Fix: Typo in mergeIntoObservable
25
+
26
+ ## 0.17.1
27
+ - Fix: Wrapped React hook injection in try/catch because it was sometimes causing errors like when hydrating in Next.js
28
+
1
29
  ## 0.17.0
2
30
 
3
31
  This is a big one, with mainly a breaking change to how primitives work, so see https://legendapp.com/dev/state/migrating for more details. We're aiming for this to be the last major change before aiming towards a 1.0.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legendapp/state",
3
- "version": "0.18.0-next.1",
3
+ "version": "0.18.0",
4
4
  "description": "legend-state",
5
5
  "sideEffects": false,
6
6
  "private": false,
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "overrides": {
66
66
  "react": "18.2.0",
67
- "ts-jest": "27.0.4"
67
+ "ts-jest": "29.0.2"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "react": ">=16.8",