Fastify 是一個高度專注於以最少開銷和強大的插件架構為開發者提供最佳體驗的 Node.js Web 框架,速度極快,它的靈感來源於 Hapi 和 Express。
Fastify v5.7.2 現已發佈,本此更新帶來以下內容:
Notice
PR #6414 中已將content-type header 解析改進為 strict parser。這意味着只接受符合 RFC 9110 規範描述形式的 header values。
What's Changed
- chore:npm 忽略 AI 相關文件 #6447
- chore:更新贊助商網址 #6450
- docs:將 fastify-http-exceptions 添加到 Ecosystem.md 中 #6442
- docs:修復無效的簡化 form schema 示例 #6448
- docs:簡化並優化 decorators 示例 #6451
- docs:修復變量使用錯誤的問題 #6455
- chore:更新贊助商鏈接 #6460
- fix:修復 MIT 許可證文件,使其符合標準 #6464
- docs:將 querystringParser 選項移至 routerOptions 下 #6463
- chore:更新 content-type header parsing #6414
更新説明:https://github.com/fastify/fastify/releases/tag/v5.7.2