UNPKG

2.26 kBMarkdownView Raw
1# Change Log
2
3## 0.0.11 (2020-09-02)
4
5- Experimental React Concurrent Mode Support
6- Performance
7- Flow Types
8- ES, CommonJS, and UMD packages
9- Synchronization Across React Roots
10- Preliminary Developer Tools API
11- Test Infrastructure Fixes
12
13## 0.0.10 (2020-06-18)
14
15### Bug Fix
16
17- Fix exports for snapshot hooks
18
19## 0.0.9 (2020-06-17)
20
21### Features
22
23- TypeScript support now rolled into Recoil repository and package.
24- Recoil Snapshot API for observing and managing global Recoil state.
25
26### Improvements
27
28- Throw error with meaningful message if user doesn't use an atom or selector with most Recoil hooks (#205) - Thanks @alexandrzavalii
29- Improve testing (#321, #318, #294, #262, #295) - Thanks @aaronabramov, @Komalov, @mondaychen, @drarmstr, and @tyler-mitchell
30- Improve open-source build (#249, #203, #33) - Thanks to @tony-go, @acutmore, and @jaredpalmer
31
32### Bug Fixes
33
34- Some fixes for Server Side Rendering, though we do not officially support it yet. (#233, #220, #284) - Thanks @fyber-LJX, @Chrischuck, and @aulneau
35- Fix selectors recording dependency subscriptions in some cases (#296) - Thanks @drarmstr
36- Fix updaters in `useRecoilCallback()` getting current state (#260) - Thanks @drarmstr
37- Fix error messages when throwing certain errors in the open-source build. (#199) - Thanks @jonthomp
38- Reduce Flow errors for open-source builds (#308) - Thanks @Komalov
39
40## 0.0.8 (2020-05-30)
41
42### Bug Fixes
43
44- Build system and repository syncing fixed.
45- Fixed a bug where atoms that stored self-referential structures would cause an infinite loop. (#153)
46- Fixed bugs affecting Server-Side Rendering. (#53)
47
48### Features
49
50- TypeScript support is now available via DefinitelyTyped.
51- `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.
52- `noWait`, `waitForNone`, `waitForAny`, `waitForAll`: helpers for concurrency and other advanced logic in async selectors.
53- `constSelector` and `errorSelector`: selectors that always evaluate to a constant or always throw an error.
54- `readOnlySelector`: wraps a read-write atom or selector in a read-only interface, for when you need type covariance.