npm fastify 0.40.0
v0.40.0

latest releases: 4.26.2, 4.26.1, 4.26.0...
6 years ago

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
  • Updated to avvio@5 - #651
  • Removed Fastify iterator - #642

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
  • 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

Don't miss a new fastify release

NewReleases is sending notifications on new releases.