UNPKG

2.03 kBMarkdownView Raw
1# Change Log
2
3## 0.0.10 (2020-06-18)
4
5### Bug Fix
6
7- Fix exports for snapshot hooks
8
9## 0.0.9 (2020-06-17)
10
11### Features
12
13- TypeScript support now rolled into Recoil repository and package.
14- Recoil Snapshot API for observing and managing global Recoil state.
15
16### Improvements
17
18- Throw error with meaningful message if user doesn't use an atom or selector with most Recoil hooks (#205) - Thanks @alexandrzavalii
19- Improve testing (#321, #318, #294, #262, #295) - Thanks @aaronabramov, @Komalov, @mondaychen, @drarmstr, and @tyler-mitchell
20- Improve open-source build (#249, #203, #33) - Thanks to @tony-go, @acutmore, and @jaredpalmer
21
22### Bug Fixes
23
24- Some fixes for Server Side Rendering, though we do not officially support it yet. (#233, #220, #284) - Thanks @fyber-LJX, @Chrischuck, and @aulneau
25- Fix selectors recording dependency subscriptions in some cases (#296) - Thanks @drarmstr
26- Fix updaters in `useRecoilCallback()` getting current state (#260) - Thanks @drarmstr
27- Fix error messages when throwing certain errors in the open-source build. (#199) - Thanks @jonthomp
28- Reduce Flow errors for open-source builds (#308) - Thanks @Komalov
29
30## 0.0.8 (2020-05-30)
31
32### Bug Fixes
33
34- Build system and repository syncing fixed.
35- Fixed a bug where atoms that stored self-referential structures would cause an infinite loop. (#153)
36- Fixed bugs affecting Server-Side Rendering. (#53)
37
38### Features
39
40- TypeScript support is now available via DefinitelyTyped.
41- `atomFamily` and `selectorFamily`: these provide a standard way to create atoms and selectors using memoized functions. Compared with doing this yourself, in the future these will help with memory management.
42- `noWait`, `waitForNone`, `waitForAny`, `waitForAll`: helpers for concurrency and other advanced logic in async selectors.
43- `constSelector` and `errorSelector`: selectors that always evaluate to a constant or always throw an error.
44- `readOnlySelector`: wraps a read-write atom or selector in a read-only interface, for when you need type covariance.