Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Commit 1cd870d

Browse files
Document deprecation as of Fabric v2.5 (#668)
Signed-off-by: Mark S. Lewis <[email protected]>
1 parent 6565522 commit 1cd870d

File tree

8 files changed

+18
-5
lines changed

8 files changed

+18
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Hyperledger Fabric Client SDK for Node.js <a href="https://github.com/hyperledger/fabric-sdk-node/actions/workflows/scheduled.yml"><img src="https://github.com/hyperledger/fabric-sdk-node/actions/workflows/scheduled.yml/badge.svg" alt="Build status" style="float: right"></a>
22

3-
> **Note:** When developing applications for Hyperledger Fabric v2.4 and later, you should use the [Fabric Gateway client API](https://hyperledger.github.io/fabric-gateway/).
3+
> **Note:** This API is deprecated as of Fabric v2.5. When developing applications for Hyperledger Fabric v2.4 and later, you should use the [Fabric Gateway client API](https://hyperledger.github.io/fabric-gateway/).
44
55
The Hyperledger Fabric Client SDK makes it possible to use APIs to interact with a Hyperledger Fabric blockchain. This readme is directed towards a current or future contributor to this project, and gives an overview of setting up the project locally and running tests. For more information on the SDK, including features and an API reference, please visit the [SDK documentation](https://hyperledger.github.io/fabric-sdk-node/).
66

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
The Hyperledger Fabric SDK for Node.js provides a powerful API to interact with a Hyperledger Fabric blockchain. The SDK is designed to be used in the Node.js JavaScript runtime.
33

4+
> **Note:** This API is deprecated as of Fabric v2.5, replaced by the [Fabric Gateway client API](https://hyperledger.github.io/fabric-gateway/).
5+
46

57
### Overview
68

fabric-ca-client/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
## Hyperledger Fabric-CA Client for Node.js
22

3-
[![NPM](https://nodei.co/npm/fabric-ca-client.svg?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/fabric-ca-client/)
4-
53
SDK for writing node.js applications to interact with [Hyperledger Fabric CA](http://hyperledger-fabric-ca.readthedocs.io/en/latest/users-guide.html).
64

5+
> **Note:** This API is deprecated as of Fabric v2.5. When developing applications for Hyperledger Fabric v2.4 and later, you should use the [Fabric Gateway client API](https://hyperledger.github.io/fabric-gateway/).
6+
77
This package encapsulates the APIs to interact with the Fabric CA to manage user certificates lifecycle such as register, enroll, renew and revoke.
88

99
Additional packages are also provided:

fabric-ca-client/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
* This is the main module for the "fabric-ca-client" package. It communicates with the
1111
* "fabric-ca" server to manage user certificates lifecycle including register, enroll,
1212
* renew and revoke, so that the application can use the properly signed certificates to
13-
* authenticate with the fabric
13+
* authenticate with the fabric.
14+
*
15+
* @deprecated As of Fabric v2.5.
1416
*/
1517
module.exports = require('./lib/FabricCAServices.js');

fabric-common/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
SDK for writing node.js applications to interact with [Hyperledger Fabric](http://hyperledger-fabric.readthedocs.io/en/latest/).
44

5+
> **Note:** This API is deprecated as of Fabric v2.5. When developing applications for Hyperledger Fabric v2.4 and later, you should use the [Fabric Gateway client API](https://hyperledger.github.io/fabric-gateway/).
6+
57
This package encapsulates the common code used by the `fabric-ca-client`, `fabric-network` packages. Additional packages are also provided:
68
1. `fabric-ca-client`, to interact with the fabric-ca to manage user certificates.
79
2. `fabric-network`, to provide APIs to connect to a Fabric network, submit transactions and perform queries against the ledger.

fabric-network/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
SDK for writing node.js applications to interact with [Hyperledger Fabric](http://hyperledger-fabric.readthedocs.io/en/latest/).
44

5-
> **Note:** When developing applications for Hyperledger Fabric v2.4 and later, you are strongly encouraged to use the [Fabric Gateway client API](https://hyperledger.github.io/fabric-gateway/).
5+
> **Note:** This API is deprecated as of Fabric v2.5. When developing applications for Hyperledger Fabric v2.4 and later, you should use the [Fabric Gateway client API](https://hyperledger.github.io/fabric-gateway/).
66
77
This package encapsulates the APIs to connect to a Fabric network, submit transactions and perform queries against the ledger, and listen for or replay events.
88

fabric-network/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
*/
66

77
/**
8+
* <blockquote>
9+
* <p><strong>Note:</strong> This API is deprecated as of Fabric v2.5, replaced by the <a href="https://hyperledger.github.io/fabric-gateway/">Fabric Gateway client API</a>.</p>
10+
* </blockquote>
11+
*
812
* <h3>Overview</h3>
913
*
1014
* <p>This module provides a higher level API for interacting with smart contracts, and is the recommended API for
@@ -73,6 +77,7 @@
7377
* }
7478
*
7579
* @module fabric-network
80+
* @deprecated As of Fabric v2.5, replaced by the <a href="https://hyperledger.github.io/fabric-gateway/">Fabric Gateway client API</a>.
7681
*/
7782

7883
/**

fabric-protos/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
SDK for writing node.js applications to interact with [Hyperledger Fabric](http://hyperledger-fabric.readthedocs.io/en/latest/).
44

5+
> **Note:** This API is deprecated as of Fabric v2.5. When developing applications for Hyperledger Fabric v2.4 and later, you should use the [Fabric Gateway client API](https://hyperledger.github.io/fabric-gateway/).
6+
57
This package encapsulates the Protocol Buffer files and generated JavaScript classes for Hyperledger Fabric.
68

79
Additional packages are also provided:

0 commit comments

Comments
 (0)