|
| 1 | +v2.0.0, 22 January 2020 |
| 2 | +----------------------- |
| 3 | + |
| 4 | +Release Notes |
| 5 | +------------- |
| 6 | +The main change in the v2.0.0 is the level of NodeJS runtime has moved up to the latest LTS version of v12.13.0 |
| 7 | +v2.0.0 has the fixes from v1.4.4 level. |
| 8 | + |
| 9 | +Migration Notes |
| 10 | +--------------- |
| 11 | +Note that a change needed to be made to the metadata schema as it was in error; it had diverged from the JSONSchema standard |
| 12 | +so that it was not possible to validate complex objects. |
| 13 | + |
| 14 | +If you have custom metadata defined in the contract, then for the complex objects defined in the 'components' section |
| 15 | +the properties of this object where previously held as array; they now need to be held as a map with the key as the name |
| 16 | +of the property |
| 17 | + |
| 18 | +Return types on functions where returned as an array of schema objects. this has been modified to be a single object. i.e. |
| 19 | +the single value array is now just a single value. |
| 20 | + |
| 21 | +There is also a new nodeenv docker image that is used for hosting the chaincode rather than use the baseos image as in V1.4 |
| 22 | + |
| 23 | +In v1.4, the fabric-contract-api had a dependency on the fabric-shim. This has changed in this version to have a dependency |
| 24 | +on the new fabric-shim-api module. This allows the fabric-contract-api to be used client side for annotations. |
| 25 | + |
| 26 | +For contributors, the v2.0.0 repo is built using rush and is organized as a full mono-repo. |
| 27 | + |
| 28 | +The @Object annotation has been deprecated in favour of the @DataType annotation |
| 29 | + |
| 30 | +The x509 library used for parsing has changed; this should be parse the X509 certificates exactly the same way; this is a note that |
| 31 | +differences are observed in the parsed certificates please raise an issue. |
| 32 | + |
| 33 | +Summary of the programming model |
| 34 | +------------------------------- |
| 35 | + |
| 36 | +This is designed to improve developer productivity and ease of use. |
| 37 | +For more information see https://hyperledger-fabric.readthedocs.io/en/developapps/developing_applications.html |
| 38 | + |
| 39 | +Known Vulnerabilities |
| 40 | +--------------------- |
| 41 | +none |
| 42 | + |
| 43 | +Resolved Vulnerabilities |
| 44 | +------------------------ |
| 45 | +none |
| 46 | + |
| 47 | +Known Issues & Workarounds |
| 48 | +-------------------------- |
| 49 | +none |
| 50 | + |
| 51 | +Change Log |
| 52 | +---------- |
| 53 | +https://github.com/hyperledger/fabric-chaincode-node/blob/release-2.0/CHANGELOG.md#v2.0.0 |
0 commit comments