You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
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.
@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
@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.
Activity
sushantdhiman commentedon Mar 21, 2018
Included in v5 branch
SimonSchick commentedon Apr 30, 2018
Would it be possible to skip right to v8, seeing that v8 and v10 are both LTS?
sushantdhiman commentedon Apr 30, 2018
No
SimonSchick commentedon Apr 30, 2018
Is there any particular reason why?
dijonkitchen commentedon May 2, 2018
Probably because version 6.x is supported as an LTS until 2019.
sushantdhiman commentedon May 2, 2018
Main reason is already stated
SimonSchick commentedon Dec 18, 2018
@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.
sushantdhiman commentedon Dec 18, 2018
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.
clsis a blocker atm, will have to look into implementing https://github.com/Jeff-Lewis/cls-hookedSimonSchick commentedon Dec 18, 2018
Can you elaborate what it is blocking exactly?
sushantdhiman commentedon Dec 18, 2018
@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-storageitself is usingAsyncListenerwhich wont work for Node 8 or upThis is mostly some (easy) modernization work with tedious rewrite (of tests) overall but real blocker if we want to support cls in Node 8
SimonSchick commentedon Dec 19, 2018
I assume you are going to do this?
I'm not exactly familiar with the cls stuff since I've never used it.
ayushnigamsworld commentedon May 21, 2019
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.