From e80b21b67f74bd4ced8e46055c07a5c1bbcc383d Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Mon, 25 Sep 2023 12:18:33 +0100 Subject: [PATCH 1/2] docs: update changelog for 1.2.45 release --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index da5c53c663..8302cb4b7b 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. +## [1.2.45](https://github.com/ably/ably-js/tree/1.2.45) (2023-09-25) + +- remove `AblyProvider` options prop [\#1446](https://github.com/ably/ably-js/pull/1446) +- fix: throw descriptive error when callbacks used with react [\#1450](https://github.com/ably/ably-js/pull/1450) + ## [1.2.44](https://github.com/ably/ably-js/tree/1.2.44) (2023-09-04) - Add new experimental react hooks and context provider [\#1433](https://github.com/ably/ably-js/pull/1433) From be0085d19feb4243b22fedf5f877a30b462e1b1b Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Mon, 25 Sep 2023 12:19:00 +0100 Subject: [PATCH 2/2] chore: bump version for 1.2.45 release --- package-lock.json | 4 ++-- package.json | 2 +- src/platform/react-hooks/src/AblyProvider.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2e36e0a00e..2509cfef1d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "1.2.44", + "version": "1.2.45", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "1.2.44", + "version": "1.2.45", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index bd9860a4cc..89738a8a46 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.44", + "version": "1.2.45", "license": "Apache-2.0", "bugs": { "url": "https://github.com/ably/ably-js/issues", diff --git a/src/platform/react-hooks/src/AblyProvider.tsx b/src/platform/react-hooks/src/AblyProvider.tsx index 6382c8060e..b6995c5f0e 100644 --- a/src/platform/react-hooks/src/AblyProvider.tsx +++ b/src/platform/react-hooks/src/AblyProvider.tsx @@ -4,7 +4,7 @@ import * as Ably from 'ably'; import { Types } from '../../../../ably.js'; import React, { useMemo } from 'react'; -const version = '1.2.44'; +const version = '1.2.45'; const canUseSymbol = typeof Symbol === 'function' && typeof Symbol.for === 'function';