From c7d4a32bfa5c8e0181815c7e0577535311944e45 Mon Sep 17 00:00:00 2001 From: Jakub Dzikowski Date: Mon, 26 Jan 2026 11:32:47 +0100 Subject: [PATCH 1/2] Set version 2.5.0 Signed-off-by: Jakub Dzikowski --- README.md | 4 ++-- bump-version.sh | 6 +++++- docs/fablo.sh | 2 +- docs/sample.json | 2 +- docs/schema.json | 2 +- e2e-network/docker/test-04-v3-snapshot-ccaas.sh | 4 ++-- .../fablo-config-hlf2-1org-1chaincode-k8s.json.test.ts.snap | 4 ++-- ...fig-hlf2-1org-1chaincode-peer-dev-mode.json.test.ts.snap | 4 ++-- .../fablo-config-hlf2-1org-1chaincode.json.test.ts.snap | 4 ++-- ...config-hlf2-1org-2chaincode-raft-ccaas.json.test.ts.snap | 4 ++-- ...ig-hlf2-2orgs-2chaincodes-private-data.yaml.test.ts.snap | 4 ++-- ...blo-config-hlf2-2orgs-2chaincodes-raft.yaml.test.ts.snap | 4 ++-- ...ig-hlf2-3orgs-1chaincode-raft-explorer.json.test.ts.snap | 4 ++-- .../fablo-config-hlf3-1orgs-1chaincode.json.test.ts.snap | 4 ++-- ...blo-config-hlf3-2orgs-1chaincode-raft-ccaas.test.ts.snap | 4 ++-- ...fablo-config-hlf3-bft-1orgs-1chaincode.json.test.ts.snap | 4 ++-- e2e/__snapshots__/fabloCommands.test.ts.snap | 6 +++--- e2e/__snapshots__/schema.test.ts.snap | 2 +- fablo.sh | 2 +- package-lock.json | 4 ++-- package.json | 2 +- samples/fablo-config-hlf2-1org-1chaincode-k8s.json | 2 +- .../fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json | 2 +- samples/fablo-config-hlf2-1org-1chaincode.json | 2 +- .../fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml | 2 +- samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml | 2 +- .../fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json | 2 +- samples/fablo-config-hlf3-1org-2chaincode-raft-ccaas.json | 2 +- samples/fablo-config-hlf3-1orgs-1chaincode.json | 2 +- samples/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.json | 2 +- samples/fablo-config-hlf3-bft-1orgs-1chaincode.json | 2 +- samples/java-dev-mode-sample.json | 2 +- 32 files changed, 51 insertions(+), 47 deletions(-) diff --git a/README.md b/README.md index aa3410a35..726a5ac3c 100644 --- a/README.md +++ b/README.md @@ -459,7 +459,7 @@ The basic structure of Fablo config file is as follows: ```json { - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { ... }, "orgs": [ ... ], "channels": [ ... ], @@ -636,7 +636,7 @@ Generated hooks are saved in `fablo-target/hooks`. ```yaml --- -"$schema": https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json +"$schema": https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json global: fabricVersion: 2.4.2 tls: false diff --git a/bump-version.sh b/bump-version.sh index 8d3ca5e5f..f922baf2c 100755 --- a/bump-version.sh +++ b/bump-version.sh @@ -27,10 +27,14 @@ npm version "$new_version" --no-git-tag-version > /dev/null echo "done" echo -n " - FABLO_VERSION... " -perl -i -pe "s/FABLO_VERSION=.*\\n/FABLO_VERSION=${new_version}\\n/g" fablo.sh perl -i -pe "s/FABLO_VERSION=.*\\n/FABLO_VERSION=${new_version}\\n/g" e2e/__snapshots__/* echo "done" +echo -n " - fablo.sh... " +perl -i -pe "s/FABLO_VERSION=.*\\n/FABLO_VERSION=${new_version}\\n/g" fablo.sh +cp fablo.sh docs/fablo.sh +echo "done" + echo -n " - JSON schema URL... " schema_update_pattern="s/download\/[0-9-.a-zA-Z]*\/schema.json/download\/${new_version}\/schema.json/g" if [ "$include_readme" = true ]; then diff --git a/docs/fablo.sh b/docs/fablo.sh index 80cbef19c..c7f86678e 100755 --- a/docs/fablo.sh +++ b/docs/fablo.sh @@ -2,7 +2,7 @@ set -e -FABLO_VERSION=2.4.3 +FABLO_VERSION=2.5.0 FABLO_IMAGE_NAME="ghcr.io/fablo-io/fablo" FABLO_IMAGE="$FABLO_IMAGE_NAME:$FABLO_VERSION" diff --git a/docs/sample.json b/docs/sample.json index dcbb0e14f..aa912cbb8 100644 --- a/docs/sample.json +++ b/docs/sample.json @@ -1,5 +1,5 @@ { - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "2.3.2", "tls": false, diff --git a/docs/schema.json b/docs/schema.json index 37896da0a..73f38b716 100644 --- a/docs/schema.json +++ b/docs/schema.json @@ -12,7 +12,7 @@ ], "properties": { "$schema": { - "const": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json" + "const": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json" }, "global": { "$id": "#/properties/global", diff --git a/e2e-network/docker/test-04-v3-snapshot-ccaas.sh b/e2e-network/docker/test-04-v3-snapshot-ccaas.sh index 43582a182..69673e2c6 100755 --- a/e2e-network/docker/test-04-v3-snapshot-ccaas.sh +++ b/e2e-network/docker/test-04-v3-snapshot-ccaas.sh @@ -121,8 +121,8 @@ waitForChaincode "peer0.org1.example.com" "my-channel1" "chaincode1" "0.0.1" waitForContainer "ccaas_peer0.org1.example.com_my-channel1_chaincode1_0.0.1" "Bootstrap process completed" waitForContainer "ccaas_peer0.org1.example.com_my-channel2_chaincode1_0.0.1" "Bootstrap process completed" -# sleep one second to ensure the CCAAS container is ready -sleep 1 +# sleep to ensure the CCAAS container is ready +sleep 3 # check if state is kept after restoration user_token_response="$(expectCARest "$fablo_rest_org1/user/enroll" '' '{"id": "gordon", "secret": "gordonpw"}' 'token')" diff --git a/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode-k8s.json.test.ts.snap b/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode-k8s.json.test.ts.snap index 62f345894..898ada8bc 100644 --- a/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode-k8s.json.test.ts.snap +++ b/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode-k8s.json.test.ts.snap @@ -2,7 +2,7 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode-k8s.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-k8s.json.tmpdir/fablo-target/fablo-config.json from samples/fablo-config-hlf2-1org-1chaincode-k8s.json 1`] = ` "{ - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "2.4.7", "tls": false, @@ -146,7 +146,7 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode-k8s.json should create proper REPOSITORY="https://kfsoftware.github.io/hlf-helm-charts" STORAGE_CLASS=$(kubectl describe sc | grep Name | tr -s ' ' | cut -d ':' -f 2 | cut -d ' ' -f 2) -FABLO_VERSION=2.4.3 +FABLO_VERSION=2.5.0 FABLO_BUILD= FABLO_CONFIG= ORDERER_IMAGE=hyperledger/fabric-orderer diff --git a/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json.test.ts.snap b/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json.test.ts.snap index 279f1f825..7153f6fe1 100644 --- a/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json.test.ts.snap +++ b/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json.test.ts.snap @@ -2,7 +2,7 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json.tmpdir/fablo-target/fablo-config.json from samples/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json 1`] = ` "{ - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "2.5.12", "tls": false, @@ -1513,7 +1513,7 @@ fi `; exports[`samples/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json.tmpdir/fablo-target/fabric-docker/.env from samples/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json 1`] = ` -"FABLO_VERSION=2.4.3 +"FABLO_VERSION=2.5.0 FABLO_BUILD= FABLO_REST_VERSION=0.1.2 HYPERLEDGER_EXPLORER_VERSION=2.0.0 diff --git a/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode.json.test.ts.snap b/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode.json.test.ts.snap index 7f2420bdc..baef1ea6d 100644 --- a/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode.json.test.ts.snap +++ b/e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode.json.test.ts.snap @@ -2,7 +2,7 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode.json.tmpdir/fablo-target/fablo-config.json from samples/fablo-config-hlf2-1org-1chaincode.json 1`] = ` "{ - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "2.5.9", "tls": false @@ -1520,7 +1520,7 @@ fi `; exports[`samples/fablo-config-hlf2-1org-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode.json.tmpdir/fablo-target/fabric-docker/.env from samples/fablo-config-hlf2-1org-1chaincode.json 1`] = ` -"FABLO_VERSION=2.4.3 +"FABLO_VERSION=2.5.0 FABLO_BUILD= FABLO_REST_VERSION=0.1.2 HYPERLEDGER_EXPLORER_VERSION=2.0.0 diff --git a/e2e/__snapshots__/fablo-config-hlf2-1org-2chaincode-raft-ccaas.json.test.ts.snap b/e2e/__snapshots__/fablo-config-hlf2-1org-2chaincode-raft-ccaas.json.test.ts.snap index 8a90bdf25..bc6bf9fc9 100644 --- a/e2e/__snapshots__/fablo-config-hlf2-1org-2chaincode-raft-ccaas.json.test.ts.snap +++ b/e2e/__snapshots__/fablo-config-hlf2-1org-2chaincode-raft-ccaas.json.test.ts.snap @@ -2,7 +2,7 @@ exports[`samples/fablo-config-hlf3-1org-2chaincode-raft-ccaas.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-1org-2chaincode-raft-ccaas.json.tmpdir/fablo-target/fablo-config.json from samples/fablo-config-hlf3-1org-2chaincode-raft-ccaas.json 1`] = ` "{ - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "3.1.0", "tls": true @@ -1598,7 +1598,7 @@ fi `; exports[`samples/fablo-config-hlf3-1org-2chaincode-raft-ccaas.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-1org-2chaincode-raft-ccaas.json.tmpdir/fablo-target/fabric-docker/.env from samples/fablo-config-hlf3-1org-2chaincode-raft-ccaas.json 1`] = ` -"FABLO_VERSION=2.4.3 +"FABLO_VERSION=2.5.0 FABLO_BUILD= FABLO_REST_VERSION=0.1.2 HYPERLEDGER_EXPLORER_VERSION=2.0.0 diff --git a/e2e/__snapshots__/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.test.ts.snap b/e2e/__snapshots__/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.test.ts.snap index 8d0fda69c..6348c350c 100644 --- a/e2e/__snapshots__/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.test.ts.snap +++ b/e2e/__snapshots__/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.test.ts.snap @@ -2,7 +2,7 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml should create proper e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.tmpdir/fablo-target/fablo-config.yaml from samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml 1`] = ` "--- -"$schema": https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json +"$schema": https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json global: fabricVersion: 2.5.12 tls: false @@ -2200,7 +2200,7 @@ fi `; exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml should create proper e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.tmpdir/fablo-target/fabric-docker/.env from samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml 1`] = ` -"FABLO_VERSION=2.4.3 +"FABLO_VERSION=2.5.0 FABLO_BUILD= FABLO_REST_VERSION=0.1.2 HYPERLEDGER_EXPLORER_VERSION=2.0.0 diff --git a/e2e/__snapshots__/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.test.ts.snap b/e2e/__snapshots__/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.test.ts.snap index 575d3a9a3..96c40e449 100644 --- a/e2e/__snapshots__/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.test.ts.snap +++ b/e2e/__snapshots__/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.test.ts.snap @@ -2,7 +2,7 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml should create proper e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.tmpdir/fablo-target/fablo-config.yaml from samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml 1`] = ` "--- -"$schema": https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json +"$schema": https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json global: fabricVersion: 2.5.12 tls: true @@ -3569,7 +3569,7 @@ fi `; exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml should create proper e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.tmpdir/fablo-target/fabric-docker/.env from samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml 1`] = ` -"FABLO_VERSION=2.4.3 +"FABLO_VERSION=2.5.0 FABLO_BUILD= FABLO_REST_VERSION=0.1.2 HYPERLEDGER_EXPLORER_VERSION=2.0.0 diff --git a/e2e/__snapshots__/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.test.ts.snap b/e2e/__snapshots__/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.test.ts.snap index a90a9e05f..122ded60d 100644 --- a/e2e/__snapshots__/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.test.ts.snap +++ b/e2e/__snapshots__/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.test.ts.snap @@ -2,7 +2,7 @@ exports[`samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.tmpdir/fablo-target/fablo-config.json from samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json 1`] = ` "{ - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "2.3.2", "tls": true, @@ -4000,7 +4000,7 @@ fi `; exports[`samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-docker/.env from samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json 1`] = ` -"FABLO_VERSION=2.4.3 +"FABLO_VERSION=2.5.0 FABLO_BUILD= FABLO_REST_VERSION=0.1.2 HYPERLEDGER_EXPLORER_VERSION=2.0.0 diff --git a/e2e/__snapshots__/fablo-config-hlf3-1orgs-1chaincode.json.test.ts.snap b/e2e/__snapshots__/fablo-config-hlf3-1orgs-1chaincode.json.test.ts.snap index 2ac2eacdd..afe7a6fdf 100644 --- a/e2e/__snapshots__/fablo-config-hlf3-1orgs-1chaincode.json.test.ts.snap +++ b/e2e/__snapshots__/fablo-config-hlf3-1orgs-1chaincode.json.test.ts.snap @@ -2,7 +2,7 @@ exports[`samples/fablo-config-hlf3-1orgs-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-1orgs-1chaincode.json.tmpdir/fablo-target/fablo-config.json from samples/fablo-config-hlf3-1orgs-1chaincode.json 1`] = ` "{ - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "3.1.0", "tls": true, @@ -1717,7 +1717,7 @@ fi `; exports[`samples/fablo-config-hlf3-1orgs-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-docker/.env from samples/fablo-config-hlf3-1orgs-1chaincode.json 1`] = ` -"FABLO_VERSION=2.4.3 +"FABLO_VERSION=2.5.0 FABLO_BUILD= FABLO_REST_VERSION=0.1.2 HYPERLEDGER_EXPLORER_VERSION=2.0.0 diff --git a/e2e/__snapshots__/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.test.ts.snap b/e2e/__snapshots__/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.test.ts.snap index 3974d83fc..67c79c36e 100644 --- a/e2e/__snapshots__/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.test.ts.snap +++ b/e2e/__snapshots__/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.test.ts.snap @@ -2,7 +2,7 @@ exports[`samples/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.json.tmpdir/fablo-target/fablo-config.json from samples/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.json 1`] = ` "{ - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "3.1.0", "tls": true @@ -2286,7 +2286,7 @@ fi `; exports[`samples/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.json.tmpdir/fablo-target/fabric-docker/.env from samples/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.json 1`] = ` -"FABLO_VERSION=2.4.3 +"FABLO_VERSION=2.5.0 FABLO_BUILD= FABLO_REST_VERSION=0.1.2 HYPERLEDGER_EXPLORER_VERSION=2.0.0 diff --git a/e2e/__snapshots__/fablo-config-hlf3-bft-1orgs-1chaincode.json.test.ts.snap b/e2e/__snapshots__/fablo-config-hlf3-bft-1orgs-1chaincode.json.test.ts.snap index 644cf3a54..70f16d706 100644 --- a/e2e/__snapshots__/fablo-config-hlf3-bft-1orgs-1chaincode.json.test.ts.snap +++ b/e2e/__snapshots__/fablo-config-hlf3-bft-1orgs-1chaincode.json.test.ts.snap @@ -2,7 +2,7 @@ exports[`samples/fablo-config-hlf3-bft-1orgs-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json.tmpdir/fablo-target/fablo-config.json from samples/fablo-config-hlf3-bft-1orgs-1chaincode.json 1`] = ` "{ - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "3.1.0", "tls": true, @@ -1743,7 +1743,7 @@ fi `; exports[`samples/fablo-config-hlf3-bft-1orgs-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-docker/.env from samples/fablo-config-hlf3-bft-1orgs-1chaincode.json 1`] = ` -"FABLO_VERSION=2.4.3 +"FABLO_VERSION=2.5.0 FABLO_BUILD= FABLO_REST_VERSION=0.1.2 HYPERLEDGER_EXPLORER_VERSION=2.0.0 diff --git a/e2e/__snapshots__/fabloCommands.test.ts.snap b/e2e/__snapshots__/fabloCommands.test.ts.snap index a41d275c4..818dd56e5 100644 --- a/e2e/__snapshots__/fabloCommands.test.ts.snap +++ b/e2e/__snapshots__/fabloCommands.test.ts.snap @@ -3020,7 +3020,7 @@ Validation warnings count: 0 exports[`init should init simple fablo config 1`] = ` "{ - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "3.1.0", "tls": true, @@ -3086,7 +3086,7 @@ exports[`init should init simple fablo config 1`] = ` exports[`init should init simple fablo config with node chaincode 1`] = ` "{ - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "3.1.0", "tls": true, @@ -3161,7 +3161,7 @@ exports[`init should init simple fablo config with node chaincode 1`] = ` exports[`init should init simple fablo config with node chaincode and rest api 1`] = ` "{ - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "3.1.0", "tls": true, diff --git a/e2e/__snapshots__/schema.test.ts.snap b/e2e/__snapshots__/schema.test.ts.snap index a24f9d1d7..ffbd6f450 100644 --- a/e2e/__snapshots__/schema.test.ts.snap +++ b/e2e/__snapshots__/schema.test.ts.snap @@ -7,7 +7,7 @@ exports[`schema should match snapshot 1`] = ` "default": {}, "properties": { "$schema": { - "const": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "const": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", }, "chaincodes": { "$id": "#/properties/chaincodes", diff --git a/fablo.sh b/fablo.sh index 80cbef19c..c7f86678e 100755 --- a/fablo.sh +++ b/fablo.sh @@ -2,7 +2,7 @@ set -e -FABLO_VERSION=2.4.3 +FABLO_VERSION=2.5.0 FABLO_IMAGE_NAME="ghcr.io/fablo-io/fablo" FABLO_IMAGE="$FABLO_IMAGE_NAME:$FABLO_VERSION" diff --git a/package-lock.json b/package-lock.json index be8ae258d..4fd70aeea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "generator-fablo", - "version": "2.4.3", + "version": "2.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "generator-fablo", - "version": "2.4.3", + "version": "2.5.0", "license": "Apache-2.0", "dependencies": { "chalk": "^4.1.0", diff --git a/package.json b/package.json index 35332799f..ccee091f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "generator-fablo", - "version": "2.4.3", + "version": "2.5.0", "description": "Fablo is a simple tool to generate the Hyperledger Fabric blockchain network and run it on Docker. It supports RAFT and solo consensus protocols, multiple organizations and channels, chaincode installation and upgrade.", "author": "Piotr Hejwowski , Jakub Dzikowski ", "repository": { diff --git a/samples/fablo-config-hlf2-1org-1chaincode-k8s.json b/samples/fablo-config-hlf2-1org-1chaincode-k8s.json index ae7a58594..55d823c14 100644 --- a/samples/fablo-config-hlf2-1org-1chaincode-k8s.json +++ b/samples/fablo-config-hlf2-1org-1chaincode-k8s.json @@ -1,5 +1,5 @@ { - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "2.4.7", "tls": false, diff --git a/samples/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json b/samples/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json index 5cf9e4aa7..f0c70901a 100644 --- a/samples/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json +++ b/samples/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json @@ -1,5 +1,5 @@ { - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "2.5.12", "tls": false, diff --git a/samples/fablo-config-hlf2-1org-1chaincode.json b/samples/fablo-config-hlf2-1org-1chaincode.json index 4170f8055..358746b98 100644 --- a/samples/fablo-config-hlf2-1org-1chaincode.json +++ b/samples/fablo-config-hlf2-1org-1chaincode.json @@ -1,5 +1,5 @@ { - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "2.5.9", "tls": false diff --git a/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml b/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml index 6d6e945ed..e55e9afe8 100644 --- a/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml +++ b/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml @@ -1,5 +1,5 @@ --- -"$schema": https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json +"$schema": https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json global: fabricVersion: 2.5.12 tls: false diff --git a/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml b/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml index c0cd9741e..b95f4c38c 100644 --- a/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml +++ b/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml @@ -1,5 +1,5 @@ --- -"$schema": https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json +"$schema": https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json global: fabricVersion: 2.5.12 tls: true diff --git a/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json b/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json index f544f4018..9dcad8a42 100644 --- a/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json +++ b/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json @@ -1,5 +1,5 @@ { - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "2.3.2", "tls": true, diff --git a/samples/fablo-config-hlf3-1org-2chaincode-raft-ccaas.json b/samples/fablo-config-hlf3-1org-2chaincode-raft-ccaas.json index 784d54456..b6dd1c9cc 100644 --- a/samples/fablo-config-hlf3-1org-2chaincode-raft-ccaas.json +++ b/samples/fablo-config-hlf3-1org-2chaincode-raft-ccaas.json @@ -1,5 +1,5 @@ { - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "3.1.0", "tls": true diff --git a/samples/fablo-config-hlf3-1orgs-1chaincode.json b/samples/fablo-config-hlf3-1orgs-1chaincode.json index c77d5d3f9..4d5caf6a2 100644 --- a/samples/fablo-config-hlf3-1orgs-1chaincode.json +++ b/samples/fablo-config-hlf3-1orgs-1chaincode.json @@ -1,5 +1,5 @@ { - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "3.1.0", "tls": true, diff --git a/samples/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.json b/samples/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.json index 4a8f5e714..cc0b7f2db 100644 --- a/samples/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.json +++ b/samples/fablo-config-hlf3-2orgs-1chaincode-raft-ccaas.json @@ -1,5 +1,5 @@ { - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "3.1.0", "tls": true diff --git a/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json b/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json index 00559d68b..45cb625f0 100644 --- a/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json +++ b/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json @@ -1,5 +1,5 @@ { - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "3.1.0", "tls": true, diff --git a/samples/java-dev-mode-sample.json b/samples/java-dev-mode-sample.json index 9305f0d80..c4b9add03 100644 --- a/samples/java-dev-mode-sample.json +++ b/samples/java-dev-mode-sample.json @@ -1,5 +1,5 @@ { - "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.4.3/schema.json", + "$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.5.0/schema.json", "global": { "fabricVersion": "2.4.3", "tls": false, From b7fc4bd9855e089a07d1950cd34a4e45dfb1fdd2 Mon Sep 17 00:00:00 2001 From: Jakub Dzikowski Date: Mon, 26 Jan 2026 11:37:38 +0100 Subject: [PATCH 2/2] Update changelog and supported features Signed-off-by: Jakub Dzikowski --- CHANGELOG.md | 16 +++++++++++++--- SUPPORTED_FEATURES.md | 4 ++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 375fa2656..04e172d54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,20 @@ -## 2.4.4 +## 2.5.0 + +### Features +* Add MySQL database support for CA [#618](https://github.com/hyperledger-labs/fablo/pull/618) +* Quick start [#645](https://github.com/hyperledger-labs/fablo/pull/645) ### Bug Fixes * Get chaincode container name by peer address instead of index [#649](https://github.com/hyperledger-labs/fablo/pull/649) +* Empty chaincode directory mount [#651](https://github.com/hyperledger-labs/fablo/pull/651) +* Show duplicated chaincodes in mermaid [#639](https://github.com/hyperledger-labs/fablo/pull/639) +* Quick installation URL fix [#646](https://github.com/hyperledger-labs/fablo/pull/646) -### Documentation -* Quick start [#645](https://github.com/hyperledger-labs/fablo/pull/645) [#646](https://github.com/hyperledger-labs/fablo/pull/646) +### Testing +* Fix flaky snapshot ccaas test [#648](https://github.com/hyperledger-labs/fablo/pull/648) + +### Chore & Maintenance +* Bump lodash from 4.17.21 to 4.17.23 [#650](https://github.com/hyperledger-labs/fablo/pull/650) ## 2.4.3 diff --git a/SUPPORTED_FEATURES.md b/SUPPORTED_FEATURES.md index 80fa1b5cc..625f981c9 100644 --- a/SUPPORTED_FEATURES.md +++ b/SUPPORTED_FEATURES.md @@ -16,8 +16,8 @@ This document provides an overview of Fablo features. The table below tracks fea | Peer DB - LevelDB | ✓ | ✓ | ✓ | [01_v3](/e2e-network/docker/test-01-v3-simple.sh), [05_v3](/e2e-network/docker/test-05-v3.sh), [06_v3](/e2e-network/docker/test-06-v3-bft.sh) | | | Peer DB - CouchDB | ✓ | ✓ | ✓ | [04_v3](/e2e-network/docker/test-04-v3-snapshot-ccaas.sh) | | | CA DB - SQLite | ✓ | ✓ | ✓ | [01_v3](/e2e-network/docker/test-01-v3-simple.sh), [05_v3](/e2e-network/docker/test-05-v3.sh), [06_v3](/e2e-network/docker/test-06-v3-bft.sh) | | -| CA DB - Postgres | ✓ | ✓ | ✓ | [04_v3](/e2e-network/docker/test-04-v3-snapshot-ccaas.sh) | | -| CA DB - MySQL | ✕ | ✕ | ✓ | | [#561](https://github.com/hyperledger-labs/fablo/issues/561) | +| CA DB - Postgres | ✓ | ✓ | ✓ | | | +| CA DB - MySQL | ✓ | ✓ | ✓ | [04_v3](/e2e-network/docker/test-04-v3-snapshot-ccaas.sh) | | |
**CHANNELS** | | | | | | | Channel query scripts | ✓ | ✓ | | [01_v3](/e2e-network/docker/test-01-v3-simple.sh), [05_v3](/e2e-network/docker/test-05-v3.sh), [06_v3](/e2e-network/docker/test-06-v3-bft.sh) | | |
**CHAINCODES** | | | | | |