Update dependency hyper-express to v7#9591
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/hyper-express-7.x
branch
from
July 20, 2026 09:47
222ed2a to
be12454
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~6.18.0→~7.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
kartikk221/hyper-express (hyper-express)
v7.0.2Compare Source
v7.0.1Compare Source
v7.0.0Compare Source
HyperExpress v7.0.0
HyperExpress v7 modernizes the uWebSockets.js foundation while preserving the library's CommonJS packaging, snake_case API, route overloads, and performance-oriented execution model. This release focuses on predictable request, response, middleware, multipart, file, WebSocket, and server lifecycles under real backpressure and failure conditions.
Highlights
v20.69.0.onDataV2.begin_write(), worker descriptors, WebSocket options, and WebSocket events.Runtime and platform support
HyperExpress v7 supports:
Plain musl Alpine and Alpine with
gcompatare not supported. The upstream native addon can terminate withSIGSEGVin that environment; use a glibc-based image such as Debian or Ubuntu.Middleware and routing
Middleware completion is now deterministic and guarded:
next().next(error), and thenables fulfilled with anErroruse the applicable error handler.next()call returnstrue; duplicate calls returnfalse.strict_middleware: truereports duplicate completion without advancing twice.Routers now expose
set_error_handler()andset_not_found_handler(). Errors resolve from the innermost mounted router through its parents to the server. Not-found handling uses the longest matching mount boundary with deterministic mount-order fallback.Route registration now validates missing handlers, invalid middleware arrays, ambiguous option objects, and native registration inputs earlier. CONNECT routing, mount path boundaries, middleware propagation, registration order, and zero-valued route options are corrected.
Request bodies and multipart
The request body lifecycle now uses one eagerly bound
onDataV2receiver with remaining-length-aware preallocation and limits.Request.buffer(),text(),json(), and other body helpers share concurrent in-flight work and retain settled values for repeated access.Responses, streams, files, and SSE
readable.pipe(response)pipelines.Response.header()still appends by default; passtrueas the overwrite argument to replace values.html(),json(), andjsonp()now emit explicit UTF-8 charsets.send()remains content-type-neutral.LiveFile.close()is idempotent.Response.begin_write()exposes the upstreambeginWrite()primitive.WebSockets and server lifecycle
send()andping()expose the native numeric status:1sent,0backpressure, and2dropped.message_type: 'ArrayBuffer'retains the v6 zero-copy callback-lifetime behavior;ArrayBufferSafeopts into a retained copy.errorevent and close with code1011when unhandled.close_on_backpressure_limit,max_lifetime, andsend_pings_automatically.droppedandsubscriptionevents andWebsocket.remote_port.Request.port,Request.proxy_port,Server.get_descriptor(),add_child_app_descriptor(), andremove_child_app_descriptor().force_close()explicitly closes all native sockets.TypeScript
Existing routing overloads and middleware chaining forms are preserved. Declarations now match runtime behavior for streaming options, ArrayBuffer views, multipart results, router-scoped handlers, ports, descriptors, response lifecycle methods, and numeric WebSocket send statuses.
These corrections can reveal application code that depended on inaccurate v6 declarations.
Breaking changes
gcompat.Errorvalues enter error handling.next()now reports acceptance as a boolean.send()andping()are typed as native numeric statuses rather than booleans.html(),json(), andjsonp()include explicit UTF-8 charsets.The WebSocket lifetime and backpressure-limit options remain opt-in.
ArrayBufferremains zero-copy by default, andResponse.header()retains append-by-default behavior.Resolved reports
Errormiddleware handlingValidation
The release is tested on Node.js 22, 24, and 26 across Linux, macOS, and Windows. The suite includes strict integration assertions, positive and negative TypeScript fixtures, slow request/response peers, aborted clients, concurrent multipart handlers, large Buffer and TypedArray payloads, Node stream piping, WebSocket fragment integrity, and sustained HTTP/WebSocket backpressure tests.
Upgrade
Read the v6 to v7 migration guide before upgrading production applications.
Full changes: kartikk221/hyper-express@v6.18.0...v7.0.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.