diff --git a/CHANGELOG.md b/CHANGELOG.md index 6338fc79b..a252124bc 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-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. +- 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 {