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

Node 16 and v1.4 libraries #3357

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

mbwhite
Copy link
Member

@mbwhite mbwhite commented Apr 26, 2022

Clarify notes on the v1.4 Chaincode with Node16

Signed-off-by: Matthew B White whitemat@uk.ibm.com

@mbwhite mbwhite requested review from a team as code owners April 26, 2022 08:40
jt-nti
jt-nti previously approved these changes Apr 26, 2022
@@ -33,6 +33,13 @@ Support for user chaincodes to utilize the chaincode shim's logger via `NewLogge

For more information, check out [Logging control](./logging-control.html#chaincode).

#### Nodejs v1.4 Chaincode

For v1.4 Nodejs chaincode libraries, the supported node runtime is v8. Though formally unsupported, the v1.4 libraries can work on later versions. For example the Node12 runtime that was used with Fabric v2.2. Fabric v2.4 has upgraded to Node16. It is _not possible_ to run the v1.4 libraries on Node 16. Therefore any chaincode written with the v1.4 libraries will need to be updated. Typically this will be before upgrading to a Fabric 2.4 peer.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For v1.4 Nodejs chaincode libraries, the supported node runtime is v8. Though formally unsupported, the v1.4 libraries can work on later versions. For example the Node12 runtime that was used with Fabric v2.2. Fabric v2.4 has upgraded to Node16. It is _not possible_ to run the v1.4 libraries on Node 16. Therefore any chaincode written with the v1.4 libraries will need to be updated. Typically this will be before upgrading to a Fabric 2.4 peer.
For v1.4 Nodejs chaincode libraries, the supported node runtime is v8. Though not formally supported, the v1.4 libraries can work on later versions. For example the Node12 runtime that was used with Fabric v2.2. Fabric v2.4 has upgraded to Node16. It is _not possible_ to run the v1.4 libraries on Node 16. Therefore any chaincode written with the v1.4 libraries will need to be updated. Typically this will be before upgrading to a Fabric 2.4 peer.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot :-) (or should I say not a bad spot?)

Clarify notes on the v1.4 Chaincode with Node16

Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
@andrew-coleman andrew-coleman merged commit f30d3cd into hyperledger:main Apr 26, 2022
@denyeart
Copy link
Contributor

@Mergifyio backport release-2.4

@mergify
Copy link

mergify bot commented Apr 26, 2022

backport release-2.4

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Apr 26, 2022
Clarify notes on the v1.4 Chaincode with Node16

Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
(cherry picked from commit f30d3cd)
denyeart pushed a commit that referenced this pull request Apr 26, 2022
Clarify notes on the v1.4 Chaincode with Node16

Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
(cherry picked from commit f30d3cd)
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.

4 participants