Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fastify to the latest version 🚀 #18

Merged
merged 1 commit into from
Jan 23, 2018

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jan 23, 2018

Version 0.40.0 of fastify was just published.

Dependency fastify
Current Version 0.39.1
Type devDependency

The version 0.40.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of fastify.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v0.40.0

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
Commits

The new version differs by 93 commits.

  • 94ea67e Bumped v0.40.0
  • ef22157 Add middleware to routes the same as hooks (#698)
  • 294dbc1 Merge pull request #702 from fastify/expose-prettyPrint
  • 6da5dbc Updated docs
  • a428a40 Updated test
  • 59b3378 Exposed printRoutes
  • f4860bb Improve Getting-Started docs regarding fastify-plugin (#701)
  • d89079c Merge pull request #692 from fastify/fix-677
  • d889a40 Updated docs
  • 2dde951 Merge branch 'master' into fix-677
  • 62396ae Updated test
  • caa3a72 Check if the response has finished after the hooks execution
  • edd1a19 Updated docs
  • 20ba13a Updated test
  • fe9931c Support end of stream also in preHandler

There are 93 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@allevo allevo merged commit 7cede77 into master Jan 23, 2018
@allevo allevo deleted the greenkeeper/fastify-0.40.0 branch January 23, 2018 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant