github.com/Hnampk/fabric@v2.1.1+incompatible/release_notes/v2.1.1.md (about) 1 v2.1.1 Release Notes - May XX, 2020 2 =================================== 3 4 Fixes 5 ----- 6 7 **FAB-17778: Fix policy support of multiple signatures from single organization** 8 9 Fix de-duplication logic to ensure sufficient number of signatures are received to satisfy 10 policies that require multiple signatures from the same organization. 11 This problem is rare since most users have policies that require signatures from different 12 organizations, not policies that require multiple signatures from the same organization. 13 14 **FAB-17722: Validate HSM session and get new if invalid** 15 16 Previously the pkcs11 code was set to have a session cache and reuse sessions 17 if available in cache. If a session went bad (due to connection issues with HSM), 18 the session was not evicted from cache and would be reused. 19 If all sessions went bad, the client would never be able to recover and keep using bad sessions. 20 21 **FAB-17728: Add delay to pkcs11 create session loop** 22 23 Previously there was no backoff when attempting to create a new session if one was not 24 available in the HSM session cache. This fix introduces a hardcoded backoff of 100ms 25 after each attempt up to 10. 26 27 **FAB-17784: Clarify error message when legacy chaincode install fails during build** 28 29 When a legacy chaincode install fails due to an error building the 30 chaincode, the chaincode will remain installed on the peer. This change clarifies 31 the error message so that users understand the behavior: 32 "chaincode installed to peer but could not build chaincode". 33 34 **FAB-17844: Copy symlinks as-is in external builder output** 35 36 Previously, the external builder code did es not check for symlinks in build output 37 when copying them. This resulted in the resolved files being copied as files 38 instead of symlinks. This commit changes the external builder code so that 39 it tests for symlinks, and copies them as symlinks instead of copying them as 40 files into the destination directory. 41 42 **External builder switch from os.Stat to exec.LookPath** 43 44 Replace call to os.Stat to check for the presence of the bin/release script with exec.LookPath. 45 The LookPath function, when provided with a relative path, will look for the presence of the 46 executable and determine if it's executable. On non-unix platforms, it will also handle looking 47 for executable suffixes as appropriate. 48 49 **FAB-17907: New chaincode lifecycle should ignore previous build failure during install** 50 51 When a chaincode build previously failed while installing the chaincode, the new lifecycle 52 would not attempt to rebuild the chaincode on the next install attempt, rather the prior 53 build error message was returned to the client. This change ensures that the subsequent 54 install attempt rebuilds the chaincode. 55 56 **FAB-17733: Validate TLS certs during raft consenter addition** 57 58 Validate the client/server TLS certs against the orderer organizations while adding a raft consenter. 59 60 61 For the full list of changes, refer to the release change log: 62 https://github.com/hyperledger/fabric/blob/release-2.1/CHANGELOG.md#v211