From 1d8224c5e5909ede19ecb58570d33097e0dd3892 Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Thu, 31 Aug 2023 14:20:36 +0100 Subject: [PATCH 1/3] chore: bump version for 3.0.0-rc.0 release --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6b43c2a..64cb1ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ably-labs/react-hooks", - "version": "2.1.1", + "version": "3.0.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ably-labs/react-hooks", - "version": "2.1.1", + "version": "3.0.1-rc.0", "license": "ISC", "dependencies": { "ably": "^1.2.27" diff --git a/package.json b/package.json index cdb1307..f79cf53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ably-labs/react-hooks", - "version": "2.1.1", + "version": "3.0.0-rc.0", "description": "", "main": "dist/cjs/index.js", "module": "dist/mjs/index.js", From b52e650fbea580235eaeb1813a9f730fa9a66fb1 Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Thu, 31 Aug 2023 14:25:42 +0100 Subject: [PATCH 2/3] docs: update README for 3.0.0-rc.0 release --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49d3eb8..a073029 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## [v3.0.0-rc.0] + +- feat(usePresence): add `subscribeOnly` [\#41](https://github.com/ably-labs/react-hooks/pull/41) +- feat!: add `` and `useAbly` [\#57](https://github.com/ably-labs/react-hooks/pull/57) +- feat: add `useChannelStateListener` and `useConnectionStateListener` [\#65](https://github.com/ably-labs/react-hooks/pull/65) +- fix: `useChannel` hook with `ChannelOptions` throws error [\#66](https://github.com/ably-labs/react-hooks/pull/66) +- feat!: channel/connection error handling APIs [\#71](https://github.com/ably-labs/react-hooks/pull/71) +- feat!: add React 16.8+ support for the library [\#75](https://github.com/ably-labs/react-hooks/pull/75) +- feat: skip param for usePresence and useChannel [\#81](https://github.com/ably-labs/react-hooks/pull/81) +- feat: allow useChannel without message callback [\#85](https://github.com/ably-labs/react-hooks/pull/85) +- make ably-js a peerDependency [\#86](https://github.com/ably-labs/react-hooks/pull/86) + ## [v2.1.1](https://github.com/ably-labs/react-hooks/tree/v2.1.1) [Full Changelog](https://github.com/ably-labs/react-hooks/compare/934c32cb9af7e0b0aa4732c373294c632423f584...v2.1.1) From a57f7c6d456fe615b0a0f0dbf0230d2f37b27d9a Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Thu, 31 Aug 2023 14:36:11 +0100 Subject: [PATCH 3/3] docs: update installation instructions for rc release --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1465510..996debd 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,10 @@ The hooks provide a simplified syntax for interacting with Ably, and manage the The hooks ship as an ES6 module, so you can use the `import` syntax in your react code. +In order to install the latest 3.0 release candidate, + ```bash -npm install --save @ably-labs/react-hooks +npm install --save @ably-labs/react-hooks@rc ably ``` This works out of the box using `create-react-app` - and you can use the package immediately.