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 🚀 #36

Merged
merged 1 commit into from
Feb 25, 2019

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Feb 25, 2019

The devDependency fastify was updated from 2.0.0-rc.3 to 2.0.0.

This version 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.


Release Notes for v2.0.0

Official announcement: https://medium.com/@fastifyjs/8275d613fba4

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:

  • Support custom route versioning strategies - #1422
  • Protect against prototype poisoning - #1427
  • feat: Added preSerialization hook and route option. - #1408
  • Added preParsing hook. - #1377
  • PR to fix issue #1269 - add plain text parser to core - #1280

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
  • Add plugin name in case of dependency error - #1371
  • move ECONNRESET log from error to debug - #1363
  • Fix #1334 - #1348
  • Throw error for improper node js version using http2 - #1346

Fixes:

  • Allow override of the default content-type parser inside a plugin - #1435
  • fix: json schema $ref with $id set in definitions - #1425
  • Drop @types/pino from dependencies - #1366
  • Fix setting multiple cookies as multiple 'Set-Cookie' headers. (fix #1358) - #1359
  • fix: #1353 ignore evaluation of $schema field in json-schema - #1354
  • Establish reply.sent = true as a proper way to skip async/await handling - #1336
  • Handle response validation error - #1328

TypeScript:

  • Improve typings with an overload for the close() method, which returns a promise - #1404
  • fix(types): add missing Reply functions - #1299
  • feat(types): add custom error type - #1250
  • fix: add querystringParser to ServerOptions - #1285

Documentation:

  • Fixed typos - #1431
  • fix document of handle validation error - #1430
  • Update copyright year to 2019 - #1362
  • fastify-react->fastify-nextjs - #1382
  • docs(ecosystem): add fastify-gql - #1343
  • Update Hooks.md - #1337
  • Fix #1278 - #1301
  • doc: add links to Errors.md - #1326
  • doc: remove res.end from middleware page - #1327
  • 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
Commits

The new version differs by 69 commits.

  • dbcf234 Bumped v2.0.0
  • 07504c6 Add self to package.json (#1474)
  • 8202890 Docs/Add standard json schema examples (#1355)
  • a27850d Fix/add schema to validator (#1446)
  • 4c03dda Add onboarding section to CONTRIBUTING document (#1469)
  • 37dde53 test: cover issue #1456 (#1470)
  • a00972b Less flakyness maybe (#1468)
  • 7391bee Add email for cemremengu (#1467)
  • dd9259b maybe fixed flaky test (#1466)
  • dc9ca9c fixed flaky http2 closing test (#1464)
  • fa2b5d8 Fix HTTP/2 request while closing (#1461)
  • 2ddae34 Exclude tap-mocha-reporter from greenkeeper (#1460)
  • 1313bea Added link to fastify-google-cloud-storage plugin in doc/Ecosystem (#1443)
  • 4e36633 update types/node to latest (#1451)
  • 8a736fc Update ignore files (#1452)

There are 69 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 🌴

@codecov
Copy link

codecov bot commented Feb 25, 2019

Codecov Report

Merging #36 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #36   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines           7      7           
=====================================
  Hits            7      7

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b4aafd2...6872ce4. Read the comment docs.

@cemremengu cemremengu merged commit 514c636 into master Feb 25, 2019
@greenkeeper greenkeeper bot deleted the greenkeeper/fastify-2.0.0 branch February 25, 2019 16:44
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