From 2b0a1abd4a0e0264f06724d62e2ae50e6670a720 Mon Sep 17 00:00:00 2001 From: Steven Lindsay Date: Thu, 31 Oct 2024 12:04:15 +0000 Subject: [PATCH] Release version 2.5.0 Updated CHANGELOG and package files to reflect the new version 2.5.0. Added support for new `Message` attributes essential for upcoming features (updates/deletes/annotations) in the Ably service. --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- src/platform/react-hooks/src/AblyReactHooks.ts | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21f3eb89c..6338fc79b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ This contains only the most important and/or user-facing changes; for a full changelog, see the commit history. +## [2.5.0](https://github.com/ably/ably-js/tree/2.5.0) (2024-11-06) + +With this release, ably-js will now expose the new `Message` attributes needed to support upcoming features, +such as updates, deletions and annotations in the Ably service. + +- Added support for new `Message` attributes. [\#1888](https://github.com/ably/ably-js/pull/1888) + ## [2.4.1](https://github.com/ably/ably-js/tree/2.4.1) (2024-10-04) - Fix `usePresence` hook wasn't leaving presence if component unmounted during channel attaching state [\#1884](https://github.com/ably/ably-js/pull/1884) diff --git a/package-lock.json b/package-lock.json index c5f3dea2d..b43483eb0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "2.4.1", + "version": "2.5.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "2.4.1", + "version": "2.5.0", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index 0a82a90ec..dd720d2d5 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.4.1", + "version": "2.5.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 aa421f28c..a4aa8b86f 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.4.1'; +export const version = '2.5.0'; export function channelOptionsWithAgent(options?: Ably.ChannelOptions) { return {