From df9e5d426156ae9b7cb4bffd73b15eab86a66f4c Mon Sep 17 00:00:00 2001 From: Steven Lindsay Date: Mon, 13 Jan 2025 11:27:36 +0000 Subject: [PATCH] Add release information for v.2.7.0 - Update CHANGELOG - Update Ably package version --- CHANGELOG.md | 8 ++++++++ package-lock.json | 4 ++-- package.json | 2 +- src/platform/react-hooks/src/AblyReactHooks.ts | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a252124bc..ddaf5358d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ This contains only the most important and/or user-facing changes; for a full changelog, see the commit history. +## [2.7.0](https://github.com/ably/ably-js/tree/2.7.0) (2025-01-13) + +- Removed an incorrect channel mode `ATTACH_RESUME` from the `ChannelModes` enum. +- Deprecates the `UNSET` type from `MESSAGE_ACTIONS` enum, all messages will always have their `action` set. +- Deprecates `ANNOTATION_CREATE` and `ANNOTATION_DELETE` from the `MESSAGE_ACTIONS` enum. +- Adds support for upcoming message summaries with the new `MESSAGE_SUMMARY` message action type. +- Multiple improvements to type definitions and message handling. + ## [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. diff --git a/package-lock.json b/package-lock.json index 1e8a00630..362c1568b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "2.6.0", + "version": "2.7.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "2.6.0", + "version": "2.7.0", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index 5ec07ba26..b28cb2605 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.6.0", + "version": "2.7.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 80c3fa532..3dd5b909a 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.6.0'; +export const version = '2.7.0'; export function channelOptionsWithAgent(options?: Ably.ChannelOptions) { return {