File tree Expand file tree Collapse file tree 11 files changed +96
-11
lines changed
fabric-chaincode-example-gradle
fabric-chaincode-example-maven
fabric-chaincode-example-sacc
fabric-chaincode-example-sbe Expand file tree Collapse file tree 11 files changed +96
-11
lines changed Original file line number Diff line number Diff line change 1- ## v 1.4.2
1+ ## v1.4.3
2+ Wed 31 Jul 11:20:26 BST 2019
3+
4+ * [ 3461258] ( https://github.com/hyperledger/fabric-chaincode-java/commit/3461258 ) [ FAB-16136] ( https://jira.hyperledger.org/browse/FAB-16136 ) Do not run tests in chaincode container
5+ * [ 8ae8b6f] ( https://github.com/hyperledger/fabric-chaincode-java/commit/8ae8b6f ) Prepare for next release 1.4.3-SNAPSHOT
6+ * [ 601eade] ( https://github.com/hyperledger/fabric-chaincode-java/commit/601eade ) [ FAB-16091] ( https://jira.hyperledger.org/browse/FAB-16091 ) Handle invalid contract name
7+ * [ 614b14b] ( https://github.com/hyperledger/fabric-chaincode-java/commit/614b14b ) [ FAB-15929] ( https://jira.hyperledger.org/browse/FAB-15929 ) Add getPrivateDataHash support
8+
9+ ## v1.4.2
210Thu 18 Jul 11:06:09 BST 2019
311
412* [ beed2e6] ( https://github.com/hyperledger/fabric-chaincode-java/commit/beed2e6 ) [ FAB-16003] ( https://jira.hyperledger.org/browse/FAB-16003 ) 1.4.2 Java Release
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ subprojects {
2222 apply plugin : ' maven'
2323
2424 group = ' org.hyperledger.fabric-chaincode-java'
25- version = ' 1.4.3-SNAPSHOT '
25+ version = ' 1.4.3'
2626
2727 sourceCompatibility = 1.8
2828 targetCompatibility = 1.8
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ repositories {
1515}
1616
1717dependencies {
18- compile group : ' org.hyperledger.fabric-chaincode-java' , name : ' fabric-chaincode-shim' , version : ' 1.4.3-SNAPSHOT '
18+ compile group : ' org.hyperledger.fabric-chaincode-java' , name : ' fabric-chaincode-shim' , version : ' 1.4.3'
1919 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
2020}
2121
Original file line number Diff line number Diff line change 1212 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
1313
1414 <!-- fabric-chaincode-java -->
15- <fabric-chaincode-java .version>1.4.3-SNAPSHOT </fabric-chaincode-java .version>
15+ <fabric-chaincode-java .version>1.4.3</fabric-chaincode-java .version>
1616
1717 <!-- Logging -->
1818 <logback .version>1.0.13</logback .version>
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ repositories {
1414}
1515
1616dependencies {
17- compile group : ' org.hyperledger.fabric-chaincode-java' , name : ' fabric-chaincode-shim' , version : ' 1.4.3-SNAPSHOT '
17+ compile group : ' org.hyperledger.fabric-chaincode-java' , name : ' fabric-chaincode-shim' , version : ' 1.4.3'
1818 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
1919}
2020
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ repositories {
1414}
1515
1616dependencies {
17- compile group : ' org.hyperledger.fabric-chaincode-java' , name : ' fabric-chaincode-shim' , version : ' 1.4.3-SNAPSHOT '
17+ compile group : ' org.hyperledger.fabric-chaincode-java' , name : ' fabric-chaincode-shim' , version : ' 1.4.3'
1818 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
1919}
2020
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ repositories {
2020}
2121
2222dependencies {
23- compile group : ' org.hyperledger.fabric-chaincode-java' , name : ' fabric-chaincode-shim' , version : ' 1.4.3-SNAPSHOT '
23+ compile group : ' org.hyperledger.fabric-chaincode-java' , name : ' fabric-chaincode-shim' , version : ' 1.4.3'
2424 compile group : ' org.json' , name : ' json' , version : ' 20180813'
2525 testImplementation ' org.junit.jupiter:junit-jupiter:5.4.2'
2626 testImplementation ' org.assertj:assertj-core:3.11.1'
Original file line number Diff line number Diff line change 1212 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
1313
1414 <!-- fabric-chaincode-java -->
15- <fabric-chaincode-java .version>1.4.3-SNAPSHOT </fabric-chaincode-java .version>
15+ <fabric-chaincode-java .version>1.4.3</fabric-chaincode-java .version>
1616
1717 <!-- Logging -->
1818 <logback .version>1.0.13</logback .version>
Original file line number Diff line number Diff line change 1+ v1.4.3 July 31, 2019
2+ ----------------------------
3+
4+ Release Notes
5+ -------------
6+ This is a bug fix release for some contract issue on top the previous v1.4.2 release.
7+
8+ When chaincode is rebuilt when building the docker container, the tests phases will not
9+ be run; this took noteable extra time for the more complex contracts.
10+
11+ Future releases will build on this preview; please experiement with this and provide feedback.
12+ (RocketChat and JIRA)
13+
14+ For more information on the Contract Programming Model please
15+ see https://hyperledger-fabric.readthedocs.io/en/developapps/developing_applications.html
16+
17+
18+ baseimage version: 0.4.15
19+ Java version: openjdk version "1.8.0_181"
20+
21+ Known Vulnerabilities
22+ ---------------------
23+ none
24+
25+ Resolved Vulnerabilities
26+ ------------------------
27+ none
28+
29+ Known Issues & Workarounds
30+ --------------------------
31+ none
32+ Change Log
33+ ----------
34+ https://github.com/hyperledger/fabric-chaincode-java/blob/release-1.4/CHANGELOG.md#v143
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # SPDX-License-Identifier: Apache-2.0
4+ #
5+
6+ # Exit on first error, print all commands.
7+ set -e
8+ set -o pipefail
9+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd ) "
10+
11+ # release name
12+ RELEASE=release-1.4
13+
14+ function abort {
15+ echo " !! Exiting shell script"
16+ echo " !!" " $1 "
17+ exit -1
18+ }
19+
20+ VERSION=$( jq ' .version' ${DIR} /package.json | sed -r " s/\" ([0-9]?[0-9]\.[0-9]?[0-9]\.[0-9]?[0-9]).*/\1/" )
21+
22+ echo New version string will be v${VERSION}
23+
24+ # do the release notes for this new version exist?
25+ if [[ -f " ${DIR} /release_notes/v${VERSION} .txt" ]]; then
26+ echo " Release notes exist, hope they make sense!"
27+ else
28+ abort " No releases notes under the file ${DIR} /release_notes/v${NEW_VERSION} .txt exist" ;
29+ fi
30+
31+
32+
33+
34+ git checkout " ${RELEASE} "
35+ git pull
36+ git tag -a " v${VERSION} " ` git log -n 1 --pretty=oneline | head -c7` -F release_notes/" v${VERSION} " .txt
37+ git push origin v${VERSION} HEAD:refs/heads/${RELEASE}
You can’t perform that action at this time.
0 commit comments