Skip to content

fix(deps): bump @stream-io toolkit packages to the .mjs/.cjs builds - #1971

Merged
oliverlaz merged 1 commit into
release-v10from
bump-js-toolkit
Oct 30, 2026
Merged

oliverlaz merged 1 commit into
release-v10from
bump-js-toolkit

Conversation

@oliverlaz

Copy link
Copy Markdown
Member

CLA

  • I have signed the Stream CLA (required).
  • Code changes are tested

Description of the changes, What, Why and How?

The js-toolkit packages now ship explicit .mjs/.cjs builds targeting ES2022 (GetStream/js-toolkit#58). Their previous ESM build was .js in packages without a "type", so Node only loaded it as ESM through syntax detection; without it, SSR crashed with The requested module '@stream-io/state-store' does not provide an export named 'StateStore'.

  • @stream-io/logger ^2.0.0 → ^2.1.0, @stream-io/state-store ^1.1.6 → ^1.2.0
  • .yarnrc.yml: preapprove the js-toolkit packages so npmMinimalAgeGate (3d) doesn't hold back first-party releases

Verified locally: yarn types, yarn build, yarn lint and yarn test-unit (4833 tests) pass.

🎫 Ticket: https://linear.app/stream/issue/REACT-1474

Changelog

  • Bump @stream-io/logger to 2.1.0 and @stream-io/state-store to 1.2.0 (.mjs/.cjs builds)

The js-toolkit packages now ship explicit .mjs/.cjs builds (ES2022), so
their ESM entry loads as ESM on Node without syntax detection. Before,
Next.js SSR crashed loading stream-chat-react with "does not provide an
export named StateStore" on such runtimes.

Bump the ranges, dedupe each toolkit package to one version, and
preapprove the toolkit packages in .yarnrc.yml so the npmMinimalAgeGate
does not hold back first-party releases (as stream-chat already is).
@oliverlaz
oliverlaz merged commit aa97cf4 into release-v10 Oct 30, 2026
4 checks passed
@oliverlaz
oliverlaz deleted the bump-js-toolkit branch October 30, 2026 14:11
github-actions Bot pushed a commit that referenced this pull request Oct 30, 2026
## [10.0.0-rc.28](v10.0.0-rc.27...v10.0.0-rc.28) (2026-10-30)

### Bug Fixes

* **deps:** bump [@stream-io](https://github.com/stream-io) toolkit packages to the .mjs/.cjs builds ([#1971](#1971)) ([aa97cf4](aa97cf4)), closes [GetStream/js-toolkit#58](https://github.com/GetStream/js-toolkit/issues/58)
* v10 regressions found in side-by-side QA ([#1965](#1965)) ([b87d598](b87d598))
@stream-ci-bot

Copy link
Copy Markdown

🎉 This PR is included in version 10.0.0-rc.28 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants