Release 4.0.1: web streams from the axios transport #2

Merged
ulysia merged 2 commits from fix/4.0.1 into master 2026-11-09 14:05:21 +01:00
Owner

Patch release 4.0.1.

  • Fix: the axios transport answered responseType: "stream" with a Node stream; the default transports and the docs give a web ReadableStream. It now converts in Node (browsers unchanged). Found by testing the published 4.0.0 from a fresh consumer project against the dev server: the stricter check fails on 4.0.0's axios transport and passes on both transports with this branch.
  • package.json repository as an object (npm pkg fix), which npm auto-corrected when publishing 4.0.0.
  • Version 4.0.1; changelog entry.

Checks: build, 1201 tests (one new regression test), check:dts, coverage 0 remaining.

After merging, tag v4.0.1 to stage it on npm for approval.

🤖 Generated with Claude Code

Patch release 4.0.1. - **Fix:** the axios transport answered `responseType: "stream"` with a Node stream; the default transports and the docs give a web `ReadableStream`. It now converts in Node (browsers unchanged). Found by testing the published 4.0.0 from a fresh consumer project against the dev server: the stricter check fails on 4.0.0's axios transport and passes on both transports with this branch. - `package.json` `repository` as an object (`npm pkg fix`), which npm auto-corrected when publishing 4.0.0. - Version 4.0.1; changelog entry. Checks: build, 1201 tests (one new regression test), check:dts, coverage 0 remaining. After merging, tag `v4.0.1` to stage it on npm for approval. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: the axios transport answers "stream" with a web ReadableStream
All checks were successful
CI / build (pull_request) Successful in 30s
2a43530755
4.0.0's axios transport passed axios's Node stream through for
responseType "stream", while the default transports - and the docs - give a
web ReadableStream, so code using getReader() broke when switching to axios.
In Node it now converts through #platform's new toWebStream() (browsers keep
their stream). Found by testing the published 4.0.0 from a fresh consumer
project against the dev server; the same test passes on both transports with
this change.

Also: package.json's repository as an object (npm pkg fix), which npm
auto-corrected when publishing 4.0.0; version 4.0.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs: README - using the package in a web page without a build step
All checks were successful
CI / build (pull_request) Successful in 31s
60ee4ea598
esm.sh with no setup, or the npm files from jsDelivr, unpkg or one's own
server with an import map for #platform; both checked against the CDNs
(esm.sh resolves #platform to the browser file and shares one Session
between the root and the modules). Plus the Trusted CORS Domain setting a
page needs, and why not to use jsDelivr's /+esm.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ulysia merged commit 78810d1744 into master 2026-11-09 14:05:21 +01:00
ulysia referenced this pull request from a commit 2026-11-09 14:05:22 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
content-server/cs-rest!2
No description provided.