Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove Babel Compilation - Drop Support For Node v4 #608

Copy link
Copy link
@ekryski

Description

@ekryski
Issue body actions

Starting with the next release (Buzzard) we would like to remove Babel compilation from all server side and React Native modules where appropriate and for modules that can be used in the browser swap over to using Webpack in order to leverage hoisting.

Client side versions of modules are already being moved into their own repos in this release (feathersjs-ecosystem/client#137), so now seems like the best time to do this.

As a result the next Buzzard release will drop support for Node v4 a bit early. Even though there is still 6 months of official LTS left for v4 from Node, we don't believe many people are using Feathers with Node v4.x. Feathers works without compilation on Node v6+ and Node v8.x is the current stable version.

Node has a good migration path so it shouldn't be a blocker for many people if they do need to upgrade and because we use semver Feathers Auk will continue to work on Node v4+ with Babel compilation so migrating current Feathers apps onto new versions of Node is a non-issue.

As a result you should probably start now if you are on Node v4.x.

Why Change This

  • We will be able to install modules from a github repo. This will make it easier for people to have private forks and contribute fixes. 🎉
  • Reduced dependencies are always great 🙌
  • Easier debugging and less code bloat
  • Less tooling to maintain
  • No need for people to compile and/or watch files when developing, testing modules, etc.
  • We're currently restructuring some modules and breaking out client builds into their own repos

What Changes

  • The next major version of all the modules below will not be supported on NodeJS versions older than v4. You will need to use babel to compile them yourself.
  • Switch to webpack for client side builds
  • For most modules it is simply the import and exports that will change and updating the tests

The @feathersjs/core-team has decided that this is totally worth but if you feel this is cause for concern please let us know! Feel free to comment or simply give a 👍 or 👎 .

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.