From 0222587b492cc15b2601d10dd31abf8f568074de Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Mon, 6 Mar 2023 12:04:03 -0500 Subject: [PATCH] 0.0.12 -> 0.0.13 --- README.md | 2 +- packages/suspense/CHANGELOG.md | 2 ++ packages/suspense/README.md | 2 +- packages/suspense/package.json | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8f1c00b..f588a20 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ APIs to simplify data loading and caching. Primarily intended for use with [Reac ### ⚠️ Considerations 1. Suspense is an experimental, pre-release feature; **these APIs will change** along with React. -1. This library has been optimized for applications like [Replay.io](https://replay.io) that lazy load **read-only data** during a session. Functionality like _mutation_ ([issues 7](https://github.com/bvaughn/suspense/issues/7)) and memory management ([issues 9](https://github.com/bvaughn/suspense/issues/7)) are still being considered. +1. This package depends on `react@experimental` and `react-dom@experimental` versions. --- diff --git a/packages/suspense/CHANGELOG.md b/packages/suspense/CHANGELOG.md index 6988a54..3a20e27 100644 --- a/packages/suspense/CHANGELOG.md +++ b/packages/suspense/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.0.13 * Add `useCacheMutation` hook with support for sync and async cache mutations. +* Add `evictAll` API to all cache types. +* Added dependency on React `experimental` release channel (required for mutation/invalidation support). ## 0.0.12 * Fixed external dependency version. diff --git a/packages/suspense/README.md b/packages/suspense/README.md index 8f1c00b..f588a20 100644 --- a/packages/suspense/README.md +++ b/packages/suspense/README.md @@ -8,7 +8,7 @@ APIs to simplify data loading and caching. Primarily intended for use with [Reac ### ⚠️ Considerations 1. Suspense is an experimental, pre-release feature; **these APIs will change** along with React. -1. This library has been optimized for applications like [Replay.io](https://replay.io) that lazy load **read-only data** during a session. Functionality like _mutation_ ([issues 7](https://github.com/bvaughn/suspense/issues/7)) and memory management ([issues 9](https://github.com/bvaughn/suspense/issues/7)) are still being considered. +1. This package depends on `react@experimental` and `react-dom@experimental` versions. --- diff --git a/packages/suspense/package.json b/packages/suspense/package.json index 8822ddd..a7adc39 100644 --- a/packages/suspense/package.json +++ b/packages/suspense/package.json @@ -1,6 +1,6 @@ { "name": "suspense", - "version": "0.0.12", + "version": "0.0.13", "description": "Utilities for working with React suspense", "author": "Brian Vaughn ", "license": "MIT",