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

Drop Node 4 support #3016

Closed
devoto13 opened this issue May 24, 2018 · 8 comments
Closed

Drop Node 4 support #3016

devoto13 opened this issue May 24, 2018 · 8 comments

Comments

@devoto13
Copy link
Collaborator

Node 4 has reached end-of-life on 30th of April. There are libraries out there, which have already dropped support for it to benefit from new ES feature available with newer versions.

Opening this issue to discuss how Karma can drop Node 4 support. This will probably require a major version bump as it will break everybody, who is stuck with Node 4.

Benefits of dropping Node 4 support:

  • class is available without strict mode
  • support for default parameter values in functions
  • support for rest function parameters (which is better alternative for arguments and will allow to move remaining functions to arrow functions)
  • new methods on Array, Promise and other built-in objects
  • detailed in the compat-table

So, what does it take to drop support for Node 4?

@lusarz
Copy link
Contributor

lusarz commented May 25, 2018

I definetely agree with @devoto13.

I think it may be enough to prepare pull request which remove these lines:

- nodejs_version: "4"

- 4

@johnjbarton
Copy link
Contributor

I guess we should release one more time on 2.x before the upgrade to drop 4.x node.

But just now we are frozen by some yarn/cloudflare/npmjs issue.

@devoto13
Copy link
Collaborator Author

@johnjbarton What is the issue? Anything I can help with?

@johnjbarton
Copy link
Contributor

johnjbarton commented May 29, 2018 via email

@johnjbarton
Copy link
Contributor

As I suspected, the issue resolved itself.

@lusarz
Copy link
Contributor

lusarz commented Jul 18, 2018

@johnjbarton, @devoto13 any update on that ? Is there anything that stop us from removing Node 4 support ?

@johnjbarton
Copy link
Contributor

Next week I will try to:

  1. release one more 2.x version,
  2. update 3.0 dropping node 4 and log4js 2.x

@johnjbarton
Copy link
Contributor

Fixed by #3082

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

No branches or pull requests

3 participants