Skip to content

Release 2.30.0 - #2326

Merged
ttypic merged 2 commits into
mainfrom
release/2.30.0
Oct 22, 2026
Merged

ttypic merged 2 commits into
mainfrom
release/2.30.0

Conversation

@ttypic

@ttypic ttypic commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

What's Changed

  • Add the MESSAGE_SUBSCRIBE channel mode, which replaces SUBSCRIBE. SUBSCRIBE is still accepted in ChannelOptions.modes as a synonym, but RealtimeChannel.modes now reports the granted mode as message_subscribe rather than subscribe #2317
  • Deprecate calling channels.release() on a channel that is not initialized, detached or failed. The channel is still detached and released, but a deprecation warning is now logged. Call detach() and wait for it to complete before releasing the channel #2322
  • Throw a descriptive error when useAbly, useChannel or usePresence is called outside an <AblyProvider>, rather than an opaque TypeError #2316
  • Fix a detached channel re-entering attached on an unsolicited ATTACHED message. It now sends a DETACH and stays detached #2315
  • Fix REST token renewal retrying with the expired Authorization header, and without limit. The retry now carries the renewed token and runs once #2303
  • Omit null message fields from the wire payload rather than sending them as null, and no longer encrypt a message with no data #2301
  • Fix ClientOptions.clientId rejecting undefined at runtime and null in the types #2312
  • Store the default authMethod of GET in auth.authOptions when it is omitted #2313
  • Include the clientId in the error reported when presence auto re-enter fails #2314

Summary by CodeRabbit

  • Bug Fixes
    • Improved handling of channel modes, detached channels, and presence auto-reentry errors.
    • Fixed React hook errors that occur outside an <AblyProvider>.
    • Improved REST token renewal retries, message serialization and encryption, and acceptance of client IDs.
    • Updated the default authentication method and release warnings.
  • Release
    • Updated the package version to 2.30.0, including the version reported by the React hooks package.

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⛔ Files ignored due to path filters: 1
  • package-lock.json is excluded by !**/package-lock.json
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 82336ce6-2573-40c8-afbf-543b5ff779b8
📥 Commits

Reviewing files that changed from the base of the PR and between 8b5858b and cb5c703.

⛔ Files ignored due to path filters: 1
  • package-lock.json is excluded by !**/package-lock.json

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 23e4425e-f61f-4298-a396-121d8f49b283
📥 Commits

Reviewing files that changed from the base of the PR and between 5203802 and 8b5858b.

📒 Files selected for processing: 1
  • scripts/moduleReport.ts

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

Walkthrough

The package and React hooks version change to 2.30.0. The changelog adds a 2.30.0 release entry, and the minimal useful Realtime bundle raw-size threshold increases to 122 KiB.

Changes

Release update

Layer / File(s) Summary
Version, release notes, and bundle threshold
package.json, src/platform/react-hooks/src/AblyReactHooks.ts, CHANGELOG.md, scripts/moduleReport.ts
The package and React hooks version change to 2.30.0. The changelog records changes for the release. The raw-size threshold for the minimal useful Realtime bundle increases to 122 KiB; the gzip threshold remains 37 KiB.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Suggested reviewers: owenpearson

Merge Risk: ⚪ Minimal · up to 8b585

The release update is mergeable; no actionable build, publication, or runtime risk was identified.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies this pull request as the 2.30.0 release, which matches the version updates and documented release changes.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2 files.

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit checks the release notes bright,
The version hops to two-thirty in sight.
The bundle limit grows a little more,
While gzip keeps its former score.
The rabbit thumps: “Release is set!”

Comment @coderabbitai help to get the list of available commands.

evgeny and others added 2 commits October 22, 2026 11:10
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ttypic
ttypic merged commit 300ba9c into main Oct 22, 2026
18 of 19 checks passed
@ttypic
ttypic deleted the release/2.30.0 branch October 22, 2026 11:10

This branch was successfully deployed

3 active deployments
staging/pull/2326/typedoc — cb5c703e Deployed Oct 22, 2026 by github-actions[bot]
staging/pull/2326/bundle-report — cb5c703e Deployed Oct 22, 2026 by github-actions[bot]
staging/pull/2326/features — cb5c703e Deployed Oct 22, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants