From fe0b9c3253869baef173146e6e0ee6ce098b998a Mon Sep 17 00:00:00 2001 From: owenpearson Date: Mon, 8 Jun 2026 16:55:34 +0100 Subject: [PATCH] release 2.22.1 --- 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 ee02b742e..ce8248703 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.22.1](https://github.com/ably/ably-js/tree/2.22.1) (2026-06-08) + +[Full Changelog](https://github.com/ably/ably-js/compare/2.22.0...2.22.1) + +### What's Changed + +- Fix v1-callback deprecated overloads breaking mock assignment by changing return type from `never` to `void` [#2239](https://github.com/ably/ably-js/pull/2239) + ## [2.22.0](https://github.com/ably/ably-js/tree/2.22.0) (2026-06-05) [Full Changelog](https://github.com/ably/ably-js/compare/2.21.0...2.22.0) diff --git a/package-lock.json b/package-lock.json index 3c8eb7be4..915111d96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "2.22.0", + "version": "2.22.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "2.22.0", + "version": "2.22.1", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index 181bedb43..6388c9120 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.22.0", + "version": "2.22.1", "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 0a9fd1b21..adebff124 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.22.0'; +export const version = '2.22.1'; /** * channel options for react-hooks