Skip to content

Update/simplify code to use Node.js 8.x features as minimum, in Fastify v3 #1654

@smartiniOnGitHub

Description

@smartiniOnGitHub

Hi all,
this proposal is related to the other issue (about documentation/general discussion on the same topic) seen in issue#1647, but this is related to code updates/simplifications.

🚀 Feature Proposal

Update and simplify code to use at least Node.js 8.x (since its LTS release) features.

Motivation

Because previous releases are no more under support, and the majority of installations now seems to be with Node.js 8.x or 10.x .
This would even improve the (right) perception that Fastify is aligned with the state-of-the-art Node.js using latest stable features.

All changes to be done in the 'next' branch.

Example

Search for code block referring to old Node.js versions (if any) and update/remove as needed.
Remove some of the conditionals for async/await and http2 in the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionIssues or PRs with this label will never stalev3.xIssue or pr related to Fastify v3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions