Skip to content

Commit 1cfa5da

Browse files
committed
Updates for fabric release v2.0.1
Updates for release v2.0.1 including release notes and version reference updates. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
1 parent 7282895 commit 1cfa5da

7 files changed

Lines changed: 139 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
## "v2.0.1"
2+
3+
* [7282895](https://github.com/hyperledger/fabric/commit/7282895) [FAB-17515](https://jira.hyperledger.org/browse/FAB-17515) Support configuring BlockValidation policy for orderer group
4+
* [618a4ce](https://github.com/hyperledger/fabric/commit/618a4ce) [FAB-17491](https://jira.hyperledger.org/browse/FAB-17491) Do not disseminate pvtdata for other org's implicit collection
5+
* [727327d](https://github.com/hyperledger/fabric/commit/727327d) [FAB-17523](https://jira.hyperledger.org/browse/FAB-17523) Endorsing peer was not honoring RequiredPeerCount (#716) (#729)
6+
* [371c435](https://github.com/hyperledger/fabric/commit/371c435) Optimize inquire.IsSubset (#714)
7+
* [bb46909](https://github.com/hyperledger/fabric/commit/bb46909) [FAB-17059](https://jira.hyperledger.org/browse/FAB-17059) Extend private data integration tests to cover case when a new eligible peer with different certs joins the channel and attempts to fetch private data before processing the config update that adds its certs to the channel config
8+
* [0885c2f](https://github.com/hyperledger/fabric/commit/0885c2f) [FAB-17059](https://jira.hyperledger.org/browse/FAB-17059) Change collection membership eligibility checks to only compare mspID instead of Evaluating the certificate against the access policy
9+
* [f4e4a95](https://github.com/hyperledger/fabric/commit/f4e4a95) [FAB-17472](https://jira.hyperledger.org/browse/FAB-17472) Clarify doc and samples for NodeOU Certificate
10+
* [c742dd6](https://github.com/hyperledger/fabric/commit/c742dd6) [FAB-17453](https://jira.hyperledger.org/browse/FAB-17453) 'peer lifecycle chaincode package' mandates does not need to init crypto
11+
* [4665ec5](https://github.com/hyperledger/fabric/commit/4665ec5) [FAB-17479](https://jira.hyperledger.org/browse/FAB-17479) Migrated Kafka cluster can be safely expanded later (#645)
12+
* [61f5706](https://github.com/hyperledger/fabric/commit/61f5706) [FAB-14679](https://jira.hyperledger.org/browse/FAB-14679) Update commercial paper tutorial for new chaincode lifecycle
13+
* [c63e674](https://github.com/hyperledger/fabric/commit/c63e674) Explicitly enumerate orderer and peer metrics
14+
* [2daa2b0](https://github.com/hyperledger/fabric/commit/2daa2b0) Add link to policies topic to chaincode for operators (#659) (#660)
15+
* [dc8071c](https://github.com/hyperledger/fabric/commit/dc8071c) Update Copyright for 2020
16+
* [f8b21b1](https://github.com/hyperledger/fabric/commit/f8b21b1) fix typo
17+
* [4961395](https://github.com/hyperledger/fabric/commit/4961395) Fix typo in package error message
18+
* [993b7a0](https://github.com/hyperledger/fabric/commit/993b7a0) [FAB-17458](https://jira.hyperledger.org/browse/FAB-17458) check LifecycleV20 capability before getting cc info (#608)
19+
* [7a1d517](https://github.com/hyperledger/fabric/commit/7a1d517) Remove 1.x video from 2.0 docs
20+
* [5bf6583](https://github.com/hyperledger/fabric/commit/5bf6583) Remove Fabric functionalities doc
21+
* [361edb6](https://github.com/hyperledger/fabric/commit/361edb6) [FAB-17267](https://jira.hyperledger.org/browse/FAB-17267) Move add an org to a channel tutorial to test network
22+
* [b96f178](https://github.com/hyperledger/fabric/commit/b96f178) [FAB-17381](https://jira.hyperledger.org/browse/FAB-17381) Update policy concept for test network
23+
* [c987e77](https://github.com/hyperledger/fabric/commit/c987e77) Update branch to dynamic variable
24+
* [5fe6530](https://github.com/hyperledger/fabric/commit/5fe6530) Add support for placeholder replacement in doc builds
25+
* [13d12e5](https://github.com/hyperledger/fabric/commit/13d12e5) [FABCN-378] Update links to chaincode JSDoc
26+
* [721a6e7](https://github.com/hyperledger/fabric/commit/721a6e7) Remove link for node SDK tutorial
27+
* [913d770](https://github.com/hyperledger/fabric/commit/913d770) [FAB-17424](https://jira.hyperledger.org/browse/FAB-17424) Fix broken link in DevApps connection profile
28+
* [a521d2a](https://github.com/hyperledger/fabric/commit/a521d2a) Fix conditional_packages processing in UT script
29+
130
## "v2.0.0"
231

332
* [77ff3d2](https://github.com/hyperledger/fabric/commit/77ff3d2) Install doc and script updates for v2.0.0

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
# - help-docs - generate the command reference docs
4444

4545
ALPINE_VER ?= 3.10
46-
BASE_VERSION = 2.0.0
47-
PREV_VERSION = 2.0.0-beta
46+
BASE_VERSION = 2.0.1
47+
PREV_VERSION = 2.0.0
4848

4949
# BASEIMAGE_RELEASE should be removed now
5050
BASEIMAGE_RELEASE = 0.4.18

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ open source architecture; Hyperledger Fabric is your starting point.
2424

2525
## Releases
2626

27+
- [v2.0.1 - February 26, 2020](https://github.com/hyperledger/fabric/releases/tag/v2.0.1)
2728
- [v2.0.0 - January 29, 2020](https://github.com/hyperledger/fabric/releases/tag/v2.0.0)
2829
- [v2.0.0-beta - December 12, 2019](https://github.com/hyperledger/fabric/releases/tag/v2.0.0-beta)
2930
- [v2.0.0-alpha - April 9, 2019](https://github.com/hyperledger/fabric/releases/tag/v2.0.0-alpha)
31+
- [v1.4.6 - February 25, 2020](https://github.com/hyperledger/fabric/releases/tag/v1.4.6)
32+
- [v1.4.5 - November 19, 2020](https://github.com/hyperledger/fabric/releases/tag/v1.4.5)
3033
- [v1.4.4 - November 14, 2019](https://github.com/hyperledger/fabric/releases/tag/v1.4.4)
3134
- [v1.4.3 - August 26, 2019](https://github.com/hyperledger/fabric/releases/tag/v1.4.3)
3235
- [v1.4.2 - July 17, 2019](https://github.com/hyperledger/fabric/releases/tag/v1.4.2)

docs/source/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ the binaries and images.
5353
.. note:: If you want a specific release, pass a version identifier for Fabric,
5454
Fabric-ca and thirdparty Docker images.
5555
The command below demonstrates how to download the latest production releases -
56-
**Fabric v2.0.0** and **Fabric CA v1.4.4**
56+
**Fabric v2.0.1** and **Fabric CA v1.4.6**
5757

5858
.. code:: bash
5959
6060
curl -sSL https://bit.ly/2ysbOFE | bash -s -- <fabric_version> <fabric-ca_version> <thirdparty_version>
61-
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.0.0 1.4.4 0.4.18
61+
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.0.1 1.4.6 0.4.18
6262
6363
.. note:: If you get an error running the above curl command, you may
6464
have too old a version of curl that does not handle

docs/source/whatsnew.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ Specifically, take a look at the changes and deprecations that are being
214214
announced with the new Fabric v2.0 release.
215215

216216
* `Fabric v2.0.0 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.0.0>`_.
217+
* `Fabric v2.0.1 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.0.1>`_.
217218

218219
.. Licensed under Creative Commons Attribution 4.0 International License
219220
https://creativecommons.org/licenses/by/4.0/

release_notes/v2.0.1.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
v2.0.1 Release Notes - February 26, 2020
2+
========================================
3+
4+
Fixes
5+
-----
6+
7+
**FAB-17458: Rolling upgrade: Different endorsement results on v1.4.x and v2.0.0 peers**
8+
9+
In a rolling upgrade scenario where V2_0 channel application capability is not yet set,
10+
and proposals are sent to v1.4.x peers and v2.0.0 peers,
11+
the endorsed read sets did not exactly match in the proposal response between
12+
the v1.4.x peers and v2.0.0 peers. A client would therefore have to get
13+
endorsements from only v1.4.x peers, or only from v2.0.0 peers, making it difficult
14+
to get sufficient number of matching endorsements to meet the endorsement policy.
15+
If a transaction is submitted with insufficient matching endorsements, the
16+
transaction will be invalidated at commit time with error message
17+
"marked as invalid by committer. Reason code [ENDORSEMENT_POLICY_FAILURE]".
18+
The proposal response is fixed in v2.0.1 so that the read sets will exactly
19+
match read sets on v1.4.x peers, enabling transactions to be endorsed across
20+
peers of different versions.
21+
22+
**FAB-17479: Migrated Kafka cluster can be safely expanded later**
23+
24+
When a new ordering service node was added to a migrated Kafka cluster,
25+
but was not added to all channels, the ordering service node would crash.
26+
The fix ensures that new ordering nodes can be added to a subset of channels.
27+
28+
**FAB-17453: 'peer lifecycle chaincode package' required an MSP configured**
29+
30+
'peer lifecycle chaincode package' is for local packaging of chaincode only,
31+
and therefore no longer requires a MSP to be configured.
32+
33+
**FAB-17059: Change collection membership eligibility checks to only compare mspID**
34+
35+
When a new CA root cert was added to an organization in the channel configuration,
36+
new peers with an identity from the new CA would not receive private data for
37+
blocks prior to the channel configuration change. This is because the peer didn't
38+
realize it was a member of the private data collection, even though it was
39+
based on the collection's mspid. The fix ensures that the peer evaluates
40+
private data collection membership based on its mspid. The fix is important
41+
when rotating CA root or intermediate certs, for example in a side-by-side
42+
migration scenario that uses new CA certs and new peers.
43+
44+
**FAB-17519: Improve Discovery endorsement policy performance**
45+
46+
Fix peer CPU spikes during evaluation of endorsement policy
47+
combinations, due to expensive reflection.
48+
49+
**FAB-17523: Endorsing peer was not honoring private data RequiredPeerCount**
50+
51+
If there were not enough known eligible peers to meet the private data collection RequiredPeerCount
52+
dissemination requirement, endorsement was succeeding rather than returning an error.
53+
54+
**[FAB-17491] Do not disseminate private data for other organization's implicit collection**
55+
56+
When using the new implicit private data collections in v2.0.0, in some use cases
57+
private data needs to be written to each of multiple organization's implicit
58+
private data collections in the same transaction. In these cases the endorsing peers were
59+
disseminating the private data to each of the respective organization's peers.
60+
Although not a security problem (each organization is authorized to receive its
61+
own implicit collection private data), dissemination should be managed by the endorsing
62+
peers of the implicit collection organization only. This fix ensures that only peers
63+
of the implicit collection organization disseminate the private data to their own
64+
organization's other peers.
65+
66+
**[FAB-17515] Support configuring BlockValidation policy for orderer group**
67+
68+
Prior to the fix, a configured BlockValidation policy (e.g. defined in configtx.yaml)
69+
would be ignored. The policy is now applied in the channel creation transaction, and
70+
must be specified.
71+
72+
73+
Known Issues and Workarounds
74+
----------------------------
75+
**FAB-12134: Same chaincode source receiving fingerprint mismatch error**
76+
77+
When using the legacy chaincode lifecycle, chaincode installed in different
78+
ways may result in "chaincode fingerprint mismatch data mismatch" error
79+
upon instantiation. This may happen when installing chaincode by using
80+
different SDKs. To workaround the problem, package the chaincode prior to
81+
installation and instantiation, by using the "peer chaincode package" command.
82+
83+
84+
Known Vulnerabilities
85+
---------------------
86+
**FAB-8664: Peer should detect and react when its org has been removed**
87+
88+
This is a relatively low severity problem, because it requires a significant
89+
conspiracy of network admins, but it will be addressed in a future release.
90+
91+
92+
Resolved Vulnerabilities
93+
------------------------
94+
None.
95+
96+
For the full list of changes, refer to the release change log:
97+
https://github.com/hyperledger/fabric/blob/release-2.0/CHANGELOG.md#v201

scripts/bootstrap.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#
77

88
# if version not passed in, default to latest released version
9-
VERSION=2.0.0
9+
VERSION=2.0.1
1010
# if ca version not passed in, default to latest released version
11-
CA_VERSION=1.4.4
11+
CA_VERSION=1.4.6
1212
# current version of thirdparty images (couchdb, kafka and zookeeper) released
1313
THIRDPARTY_IMAGE_VERSION=0.4.18
1414
ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m | sed 's/x86_64/amd64/g')")
@@ -23,16 +23,16 @@ printHelp() {
2323
echo "-s : bypass fabric-samples repo clone"
2424
echo "-b : bypass download of platform-specific binaries"
2525
echo
26-
echo "e.g. bootstrap.sh 2.0.0 1.4.4 0.4.18 -s"
27-
echo "would download docker images and binaries for Fabric v2.0.0 and Fabric CA v1.4.4"
26+
echo "e.g. bootstrap.sh 2.0.1 1.4.6 0.4.18 -s"
27+
echo "would download docker images and binaries for Fabric v2.0.1 and Fabric CA v1.4.6"
2828
}
2929

3030
# dockerPull() pulls docker images from fabric and chaincode repositories
3131
# note, if a docker image doesn't exist for a requested release, it will simply
3232
# be skipped, since this script doesn't terminate upon errors.
3333

3434
dockerPull() {
35-
#three_digit_image_tag is passed in, e.g. "1.4.4"
35+
#three_digit_image_tag is passed in, e.g. "1.4.6"
3636
three_digit_image_tag=$1
3737
shift
3838
#two_digit_image_tag is derived, e.g. "1.4", especially useful as a local tag for two digit references to most recent baseos, ccenv, javaenv, nodeenv patch releases

0 commit comments

Comments
 (0)