Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

This contains only the most important and/or user-facing changes; for a full changelog, see the commit history.

## [1.4.0](https://github.com/ably/ably-chat-js/tree/1.4.0) (2026-05-28)

### New Features

- **Message Version History**: Added `room.messages.getVersions(serial)` to retrieve the full version history of a message — the original create followed by any updates and deletes — in oldest-first order. [#730](https://github.com/ably/ably-chat-js/pull/730)
- **Idempotent REST Publishing**: Added an opt-in `idempotentRestPublishing` flag on `ChatClientOptions` (default `false`). When enabled, the SDK attaches an `idempotencyKey` to send, update, and delete message requests so the server can deduplicate retried publish attempts. [#726](https://github.com/ably/ably-chat-js/pull/726)

### Bug Fixes

- **Package Exports**: Reordered the `"types"` condition to appear first in `package.json` `exports` so type resolution works correctly across bundlers. [#725](https://github.com/ably/ably-chat-js/pull/725)
- **Security**: Bumped `ws` to `8.20.1` to resolve [GHSA-58qx-3vcg-4xpx](https://github.com/advisories/GHSA-58qx-3vcg-4xpx). [#727](https://github.com/ably/ably-chat-js/pull/727)

## [1.3.1](https://github.com/ably/ably-chat-js/tree/1.3.1) (2026-03-25)

### Bug Fixes
Expand Down
3 changes: 2 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"retryable",
"onable",
"nonprod",
"deleter"
"deleter",
"GHSA"
],
// This will ignore anything that's formatted like a lexicographically ordered timeserial
"ignoreRegExpList": ["/\\d{14}-\\d{3}@.*/"],
Expand Down
2 changes: 1 addition & 1 deletion demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ably/chat",
"version": "1.3.1",
"version": "1.4.0",
"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",
Expand Down
2 changes: 1 addition & 1 deletion src/core/version.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as Ably from 'ably';

// Update this when you release a new version
export const VERSION = '1.3.1';
export const VERSION = '1.4.0';
export const CHANNEL_OPTIONS_AGENT_STRING = `chat-js/${VERSION}`;
export const CHANNEL_OPTIONS_AGENT_STRING_REACT = `chat-react/${VERSION}`;
// Modes required for basic message functionality
Expand Down
Loading