Lisk-sdk: Roadmap to upgrade Node.js from v6.14.3 to v10 LTS

Created on 18 Jul 2018  路  9Comments  路  Source: LiskHQ/lisk-sdk

Expected behavior

  • Upgrade Node.js from v6.14.3 to v8.11.3
  • Once sodium-native build is stable with Node.js v10.x.x, upgrade Node.js version to LTS v10.x.x

Note:

No backward compatibility support for the previous version of Node.js after the upgrade.

Which version(s) does this affect? (Environment, OS, etc...)

framework

All 9 comments

@ManuGowda Perhaps it's worth adding semver major/minor requirements to these changes?

@willclarktech as per the discussion with @MaciejBaj we decided to keep the backward compatibility support of LTS versions, to not end up in instability on minor versions of the software. @MaciejBaj whats your opinion on this comment?

My point is just that removing support for Node versions is probably a major change, whereas adding support is probably a minor change, and it would be helpful to see this directly in the issue description.

  • Lisk Core will support only one Node version at the time.
  • Lisk Core Node version announcements issue will have to be adjusted LiskHQ/lisk: Issue #2239
  • Lisk Core 1.2.0 package.json will have to be changed to support one Node.js version only -https://github.com/LiskHQ/lisk/blob/development/package.json#L19
  • Lisk Core Jenkins file will have to be adjusted to run all the tests of the development branch (1.3.0 version) against Node 8 - LiskHQ/lisk: Pull Request 2395

@ManuGowda As mentioned before, I believe upgrading Node.js to a new major version will require a major version bump for our software: if we require users to use the new major version, then they cannot simply install our new software and run it on their existing setup.

@willclarktech it's true that they will not be able to use the latest release on their existing setup, however, with the clear guidelines and instruction we should be able to communicate them to upgrade the node.js version? I agree that with minor releases Lisk software should have backward compatibility with node version.
We clearly lag in judging these bottlenecks upfront when we do backlog grooming, without the clear plan of software version implication form the issue we end up implementing them and in later stages, we end up at this stage, @willclarktech I think I will leave this decision process to @MaciejBaj and how he wants to tackle it, to upgrade the node version during major software version bump or to release it as it is with clear communication about node being upgraded, you can leave your comments as well so that he can make clear choice.

For reference : sodium-native is successfully building on Node 10 & 11 https://travis-ci.org/sodium-friends/sodium-native

Replaced by #2647

Was this page helpful?
0 / 5 - 0 ratings

Related issues

karek314 picture karek314  路  3Comments

MaciejBaj picture MaciejBaj  路  4Comments

yatki picture yatki  路  3Comments

MaciejBaj picture MaciejBaj  路  3Comments

Isabello picture Isabello  路  4Comments