fastify 用于Node.js的快速和低开销的Web框架
fastify 用于Node.js的快速和低开销的Web框架
Assets
2
Assets
2
Assets
2
Features
Dependencies
Typescript
Internals
- refactor: remove unnecessary not null check - #1289
Documentation
- Add express middleware compatibility notice - #1313
- Update Server.md - #1322
- Rename Errros.md to Errors.md - #1323
- docs(decorators): fix "view" typos - #1309
- Added fastify-sentry to Community Plugins - #1287
- Update Logging.md - #1292
- Update benchmarks to reflect latest measurements - #1294
- Update Hooks.md - #1291
- Add fastify-cockroachdb to Community plugins - #1286
- add fastify-healthcheck to comunity plugins - #1244
Assets
2
Welcome Fastify v2
https://medium.com/@fastifyjs/fastify-v2-is-coming-to-town-ce279738bed6
Breaking changes
- Added onError hook - #1236
- Move all _ prefixed properties to Symbols in next - #1237 #1128
- Plugins can now receive both /prefix and prefix/ - #1228
- Default error handler that logs the error - #1135
- Ensure Reply#serialize uses custom serializer - #1163
- Better error management - #1168
- Bumped avvio to 6.0.0. - #1201
- Added preValidation hook - #1153
- Change basePath to prefix - #1183
- Separate logging and reqId options - #1164 #1166
- Pino v5 - #1065
- Updated Not found handling - #1084
- Hooks: always use Fastify core objects - #1066
- Remove
req.id
in serializer - #1032 - Extended support of cross-platform builds and yarn official support - #1226
Features
- Add method to get all shared schemas - #1046
Enhancements
- Listen to localhost instead of 127.0.0.1. - #1047
Fixes
- Fixes #1043 - #1050
- Fixes #1042 - #1050
- Resolves issue #936 - #1027
- fix: if response.setHeader is used, will cause header write after send error - #1033
Typescript
- Add type definition for FastifyInstance.all - #1037
Documentation
Features
- Configure request id header key - #1024
- Support case insensitivity. - #1017
- Feature/#713 beforeHandler for setNotFoundHandler - #1005
Fixes
Docs
- Update Ecosystem.md - #874
- add-chinese-doc-link - #1021
- Update Middlewares.md - #996
- Rename swaggergen to openapi glue - #1013
- Update Reply.md - #1003
- Add fastify-wamp-router plugin to docs/Ecosystem.md - #1002
- Add missing documentation links - #1001
- fix syntax in doc - #997
- Add fastify-xml-body-parser in community list - #782
Typescript
- fix listen ts types - #1000
Internals
Features
- Configure request id header key - #1024
- Support case insensitivity. - #1017
- Feature/#713 beforeHandler for setNotFoundHandler - #1005
Fixes
Docs
- Update Ecosystem.md - #874
- add-chinese-doc-link - #1021
- Update Middlewares.md - #996
- Rename swaggergen to openapi glue - #1013
- Update Reply.md - #1003
- Add fastify-wamp-router plugin to docs/Ecosystem.md - #1002
- Add missing documentation links - #1001
- fix syntax in doc - #997
- Add fastify-xml-body-parser in community list - #782
Typescript
- fix listen ts types - #1000
Internals
Features
- Add support for decorating with a getter/setter object - #987
- Add .status() alias for .code() - #986
- Added support for versioned routes - #974
Enhancements
- return url from listen method - #964
Documentation
- Add fastify-soap-client plugin in ecosystem - #991
- Add fastify-oauth2 to Ecosystem - #979
- Update bench - #975
Internals
- Add test for retuning sock file path on listen - #985
- Remove
error
parameter from nodelisten
callback - #965
Typescript
- Add type test for '.status()' - #990
Features
- Block new incoming requests once close has been called - #886
- WIP: Feature: Custom http server - #937
Enhancements
- Support array syntax to handle multiple content types as the same - #967
Typescript
- add-content-type-parser-definition - #963
Documentation
Internals
- add custom https server tests - #960
Features
- Add fastify.hasRequestDecorator and fastify.hasReplyDecorator - #944
Fixes
- Fix 928 - #929
Typescript
- [Typescript Definition] fix missing headers property on FastifyRequest - #940
- Add TypeScript definition for onRoute hook - #938
- Fix #931 - #939
- Fix typescript address test - #933
Docs
- Added fastify-swaggergen plugin to docs/Ecosystem.md - #945
- Adding plugin for auto loading the routes fastify - #925
- Updated Getting-Started.md, fixed command for fastify start - #927
Internals
- Update tap to the latest version
🚀 - #941
Performances
- Improved promises performances by 10% - #918
Enhancements
- enforce utf8 as default charset - #914
Fixes
- makes input schema required headers validation case insensitive - #910
Docs
- Add fastify-couchdb plugin to the ecosystem list - #892
- Add config to docs - #884
- Documentation of method After - #912
- Adds fastify-language-parser to community list - #915
Internals
Features
- added
reply.removeHeader()
- #891
Enhancement
- log message when promise is fullfilled with
undefined
- #887
Fixes
- headers can't bet set to
undefined
- #891 - typescript: support logger option as a boolean - #881
- Remove unnecessary quotes in HTTP response header - #879
- Promise error handling in
listen()
- #873
Internals
Docs
v1.0.0-rc.3
delvedor released this
Breaking changes
- Node 4 is no more. - #818
Features
- Add support for per-parser body limits - #800
Fixes
- Header name is case insensitive in the schema definition - #816
- Add FastifyInstance::after typescript definition - #814
- Fix FastifyInstance::ready type definition - #802
- Add missing printRoutes ts definition on FastifyInstance - #798
- Create a separate hook runner for onSend hooks - #795
- Update dependencies - #820
Internals
- Use writeHead instead of setHeader/getHeader. - #813
Docs
v1.0.0-rc.2
delvedor released this
Breaking changes
- Renamed
jsonBodyLimit
tobodyLimit
- #785
Features
- New content type parser API - #785
- Make hooks/middleware run in the order in which they are defined - #771
- Added backlog parameter to listen method #767 - #769
Internals
- Clean code - #772
- Configure not-found handlers the same way as route handlers - #770
- Updated hook and middleware encapsulation - #762
- Renaming variable - #760
- Simplify function handleError in reply.js - #750
- Add missing TypeScript type definitions - #746
Docs
- Added fastify-reply-from and fastify-http-proxy to the ecosystem - #784
- Add example code snippet for hasContentTypeParser - #781
- Add fastify-rob-config to community plugins list - #779
- Added 'Write-Plugin' documentation - #774
- Add logLevel and config to Routes.md doc - #766
- Add custom content type parser example - #761
- fastify-tls-keygen plugin - #759
- Typos: fatify - #758
v1.0.0-rc.1
delvedor released this
Breaking changes
- Serialize the payload before running onSend hooks - #689
- Completely remove any form of AJV configuration - #674
- Default to listening on 127.0.0.1 - #667
Features
- Expose printRoutes - #702
- Add basePath property to instance (fix #686) - #688
- Add support for ignoring trailing slashes in routes - #679
- Throw error for avoiding
fastify
changes after binding - #671 - Add request.id - #662
- If parsing a JSON body fails, respond with 400 status instead of 422 - #654
- Updated request object - #643
- onRoute Hook - #642
Fixes
- Add middleware to routes the same as hooks - #698
- Fix 677 - #692
- Fix formatting of IPv6 URL - #690
- Handle prefix with trailing slash when setting not-found handler - #683
- Normalize route paths with a prefix that has a trailing slash - #676
- Allow overwrite logger serializer, one by one - #664
- Serialize req on error (fix #659) - #660
- Updated to avvio@5 - #651
- Avoid body parsing for requests with no Content-Type and no body - #650
- Fix 595 and a bug when sending an Error object - #645
Docs
- Improve Getting-Started docs regarding fastify-plugin - #701
- improve examples - #695
- Update docs to use
request
as the name for the Fastify Request object - #685 - Grammar fixes for Plugins-Guide.md - #682
- Add documentation for the options to the factory function - #681
- Add LTS documentation (fix #670) - #680
- Add fastify-no-icon to ecosystem list - #675
- TypeScript Documentation - #669
- Add fastify-dynamodb plugin to Ecosystem.md - #668
- [doc] Fix listen already log server listening address in getting started - #665
- Add fastify-error-page to docs - #661
- Add documentation about options collision - #652
- Updated to fast-json-stringify 0.17.0
Breaking changes
- Run onSend hooks when sending a stream - #579
- Run preHandler hooks for 404 handlers - #616
- Update light my request - #632
Features
- Add reply.notFound() method - #588
- Support buffers in .send - #613
- Add log on listen - #624
- Add option to limit the size of request bodies for the default body parser - #627
Fixes
- Fixes 589 - #592
- check for writeable payload value - #596
- Typescript: define the value of
this
within hooks - #603 - Improve handling undefined payloads - #612
- Avoid 'uncaughtException' if response aborts - #622
Docs
- Fix typos - #578
- Adds fastify-lured to Ecosystem's community list - #586
- add github issue template - #597
- Add myself to collaborators list - #600
- breaking changes must be merged by a core member - #614
- add fastify-bookshelf to community page - #625
- reply.send(string) documentation and test updates - #628
Internals
Watchers:246 |
Star:9570 |
Fork:570 |
创建时间: 2016-09-29 03:10:14 |
最后Commits: 昨天 |
许可协议:View license |
4e1e008
Fixes