From 61f1985b9b4bd1458f1f74e7627c677853a44c8c Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Wed, 17 Apr 2024 18:50:48 +0100 Subject: [PATCH 1/2] chore: update changelog for 2.0.3 release --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 132aec46e..79a9d8cc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ This contains only the most important and/or user-facing changes; for a full changelog, see the commit history. +## [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) +- Fix to allow `ErrorInfo` export to be accessed as a named export in ESM and when using commonjs interop [\#1741](https://github.com/ably/ably-js/pull/1741) +- Fix `ReferenceError: self is not defined` error when running Jest tests in React Native using ably-js [\#1738](https://github.com/ably/ably-js/pull/1738) +- Fix `httpMaxRetryDuration` client option didn't actually limit max elapsed time for rest fallback host retries [\#1721](https://github.com/ably/ably-js/pull/1721) +- Fix default value for `httpRequestTimeout` client option was wrongly 15 seconds instead of expected 10 seconds [\#1721](https://github.com/ably/ably-js/pull/1721) + ## [2.0.2](https://github.com/ably/ably-js/tree/2.0.2) (2024-04-08) - Fix an issue with realtime connections using the bun runtime [\#1716](https://github.com/ably/ably-js/pull/1716) From 33732bb0cc3cf884118d5a31af4af96febc63f2f Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Wed, 17 Apr 2024 18:52:01 +0100 Subject: [PATCH 2/2] chore: bump version for 2.0.3 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 a1030bb8c..da27ace81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "2.0.2", + "version": "2.0.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "2.0.2", + "version": "2.0.3", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index ea3f52a24..a185f045d 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.2", + "version": "2.0.3", "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 8fef3e651..69b70a064 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.2'; +export const version = '2.0.3'; export function channelOptionsWithAgent(options?: Ably.ChannelOptions) { return {