From 8a3552d5c851c3dfe4940271e9866c44c050db61 Mon Sep 17 00:00:00 2001 From: Andy Ford Date: Mon, 9 Dec 2024 14:56:14 +0000 Subject: [PATCH 1/2] chore: add release information for 2.6.0 --- CHANGELOG.md | 6 ++++++ package-lock.json | 4 ++-- package.json | 2 +- src/platform/react-hooks/src/AblyReactHooks.ts | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6338fc79b..a9a822111 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ This contains only the most important and/or user-facing changes; for a full changelog, see the commit history. +## [2.6.0](https://github.com/ably/ably-js/tree/2.6.0) (2024-12-09) + +- Removed a build check that prevented referencing branch builds in `package.json`. It is now possible to point npm at specific branches of ably-js. +- Presence will now only emit a `LEAVE` event if a member was present in the presence set to begin with. +- The experimental attributes on the `Message` type to support edits and deletes have been updated and renamed. + ## [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, diff --git a/package-lock.json b/package-lock.json index b43483eb0..1e8a00630 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "2.5.0", + "version": "2.6.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "2.5.0", + "version": "2.6.0", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index dd720d2d5..5ec07ba26 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.5.0", + "version": "2.6.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 a4aa8b86f..80c3fa532 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.5.0'; +export const version = '2.6.0'; export function channelOptionsWithAgent(options?: Ably.ChannelOptions) { return { From 97eb58f65714ac07715a384a95df0d139a6d9c46 Mon Sep 17 00:00:00 2001 From: Andy Ford Date: Tue, 10 Dec 2024 09:17:09 +0000 Subject: [PATCH 2/2] chore: bump changelog date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9a822111..a252124bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ This contains only the most important and/or user-facing changes; for a full changelog, see the commit history. -## [2.6.0](https://github.com/ably/ably-js/tree/2.6.0) (2024-12-09) +## [2.6.0](https://github.com/ably/ably-js/tree/2.6.0) (2024-12-10) - Removed a build check that prevented referencing branch builds in `package.json`. It is now possible to point npm at specific branches of ably-js. - Presence will now only emit a `LEAVE` event if a member was present in the presence set to begin with.