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

feat: support node v12+ #294

Merged

Conversation

TimoGlastra
Copy link
Contributor

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

Signed-off-by: Timo Glastra <[email protected]>
Signed-off-by: Timo Glastra <[email protected]>
@TimoGlastra TimoGlastra requested a review from a team as a code owner May 26, 2021 15:02
@codecov-commenter
Copy link

codecov-commenter commented May 26, 2021

Codecov Report

Merging #294 (3a96b55) into main (8693c49) will not change coverage.
The diff coverage is 66.66%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #294   +/-   ##
=======================================
  Coverage   88.07%   88.07%           
=======================================
  Files         218      218           
  Lines        3926     3926           
  Branches      452      452           
=======================================
  Hits         3458     3458           
  Misses        468      468           
Impacted Files Coverage Δ
src/modules/credentials/models/Credential.ts 75.00% <0.00%> (ø)
...c/modules/credentials/models/IndyCredentialInfo.ts 60.00% <0.00%> (ø)
src/modules/connections/ConnectionsModule.ts 67.60% <100.00%> (ø)
src/modules/proofs/models/ProofRequest.ts 100.00% <100.00%> (ø)
src/modules/proofs/models/RequestedCredentials.ts 100.00% <100.00%> (ø)
src/modules/proofs/services/ProofService.ts 81.85% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8693c49...3a96b55. Read the comment docs.

@@ -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",
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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.

@TimoGlastra TimoGlastra merged commit 6ec201b into openwallet-foundation:main May 27, 2021
@TimoGlastra TimoGlastra deleted the chore/update-indy-sdk branch October 2, 2021 21:07
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

Successfully merging this pull request may close these issues.

3 participants