From 4478d5e25792ee5f8957f3d5ae85cf538aa186c7 Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Mon, 25 Mar 2024 15:26:38 +0000 Subject: [PATCH 1/2] chore: update changelog for 2.0.1 release --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5430363b9..adbd75178 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.0.1](https://github.com/ably/ably-js/tree/2.0.1) (2024-03-25) + +- Fix `Unable to resolve "ably"` in React Native for ably-js v2.0.0 [\#1711](https://github.com/ably/ably-js/issues/1711) +- Fix `TextEncoder`/`TextDecoder` are not defined in React Native for ably-js v2.0.0 [\#1712](https://github.com/ably/ably-js/issues/1712) + ## [2.0.0](https://github.com/ably/ably-js/tree/2.0.0) (2024-03-22) The 2.0.0 release introduces a number of new features and QoL improvements, including a new way to remove bloat and reduce the bundle size of your ably-js client, first-class support for Promises, a more idiomatic approach to using ably-js' React Hooks, enhancements to TypeScript typings, and more. From b8950355190dbe004fe0a5053a2b49c3ee14ef22 Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Mon, 25 Mar 2024 15:27:57 +0000 Subject: [PATCH 2/2] chore: bump version for 2.0.1 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 76dbf9d62..615c676a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ably", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ably", - "version": "2.0.0", + "version": "2.0.1", "license": "Apache-2.0", "dependencies": { "@ably/msgpack-js": "^0.4.0", diff --git a/package.json b/package.json index dfc5cd50c..691e8f0d5 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.0.0", + "version": "2.0.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 eea6e6f3d..d55ffe4bf 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.0.0'; +export const version = '2.0.1'; export function channelOptionsWithAgent(options?: Ably.ChannelOptions) { return {