From 47fe269bf2b37bae79bdb75f5419cc34edb1449e Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Thu, 2 Nov 2023 10:42:42 +0000 Subject: [PATCH 1/2] chore: update changelog for 1.2.47 release --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2529d9fd87..9959b2eb01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ This contains only the most important and/or user-facing changes; for a full changelog, see the commit history. +## [1.2.47](https://github.com/ably/ably-js/tree/1.2.47) (2023-11-02) + +- fix(react): fix issue where useChannel would error upon router navigation or hmr [\#1478](https://github.com/ably/ably-js/pull/1478) + ## [1.2.46](https://github.com/ably/ably-js/tree/1.2.46) (2023-10-24) - fix: avoid directly exporting Ably.ErrorInfo from promises.js [\#1463](https://github.com/ably/ably-js/pull/1463) From edd50b099fdeb74af90771ce207314173f1bb212 Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Thu, 2 Nov 2023 10:43:23 +0000 Subject: [PATCH 2/2] chore: bump version for 1.2.47 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 81cd8ff249..1af963201d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "1.2.46", + "version": "1.2.47", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "1.2.46", + "version": "1.2.47", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index 024620fcf8..03aa140815 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ably", "description": "Realtime client library for Ably, the realtime messaging service", - "version": "1.2.46", + "version": "1.2.47", "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 a3a853035a..2742f29a7e 100644 --- a/src/platform/react-hooks/src/AblyReactHooks.ts +++ b/src/platform/react-hooks/src/AblyReactHooks.ts @@ -17,7 +17,7 @@ export type ChannelNameAndId = { }; export type ChannelParameters = string | ChannelNameAndOptions; -export const version = '1.2.46'; +export const version = '1.2.47'; export function channelOptionsWithAgent(options?: Types.ChannelOptions) { return {