From 9ef25bfe4e7e6342cff53d5dcbc02b2e2649f50a Mon Sep 17 00:00:00 2001 From: daishi Date: Tue, 17 May 2022 21:10:54 +0900 Subject: [PATCH] v0.16.1; peer dependencies --- CHANGELOG.md | 6 +++++- package.json | 15 +++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eae7d7f..a22faf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,13 @@ ## [Unreleased] +## [0.16.1] - 2022-05-17 +### Changed +- Fix peer dependencies + ## [0.16.0] - 2022-05-17 ### Changed -- New context-based API (cache size one) +- New context-based API (cache size one) #36 ## [0.15.0] - 2022-02-07 ### Changed diff --git a/package.json b/package.json index 8e88067..c1b1a96 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-hooks-fetch", "description": "Minimal data fetching library with React Suspense", - "version": "0.16.0", + "version": "0.16.1", "author": "Daishi Kato", "repository": { "type": "git", @@ -81,6 +81,17 @@ "webpack-dev-server": "^4.9.0" }, "peerDependencies": { - "react": ">=16.8.0" + "react": ">=16.8.0", + "react-dom": "*", + "react-native": "*", + "scheduler": ">=0.19.0" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + } } }