diff --git a/CHANGELOG.md b/CHANGELOG.md index 48be49d4..bcb526e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ This contains only the most important and/or user-facing changes; for a full changelog, see the commit history. +## [0.2.1](https://github.com/ably/ably-chat-js/tree/0.2.1) (2024-09-18) + +- Fixed a bug that can lead to unhandled promise rejections and error logs when a room is released prior to initialization, particularly in React [#352](https://github.com/ably/ably-chat-js/pull/352) + ## [0.2.0](https://github.com/ably/ably-chat-js/tree/0.2.0) (2024-09-09) - Added hooks and providers for React, to allow a closer integration with these ecosystems. For more information on how to get started with Chat in React, see [the React README](./src/react/README.md). diff --git a/demo/package-lock.json b/demo/package-lock.json index abd99027..adbfbc96 100644 --- a/demo/package-lock.json +++ b/demo/package-lock.json @@ -34,7 +34,7 @@ }, "..": { "name": "@ably/chat", - "version": "0.2.0", + "version": "0.2.1", "license": "Apache-2.0", "dependencies": { "async-mutex": "^0.5.0", diff --git a/package-lock.json b/package-lock.json index af7cfef4..3de46c23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ably/chat", - "version": "0.2.0", + "version": "0.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ably/chat", - "version": "0.2.0", + "version": "0.2.1", "license": "Apache-2.0", "dependencies": { "async-mutex": "^0.5.0", diff --git a/package.json b/package.json index ada24727..b6395335 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ably/chat", - "version": "0.2.0", + "version": "0.2.1", "description": "Ably Chat is a set of purpose-built APIs for a host of chat features enabling you to create 1:1, 1:Many, Many:1 and Many:Many chat rooms for any scale. It is designed to meet a wide range of chat use cases, such as livestreams, in-game communication, customer support, or social interactions in SaaS products.", "type": "module", "main": "dist/chat/ably-chat.umd.cjs", diff --git a/src/core/version.ts b/src/core/version.ts index 8dac4379..9dba6320 100644 --- a/src/core/version.ts +++ b/src/core/version.ts @@ -1,4 +1,4 @@ // Update this when you release a new version -export const VERSION = '0.2.0'; +export const VERSION = '0.2.1'; export const CHANNEL_OPTIONS_AGENT_STRING = `chat-js/${VERSION}`; export const DEFAULT_CHANNEL_OPTIONS = { params: { agent: CHANNEL_OPTIONS_AGENT_STRING } };