Skip to content

Commit

Permalink
Bump versions and release notes for Recoil 0.7.6 and Recoil Sync 0.2 (#…
Browse files Browse the repository at this point in the history
…2056)

Summary:
Pull Request resolved: #2056

Bump versions and release notes for Recoil 0.7.6 and Recoil Sync 0.2

Reviewed By: mrv1k

Differential Revision: D40153058

fbshipit-source-id: 8aa8fda7b184ade972c48573ab4b97840e1ad344
  • Loading branch information
drarmstr authored and facebook-github-bot committed Oct 7, 2022
1 parent fbd1490 commit b63d22a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG-recoil-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
## UPCOMING
**_Add new changes here as they land_**

## 0.2.0 (2022-10-06)

- Export `updateItems()` for the `listen` prop callback in `<RecoilSync>` in addition to `updateItem()` and `updateAllKnownItems()`. (#2017, #2035)
- Removing parameter from URL will reset atoms when using location `queryParams` with a `param`. This is also a slight breaking change when an atom might sync with multiple URL params. (#1900, #1976)
- Add dev warning if unstable `<RecoilURLSyncTransit>` `handlers` prop is detected.
- Add dev warning if unstable `<RecoilURLSyncTransit>` `handlers` prop is detected. (#2044)

## 0.1.1 (2022-08-18)

Expand Down
6 changes: 4 additions & 2 deletions CHANGELOG-recoil.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
## UPCOMING
**_Add new changes here as they land_**

## 0.7.6 (2022-10-06)

- Workaround for React 18 environments with nested renderers that don't support `useSyncExternalStore()` (#2001, #2010)
- Expose flag to disable "duplicate atom key" checking / logging, as it was too noisy in environments such as NextJS. (#733, #2020)
- Import RecoilEnv from the recoil package, and set `RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = false` in code to disable the checking and logging.
- Expose flag to disable "duplicate atom key" checking / logging, as it was too noisy in environments such as NextJS. (#733, #2020, #2046)
- Import `RecoilEnv` from the recoil package, and set `RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = false` in code to disable the checking and logging.
- We also support `process.env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=false` in NodeJS environments such as NextJs
- Caution: This does infact disable all checks for duplicate atom keys, so use with caution!

Expand Down
2 changes: 1 addition & 1 deletion packages/recoil-sync/package-for-release.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "recoil-sync",
"version": "0.1.1",
"version": "0.2.0",
"description": "recoil-sync provides an add-on library to help synchronize Recoil state with external systems",
"main": "cjs/index.js",
"module": "es/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/recoil/package-for-release.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "recoil",
"version": "0.7.5",
"version": "0.7.6",
"description": "Recoil - A state management library for React",
"main": "cjs/index.js",
"module": "es/index.js",
Expand Down

0 comments on commit b63d22a

Please sign in to comment.