npm fastify 2.0.0-rc.5
v2.0.0-rc.5

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

Features

  • Support custom route versioning strategies - #1422
  • Protect against prototype poisoning - #1427
  • feat: Added preSerialization hook and route option. - #1408

Enhancements

  • Update default ajv instance to include all errors (breaking change) - #1398
  • Set log level to warn for all sendStream errors - #1415
  • log "premature close" stream errors as warnings - #1407

Fixes

  • fix: json schema $ref with $id set in definitions - #1425

TypeScript

  • Improve typings with an overload for the close() method, which returns a promise - #1404

Documentation

  • Fixed typos - #1431
  • fix document of handle validation error - #1430

Internals

  • Simplify schemaErrorsText builder function - #1412 -

Test

  • Cover all hooks functionality - #1424
  • Add preParsing tests for router opts - #1423
  • Add tests to cover handleRequest - #1414
  • Add test for misplaced callNotFound - #1411

Don't miss a new fastify release

NewReleases is sending notifications on new releases.