diff --git a/CHANGELOG.md b/CHANGELOG.md index df68d91de..a8b3f1b26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ This contains only the most important and/or user-facing changes; for a full changelog, see the commit history. +## [2.2.0](https://github.com/ably/ably-js/tree/2.2.0) (2024-06-24) + +- Add passing a log level as a second parameter to `ClientOptions.logHandler` function [\#1787](https://github.com/ably/ably-js/pull/1787) +- Fix pings stacking when calling `Connection.ping()` if none ever succeed [\#1793](https://github.com/ably/ably-js/pull/1793) + ## [2.1.0](https://github.com/ably/ably-js/tree/2.1.0) (2024-06-03) With this release, Ably React Hooks have now moved to the general availability phase and are considered stable. Non-major version changes to the `ably` package won't include breaking changes for React Hooks going forward. diff --git a/package-lock.json b/package-lock.json index 8fcac7dbb..042970a47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "2.1.0", + "version": "2.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "2.1.0", + "version": "2.2.0", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index 952111d08..2d61a43bf 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.1.0", + "version": "2.2.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 d4bd23717..0a3590443 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.1.0'; +export const version = '2.2.0'; export function channelOptionsWithAgent(options?: Ably.ChannelOptions) { return {