-
Notifications
You must be signed in to change notification settings - Fork 204
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
feat: support node v12+ #294
feat: support node v12+ #294
Conversation
Signed-off-by: Timo Glastra <[email protected]>
Signed-off-by: Timo Glastra <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #294 +/- ##
=======================================
Coverage 88.07% 88.07%
=======================================
Files 218 218
Lines 3926 3926
Branches 452 452
=======================================
Hits 3458 3458
Misses 468 468
Continue to review full report at Codecov.
|
@@ -58,7 +58,7 @@ | |||
"eslint-plugin-prettier": "^3.3.1", | |||
"express": "^4.17.1", | |||
"husky": "^5.1.3", | |||
"indy-sdk": "^1.16.0", | |||
"indy-sdk": "^1.16.0-dev-1633", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I ask what the impact of this upgrade is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. The impact should be minimal. This new version of indy-sdk supports Node 12+ and drops support for NodeJS 8. Node 8 is already end of life for a while and we have never supported it. So in the context of AFJ it just means we support newer NodeJS versions.
However as developers install the indy-sdk themselves they are not required to update to this new version. If they want to use an older version of indy-sdk they can do so. But I don't think there should be any reason not to update. There's nothing functionally different in this indy-sdk version
I think it is nice we can use the Current and LTS NodeJS versions again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, fully agree with the thought processes here. Thanks for the clarification.
I updated the indy-sdk to support node v12+: hyperledger-archives/indy-sdk#2389
This PR loosens the node engine requirement to support 12+ and also adds a test martrix to test for node 12, 14 and 16.
Prettier had some updates to their defaults I think. that's where the other changes come from