chore(release): version packages - #17
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
github-actions
Bot
force-pushed
the
changeset-release/master
branch
2 times, most recently
from
September 21, 2026 11:59
645330d to
541fb12
Compare
github-actions
Bot
force-pushed
the
changeset-release/master
branch
4 times, most recently
from
October 2, 2026 16:21
62ae1b7 to
d317e99
Compare
github-actions
Bot
force-pushed
the
changeset-release/master
branch
from
October 2, 2026 16:43
d317e99 to
5a66b5f
Compare
This branch has not been deployed
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
create-nova-http@0.3.0
Minor Changes
nova-http@0.3.0
Minor Changes
c5b7ea0: 将 core Hook 机制与核心生命周期事件保留在
core/hooks,server 和 middleware/plugin 事件由各自所属模块通过声明合并扩展。Context 类型统一使用*HookContext命名,并移除CoreHookEvents与ServerHookEvents汇总类型。0ce768b: 明确 middleware 参与控制流、hook 仅观察生命周期的边界。
移除
callHookAsync和冗余的createRequestTimer(),请直接使用onResponse.durationMs记录或上报请求耗时;同时使onNotFound在默认 404 响应确定后触发。53a3725: 重构应用、协议、服务端与静态文件模块的分层边界,并新增
nova-http/protocol/http1、nova-http/static子路径导出。公开Application、传输无关的请求/响应契约、HTTP/1 类型以及sendFile()等扩展接口。挂载路径现在会在注册时校验并规范化;
app.use(path, ...)仅接受字面路径前缀,不再静默接受路由参数、通配符、查询字符串或其他异常前缀。d0b3809: 将最低运行版本提升至 Node.js 20,并同步更新生成项目的运行声明及 TypeScript 模板使用的 Node.js 20 类型定义。
db25c85: 重构 HTTP/1.1 输入内核,引入分段输入、有界请求头解析、独立消息 framing、Readable 请求体背压、严格 EOF 处理和连接生命周期协调
移除
BufferReader、HttpParser和完整 Buffer 请求体 API,改用SegmentedInput、HeaderBlock、IncomingBody以及req.buffer()、req.text()、req.json()53a3725: 严格校验并解析 HTTP/1 request-target,区分原始目标与应用路由路径;完善
NovaRequest请求语义,以rawTarget、path和bodyBytesReceived提供明确的只读信息,并通过RequestContext扩展req.context。同时正确识别结构化 JSON 媒体类型及保留 Cookie 原始值。扩展
trustProxy,支持布尔值、可信代理跳数或逐跳判断函数,并根据可信代理链安全地解析req.ip。Patch Changes
next()导致处理链越级。