From 6fcfe48131d5b1d1d838714419ea7f654c95e095 Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Fri, 3 May 2024 12:55:27 +0100 Subject: [PATCH 1/2] chore: bump version for 2.0.4 release --- package-lock.json | 4 ++-- package.json | 2 +- src/platform/react-hooks/src/AblyReactHooks.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index da27ace81..eff3e2839 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "2.0.3", + "version": "2.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "2.0.3", + "version": "2.0.4", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index a185f045d..8641bf3dc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ably", "description": "Realtime client library for Ably, the realtime messaging service", - "version": "2.0.3", + "version": "2.0.4", "license": "Apache-2.0", "bugs": { "url": "https://github.com/ably/ably-js/issues", diff --git a/src/platform/react-hooks/src/AblyReactHooks.ts b/src/platform/react-hooks/src/AblyReactHooks.ts index 69b70a064..ac895b1f4 100644 --- a/src/platform/react-hooks/src/AblyReactHooks.ts +++ b/src/platform/react-hooks/src/AblyReactHooks.ts @@ -12,7 +12,7 @@ export type ChannelNameAndOptions = { export type ChannelNameAndAblyId = Pick; export type ChannelParameters = string | ChannelNameAndOptions; -export const version = '2.0.3'; +export const version = '2.0.4'; export function channelOptionsWithAgent(options?: Ably.ChannelOptions) { return { From 6b2fd26650f3f8379f383e7a5fc3414e2455c6a7 Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Fri, 3 May 2024 12:58:12 +0100 Subject: [PATCH 2/2] chore: update changelog for 2.0.4 release --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79a9d8cc3..43a7f751a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ This contains only the most important and/or user-facing changes; for a full changelog, see the commit history. +## [2.0.4](https://github.com/ably/ably-js/tree/2.0.4) (2024-05-03) + +- Fix invalid `accessToken` when using REST API Client in React Native [\#1730](https://github.com/ably/ably-js/issues/1730), [\#1749](https://github.com/ably/ably-js/issues/1749) +- Fix docstring for `Channels.release` method [\#1752](https://github.com/ably/ably-js/pull/1752) + ## [2.0.3](https://github.com/ably/ably-js/tree/2.0.3) (2024-04-18) - Improve error message displayed when trying to use `Ably.Realtime` instance in the Vercel Edge runtime [\#1736](https://github.com/ably/ably-js/pull/1736)