From 990d67bd645903ee62e339bdc57f2778b1f84060 Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Wed, 11 Sep 2024 18:29:34 +0100 Subject: [PATCH 1/3] chore: update changelog for 2.4.0 release --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a883fa4cf..39e1f7b36 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.4.0](https://github.com/ably/ably-js/tree/2.4.0) (2024-09-11) + +- Add `wsConnectivityCheckUrl` client option [\#1862](https://github.com/ably/ably-js/pull/1862) +- Push plugin is now available to be loaded via a CDN link [\#1861](https://github.com/ably/ably-js/pull/1861) + ## [2.3.2](https://github.com/ably/ably-js/tree/2.3.2) (2024-09-06) - Fix websocket reconnection can get stuck in a disconnected/connecting loop under specific network conditions [\#1855](https://github.com/ably/ably-js/pull/1855) From a3000f51ec793bd2e82e25015dfbee1307c7a91f Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Wed, 11 Sep 2024 18:30:28 +0100 Subject: [PATCH 2/3] chore: bump version for 2.4.0 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 8fcc843e0..63325af50 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "2.3.2", + "version": "2.4.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "2.3.2", + "version": "2.4.0", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index 9538a1783..5bb15dd54 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.3.2", + "version": "2.4.0", "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 5fc0985a4..9874cd8f7 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.3.2'; +export const version = '2.4.0'; export function channelOptionsWithAgent(options?: Ably.ChannelOptions) { return { From cd6a097c20fca2e99f1aa56d02953753882b79ee Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Wed, 11 Sep 2024 18:31:32 +0100 Subject: [PATCH 3/3] Update Push plugin readme to mention 2.4.0 version instead --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b7828c41..0f7c27796 100644 --- a/README.md +++ b/README.md @@ -582,7 +582,7 @@ const client = new Ably.Rest({ }); ``` -The Push plugin is developed as part of the Ably client library, so it is available for the same versions as the Ably client library itself. It also means that it follows the same semantic versioning rules as they were defined for [the Ably client library](#for-browsers). For example, to lock into a major or minor version of the Push plugin, you can specify a specific version number such as https://cdn.ably.com/lib/push.umd.min-2.js for all v2._ versions, or https://cdn.ably.com/lib/push.umd.min-2.3.js for all v2.3._ versions, or you can lock into a single release with https://cdn.ably.com/lib/push.umd.min-2.3.2.js. Note you can load the non-minified version by omitting `.min` from the URL such as https://cdn.ably.com/lib/push.umd-2.js. +The Push plugin is developed as part of the Ably client library, so it is available for the same versions as the Ably client library itself. It also means that it follows the same semantic versioning rules as they were defined for [the Ably client library](#for-browsers). For example, to lock into a major or minor version of the Push plugin, you can specify a specific version number such as https://cdn.ably.com/lib/push.umd.min-2.js for all v2._ versions, or https://cdn.ably.com/lib/push.umd.min-2.4.js for all v2.4._ versions, or you can lock into a single release with https://cdn.ably.com/lib/push.umd.min-2.4.0.js. Note you can load the non-minified version by omitting `.min` from the URL such as https://cdn.ably.com/lib/push.umd-2.js. For more information on publishing push notifcations over Ably, see the [Ably push documentation](https://ably.com/docs/push).