From 63716a1b2819e4f227c24aae84b4e019d3e5dd76 Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Thu, 21 Mar 2024 12:55:44 +0000 Subject: [PATCH 1/2] chore: bump version for 1.2.50 release --- package-lock.json | 4 ++-- package.json | 2 +- src/platform/react-hooks/src/AblyReactHooks.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 86c29abb83..16a1b795fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "1.2.49", + "version": "1.2.50", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "1.2.49", + "version": "1.2.50", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index 64fc1b2ef3..f1a48ec275 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ably", "description": "Realtime client library for Ably, the realtime messaging service", - "version": "1.2.49", + "version": "1.2.50", "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 9b345cb534..38f6770c9d 100644 --- a/src/platform/react-hooks/src/AblyReactHooks.ts +++ b/src/platform/react-hooks/src/AblyReactHooks.ts @@ -18,7 +18,7 @@ export type ChannelNameAndId = { }; export type ChannelParameters = string | ChannelNameAndOptions; -export const version = '1.2.49'; +export const version = '1.2.50'; export function channelOptionsWithAgent(options?: Types.ChannelOptions) { return { From 55587472414d1996c34b8c56f8a27f0c697d0d2e Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Thu, 21 Mar 2024 13:10:33 +0000 Subject: [PATCH 2/2] chore: update changelog for 1.2.50 release --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e10ca454da..ec8b215a5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ This contains only the most important and/or user-facing changes; for a full changelog, see the commit history. +## [1.2.50](https://github.com/ably/ably-js/tree/1.2.50) (2024-03-21) + +- Add new logging API to `ClientOptions` and add a deprecation warning for the old one [\#1671](https://github.com/ably/ably-js/pull/1671) +- Add `ClientOptions.maxMessageSize` to the public API [\#1678](https://github.com/ably/ably-js/pull/1678) +- Add a deprecation warning for the `headers` client option [\#1681](https://github.com/ably/ably-js/pull/1681) +- Improve deprecation log messages [\#1683](https://github.com/ably/ably-js/pull/1683), [\#1685](https://github.com/ably/ably-js/pull/1685) +- Handle 204 status code in `PaginatedResource` [\#1631](https://github.com/ably/ably-js/pull/1631) +- Fix typing and deprecation warning for `Crypto.getDefaultParams()` [\#1693](https://github.com/ably/ably-js/pull/1693) + ## [1.2.49](https://github.com/ably/ably-js/tree/1.2.49) (2024-02-07) - \[React-Hooks\] `usePresence` unsubscribes all listeners on unmount and run `Presence.leave` even if connection has been terminated [\#1610](https://github.com/ably/ably-js/issues/1610)