Fastify 3.27.2 发布,极速 Node.js Web 框架
Fastify 3.27.2 发布了,Fastify 是一个高度专注于以最少开销和强大的插件架构为开发者提供最佳体验的 Node.js Web 框架,速度极快,它的灵感来源于 Hapi 和 Express。
本此更新带来以下内容:
- fixed:在 FastifyServerOptions 中添加了 jsonShorthand (Json 缩写)。#3681
- fixed:调用 reply.callNotFound 未捕获的异常。 #3661
- style:修复新的
standardlinting。#3682 - docs(ecosystem):使用新的内部库更新 fastify-jwt 插件 #3689
- docs(ecosystem):添加 @immobiliarelabs/fastify-sentry 。#3693
- ci(package-manager):运行
test:ci而不是test。#3692 - chore:修复插件标签。 #3694
- 在文档中添加对 FST_ERR_CTP_INVALID_MEDIA_TYPE 错误的引用 。#3697
- 将 opts 参数添加到 onRegister hook 处理程序签名。#3641
- 更新服务器文档。#3699
- 更新中间件文档链接。#3706
- build(deps):升级 tiny-lru 7.0.6 → 8.0.1。 #3700
- build(deps-dev):升级 @sinonjs/fake-timers 8.1.0 → 9.1.0。 #3683
更新公告:https://github.com/fastify/fastify/releases/tag/v3.27.2