Skip to content

Conversation

@RiskyMH
Copy link

@RiskyMH RiskyMH commented Nov 22, 2025

Summary

Bun 1.3.3 added CompressionStream & DecompressionStream for the standard "gzip", "deflate" and "deflate-raw" formats, and also supports "brotli" and "zstd".

As no other platforms have zstd yet I added it, but I can also remove if its meant to have more usage first.

Test results and supporting details

Related issues

@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:browsers Data about browsers (versions, release dates, etc). This data is used for validation. size:l [PR only] 101-1000 LoC changed labels Nov 22, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 22, 2025

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@caugner caugner changed the title Bun 1.3.3 added CompressionStream & DecompressionStream Bun 1.3.3 added CompressionStream/DecompressionStream Nov 25, 2025
Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments above.

(Your branch cannot be modified by maintainers so I'm unable to remove the tags my self. Note: It's recommended to allow maintainers to edit.)

RiskyMH and others added 3 commits November 26, 2025 01:13
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
@github-actions github-actions bot removed the data:browsers Data about browsers (versions, release dates, etc). This data is used for validation. label Nov 25, 2025
@RiskyMH
Copy link
Author

RiskyMH commented Nov 25, 2025

(Your branch cannot be modified by maintainers so I'm unable to remove the tags my self. Note: It's recommended to allow maintainers to edit.)

Oh yeah I forget github permissions are weird - I generally like using an org for prs because it separates them from me personally (ie simplifies my repos shown)

Because it's a non-standard feature, we probably shouldn't tag it:

Yeah fair, I'll remove it. I more or less copied the brotli implementation which also I believe is non-standard right now (but does have slightly better adoption)

"brotli": {
"__compat": {
"description": "\"brotli\" compression",
"tags": [
"web-features:compression-streams"
],

@RiskyMH RiskyMH requested a review from caugner November 27, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:l [PR only] 101-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants