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

Closed
wants to merge 1 commit into from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Feb 25, 2019

The dependency fastify was updated from 1.14.2 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 137 commits ahead by 137, behind by 30.

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

@coveralls
Copy link

Coverage Status

Coverage decreased (-92.1%) to 4.839% when pulling 63d533d on greenkeeper/fastify-2.0.0 into 201391f on master.

greenkeeper bot added a commit that referenced this pull request Mar 6, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 6, 2019

  • The dependency fastify was updated from 1.14.3 to 2.0.1.

Update to this version instead 🚀

Release Notes for v2.0.1

Fixes:

  • fix: unused shared schema to serializer - #1496

Docs:

  • Docs/fluent schema - #1485
  • add fastify-405 plugin - #1501
  • Updated benchmarks - #1497
  • Added fastify-influxdb to Community Plugins - #1472
  • Updated LTS.md - #1477

Internals:

  • refactor: remove unnecessary condition - #1505

Dependencies:

  • chore(package): update fast-json-stringify to version 1.11.2 - #1500
  • Update deps - #1493
Commits

The new version differs by 11 commits.

  • b456013 Bumped v2.0.1
  • b2bdfee refactor: remove unnecessary condition (#1505)
  • 3626ca9 add: @eomm as contributor (#1507)
  • 29a77b9 Docs/fluent schema (#1485)
  • 9398dfa fix: unused shared schema to serializer (#1496)
  • 563926f add fastify-405 plugin (#1501)
  • cf7a096 chore(package): update fast-json-stringify to version 1.11.2 (#1500)
  • 25ee251 Updated benchmarks (#1497)
  • c24b14a Update deps (#1493)
  • 0ff444b Added fastify-influxdb to Community Plugins (#1472)
  • 956c593 Updated LTS.md (#1477)

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 15, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 15, 2019

  • The dependency fastify was updated from 1.14.4 to 2.1.0.

Update to this version instead 🚀

Release Notes for v2.1.0

Features:

  • feat: support more signatures for listen - #1463
  • Feature: onRegister hook - #1526
  • InitialConfig - #1471
  • Pass ip, ips, and hostname to Request object - #1476

Fixes:

  • feat: add pluginTimeout options in d.ts - #1527
  • fix/schema error text - #1513
  • Fix the default for the modifyCoreObjects option - #1517

Docs:

  • Adds fastify-flash to Ecosystem.md - #1531
  • Add apollo-server-fastify to the ecosystem. - #1524
  • Add res serializer to docs - #1455
  • Update Ecosystem.md - #1488
  • Added fastify-mongoose-driver to Community Plugins - #1490
  • Docs: clarify error handling in non-async routes - #1515
  • Documentation update for avvio PR 82 - #1498
  • added all the hooks in the example file - #1520
  • Updated docs - #1522

Internals:

Commits

The new version differs by 22 commits.

  • c037c5d Bumped v2.1.0
  • 7050493 Init options (#1530)
  • 08ab1e8 feat: support more signatures for listen (#1463)
  • 90b8ef1 Feature: onRegister hook (#1526)
  • fd49bc5 chore: ignore tap file (#1534)
  • 1bb60ac Adds fastify-flash to Ecosystem.md (#1531)
  • ed4af59 Return an object instead of an array to improve the destructuring readability (#1528)
  • cc53dfd feat: add pluginTimeout options in d.ts (#1527)
  • 7eaaabc Chore: refactor fastify.js (#1506)
  • 4edd141 Add apollo-server-fastify to the ecosystem. (#1524)
  • 0a934fc InitialConfig second draft (#1471)
  • d785957 Add res serializer to docs (#1455)
  • 1ee924f Updated docs (#1522)
  • ceeccf6 add all the hooks in the example file (#1520)
  • 3dd5311 Documentation update for avvio PR 82 (#1498)

There are 22 commits in total.

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 5, 2019

  • The dependency fastify was updated from 1.14.5 to 2.2.0.

Update to this version instead 🚀

Release Notes for v2.2.0

Features:

  • Add option to match only prefix root with paths - #1487
  • add: schemaCompiler property - #1533

Fixes:

  • Type this in RequestHandler - #1539
  • Fix initialConfigValidation error handling - #1561
  • fix/mutated-schemas - #1565

Documentation:

  • Update Request.md - #1549
  • Update Server.md - #1550
  • Update Ecosystem.md - #1559
  • Document genReqId being called even when 'request-id' header is supplied - #1566

Test:

Internals:

Commits

The new version differs by 16 commits.

  • a9a2ba1 Bumped v2.2.0
  • 5de7440 fix/mutated-schemas at startup (#1565)
  • d98629b Document genReqId being called even when 'request-id' header is supplied (#1566)
  • 8af9220 Chore: refactor 404 (#1547)
  • 5865b86 chore(package): update fluent-schema to version 0.7.0 (#1552)
  • 5e06604 Update Ecosystem.md (#1559)
  • fc38863 Fix broken tests (#1561)
  • 9ee4ecd chore(package): update semver to version 6.0.0 (#1558)
  • 9b2a54c Update Server.md (#1550)
  • 0d8b9f1 Update Request.md (#1549)
  • 8689e6e add: schemaCompiler property (#1533)
  • eafb2fb Type this in RequestHandler (#1539)
  • 767923b Add prefixTrailingSlash option to match only prefix root with paths (#1487)
  • b48a605 Fix #1537 (#1545)
  • 9c3f03f add fastify-http-client plugin (#1540)

There are 16 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 5, 2019
greenkeeper bot added a commit that referenced this pull request Apr 18, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 18, 2019

  • The dependency fastify was updated from 1.14.6 to 2.3.0.

Update to this version instead 🚀

@greenkeeper greenkeeper bot closed this May 3, 2019
@greenkeeper greenkeeper bot deleted the greenkeeper/fastify-2.0.0 branch May 3, 2019 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant