chore: mark @hono/bun-compress as deprecated#1809
Conversation
Bun now supports CompressionStream natively, making this middleware unnecessary. The README already stated it would be deprecated once Bun added support. - Add deprecated field to package.json - Update README with deprecation notice and migration guide - Point users to the built-in hono/compress middleware Closes #1807
🦋 Changeset detectedLatest commit: 1ec73c2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Hey @ctonneslan Thank you for the PR. Can you add a changeset by running the |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1809 +/- ##
=======================================
Coverage 91.73% 91.73%
=======================================
Files 113 113
Lines 3785 3785
Branches 957 957
=======================================
Hits 3472 3472
Misses 281 281
Partials 32 32
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Added a patch changeset for |
|
@ctonneslan Good job! Thank you for your contribution! |
Summary
Marks
@hono/bun-compressas deprecated now that Bun supportsCompressionStreamnatively.The README already stated: "This middleware will be deprecated once Bun adds support for CompressionStream." Bun resolved oven-sh/bun#1723, so
hono/compressnow works on Bun without any polyfill.Changes
deprecatedfield topackage.json(shows warning onnpm install)Migration for users
Closes #1807