Skip to content

Support Node 6 and up #9015

Closed
Closed

Description

@sushantdhiman

https://github.com/nodejs/Release#release-schedule

Node 4 Maintenance LTS is ending soon (on 2018-04-30) and all cloud function providers AWS, Google, Azure and IBM supports Node v6

Activity

  1. added
    breaking change
    on Feb 8, 2018
  2. modified the milestones: v5, on Feb 8, 2018
  3. sushantdhiman commented on Mar 21, 2018

    @sushantdhiman
    ContributorAuthor

    Included in v5 branch

  4. SimonSchick commented on Apr 30, 2018

    @SimonSchick
    Contributor

    Would it be possible to skip right to v8, seeing that v8 and v10 are both LTS?

  5. sushantdhiman commented on Apr 30, 2018

    @sushantdhiman
    ContributorAuthor

    No

  6. SimonSchick commented on Apr 30, 2018

    @SimonSchick
    Contributor

    No.

    Is there any particular reason why?

  7. dijonkitchen commented on May 2, 2018

    @dijonkitchen
    Contributor

    Probably because version 6.x is supported as an LTS until 2019.

  8. sushantdhiman commented on May 2, 2018

    @sushantdhiman
    ContributorAuthor

    Main reason is already stated

    all cloud function providers AWS, Google, Azure and IBM supports Node v6

  9. SimonSchick commented on Dec 18, 2018

    @SimonSchick
    Contributor

    @sushantdhiman all cloud providers you named now fully support v8.
    v6 LTS ends in ~4 months, I think it would be sensible to release v5 targeting v8 instead.

  10. sushantdhiman commented on Dec 18, 2018

    @sushantdhiman
    ContributorAuthor

    I agree @SimonSchick , I planned v5 to be a quick iteration but release has been stretched further. Now it make sense to bump directly to Node 8 at least.

    cls is a blocker atm, will have to look into implementing https://github.com/Jeff-Lewis/cls-hooked

  11. SimonSchick commented on Dec 18, 2018

    @SimonSchick
    Contributor

    Can you elaborate what it is blocking exactly?

  12. sushantdhiman commented on Dec 18, 2018

    @sushantdhiman
    ContributorAuthor

    @SimonSchick first we have to migrate our codebase to use cls-hooked, probably locking Node to 8.10 or above (no real issue with that), then we have to write tests for functionality using cls with native async await especially important for transactions.

    Migration to cls-hooked is required as continuation-local-storage itself is using AsyncListener which wont work for Node 8 or up

    This is mostly some (easy) modernization work with tedious rewrite (of tests) overall but real blocker if we want to support cls in Node 8

  13. SimonSchick commented on Dec 19, 2018

    @SimonSchick
    Contributor

    I assume you are going to do this?
    I'm not exactly familiar with the cls stuff since I've never used it.

  14. ayushnigamsworld commented on May 21, 2019

    @ayushnigamsworld

    @SimonSchick first we have to migrate our codebase to use cls-hooked, probably locking Node to 8.10 or above (no real issue with that), then we have to write tests for functionality using cls with native async await especially important for transactions.

    Migration to cls-hooked is required as continuation-local-storage itself is using AsyncListener which wont work for Node 8 or up

    This is mostly some (easy) modernization work with tedious rewrite (of tests) overall but real blocker if we want to support cls in Node 8

    Yes I think that is utterly needed. We are using Node 8, with async-await waterfall, cls simply fails. Then we used cls-hooked with Sequelize managed transactions and till now it's been working like a beauty for past 6 months. Moving to production with cls-hooked now. Anyone differ, do comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking change

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions