diff --git a/CHANGELOG.md b/CHANGELOG.md index 280457e16..47dc9ad7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,61 @@ +## 0.6.0 (Wed 1 May 11:13:41 BST 2024) + +### Notable +* **Security Fix**: Address issue in Prometheus monitor that allows the loading and running of an arbitrary binary on a system running a caliper worker +* **Feature**: Official support for Node 18 and Node 20 for users and contributors (previous versions of node are now unsupported) +* **Breaking**: Support for Fisco-BCOS has been removed + +### Commits + +* [0877b16](https://github.com/hyperledger/caliper/commit/0877b16) Removed unused dependencies (#1544) +* [62c7593](https://github.com/hyperledger/caliper/commit/62c7593) Remove collection of node gc stats in prometheus (#1545) +* [25ee0f9](https://github.com/hyperledger/caliper/commit/25ee0f9) Remove Caliper-gui-server packages and Caliper-gui-dashboard packages #1538 (#1540) +* [3fafbf5](https://github.com/hyperledger/caliper/commit/3fafbf5) Update PSWG whitepaper link in README (#1524) +* [16d4983](https://github.com/hyperledger/caliper/commit/16d4983) Update the versions of fabric sdks (#1519) +* [4bdb98c](https://github.com/hyperledger/caliper/commit/4bdb98c) downgrade npm on publish as temp fix (#1523) +* [7477c70](https://github.com/hyperledger/caliper/commit/7477c70) Temporarily revert publish to using node 16.x to fix broken publish (#1520) +* [f24f777](https://github.com/hyperledger/caliper/commit/f24f777) test node 18/20, minimum version 18.19.0 (#1517) +* [31b978f](https://github.com/hyperledger/caliper/commit/31b978f) Remove fisco-bcos (#1515) +* [26da2f2](https://github.com/hyperledger/caliper/commit/26da2f2) Terminate workers if caliper manager is terminated prematurely (#1514) +* [8cef10c](https://github.com/hyperledger/caliper/commit/8cef10c) docker monitor remote monitoring bugfix (#1499) +* [943ab2a](https://github.com/hyperledger/caliper/commit/943ab2a) Update go chaincode dependencies in integration tests (#1485) +* [7c9c5d2](https://github.com/hyperledger/caliper/commit/7c9c5d2) Use go chaincode in integration tests (#1484) +* [35dcc86](https://github.com/hyperledger/caliper/commit/35dcc86) Add directory structure and introduction for the development documentation (#1400) +* [91870b7](https://github.com/hyperledger/caliper/commit/91870b7) Update cache action (#1469) +* [dc1ce93](https://github.com/hyperledger/caliper/commit/dc1ce93) Fix npmignore for report html (#1466) +* [4a64acf](https://github.com/hyperledger/caliper/commit/4a64acf) Add CODEOWNERS file (#1463) +* [394357f](https://github.com/hyperledger/caliper/commit/394357f) Move inactive maintainers to emeritus status (#1462) +* [cc3edeb](https://github.com/hyperledger/caliper/commit/cc3edeb) Bump moment-timezone from 0.5.34 to 0.5.38 (#1461) +* [2d58e09](https://github.com/hyperledger/caliper/commit/2d58e09) Add TxObserver for Prometheus manager (#1448) +* [2097812](https://github.com/hyperledger/caliper/commit/2097812) Fix integration test CI trigger (#1458) +* [e504bee](https://github.com/hyperledger/caliper/commit/e504bee) Revert "Add Node 18 to CI (#1455)" (#1460) +* [1eade51](https://github.com/hyperledger/caliper/commit/1eade51) Fix calculation and doc comment in prometheus observer (#1456) +* [85cf073](https://github.com/hyperledger/caliper/commit/85cf073) Add Node 18 to CI (#1455) +* [69000d4](https://github.com/hyperledger/caliper/commit/69000d4) Add VSCode extension skeleton and runtime config schema (#1404) +* [64f3868](https://github.com/hyperledger/caliper/commit/64f3868) Upload coverage reports on merge (#1433) +* [2cdd46d](https://github.com/hyperledger/caliper/commit/2cdd46d) Add coverage report workflow (#1428) +* [c648fa9](https://github.com/hyperledger/caliper/commit/c648fa9) Distinguish different workers in Prometheus PushGateway (#1427) +* [2efba52](https://github.com/hyperledger/caliper/commit/2efba52) Revert "Add workflow for gh-pages branch (#1423)" (#1425) +* [954eba5](https://github.com/hyperledger/caliper/commit/954eba5) Add workflow for gh-pages branch (#1423) +* [e476ba7](https://github.com/hyperledger/caliper/commit/e476ba7) Execute integration tests based on changes (#1421) +* [acb518e](https://github.com/hyperledger/caliper/commit/acb518e) Cache node modules across CI workflows (#1406) +* [9ecfb02](https://github.com/hyperledger/caliper/commit/9ecfb02) Migrate generator tests to test network (#1414) +* [c29fc0f](https://github.com/hyperledger/caliper/commit/c29fc0f) Migrate to npm workspaces (#1394) +* [dd5c85c](https://github.com/hyperledger/caliper/commit/dd5c85c) update fabric bindings (#1412) +* [78e4e84](https://github.com/hyperledger/caliper/commit/78e4e84) Remove channel and chaincode ops from Fabric v1 (#1411) +* [5025d20](https://github.com/hyperledger/caliper/commit/5025d20) Migrate Fabric integration tests to test network (#1410) +* [8a792e0](https://github.com/hyperledger/caliper/commit/8a792e0) Updated fabric bindings: fabric-network@2.2.12 -> 2.2.13, @hyperledger/fabric-gateway@1.0.1 -> 1.1.0 (#1402) +* [04a1154](https://github.com/hyperledger/caliper/commit/04a1154) Add DCI linting to CI of PRs (#1393) +* [f1634b5](https://github.com/hyperledger/caliper/commit/f1634b5) Fix #536: Minor changes in the error messages of '@hyperledger/caliper-fisco-bcos' package (#1383) +* [158a367](https://github.com/hyperledger/caliper/commit/158a367) change the generator binding from 2.2 to 1.4 (#1391) +* [3d22571](https://github.com/hyperledger/caliper/commit/3d22571) Pass secrets to CI workflow for publish (#1390) +* [e7a5a17](https://github.com/hyperledger/caliper/commit/e7a5a17) Port the publish workflow to GitHub Actions (#1384) +* [ae23774](https://github.com/hyperledger/caliper/commit/ae23774) Fix #536 Update error messages for '@hyperledger/caliper-ethereum' package (#1363) +* [7ca519b](https://github.com/hyperledger/caliper/commit/7ca519b) Disable unit and integration tests in Azure Pipelines (#1382) +* [2a3839f](https://github.com/hyperledger/caliper/commit/2a3839f) Port the integration test workflow to GitHub Actions (#1376) +* [5b96845](https://github.com/hyperledger/caliper/commit/5b96845) Port the unit test workflow to GitHub Actions (#1364) +* [0c1e973](https://github.com/hyperledger/caliper/commit/0c1e973) Fix #536 Update error messages for '@hyperledger/caliper-cli' package (#1348) + ## 0.5.0 (Wed May 18 2022) This release of caliper adds new capabilities and addresses lots of bugs. Note that Hyperledger Fabric 1.4 SUT binding is still available in this release however it now is _deprecated_. diff --git a/MAINTAINERS.md b/MAINTAINERS.md index c62a2077e..8ce031cfc 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -39,7 +39,7 @@ The following is a list of packages and codeowners with familiarity in the area | Caliper cli | A Klenik, D Kelsey | | Caliper core | A Klenik, D Kelsey | | Caliper publish | A Klenik, D Kelsey | -| Caliper ethereum | | +| Caliper ethereum | A Klenik | | Caliper fabric | A Klenik, D Kelsey | | Caliper generator | D Kelsey | diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md new file mode 100644 index 000000000..be9071f06 --- /dev/null +++ b/RELEASE_PROCESS.md @@ -0,0 +1,16 @@ +# Release Process + +## Code +1. Generate the change log using the script changelog.sh. The script must be run from the repo root directory (ie ./scripts/changelog.sh ) +2. Update all package.json files to define the new version, eg 0.7.0 and regen package-lock.json (PR 1) +3. create a release on Github with the changelog details and mark it pre-release +4. Update all the package.json files to define a new unstable version, eg 0.7.1-unstable and regen package-lock.json (PR 2) + +## Docs +1. from the gh-pages branch, edit the docs in vNext to point to the next caliper versions (eg 0.7.0 and 0.7.1-unstable etc) +2. update docs.json with the new caliper version and run the script bump-docs.js (PR 3) + +## Caliper benchmarks +1. Create a release in caliper-benchmarks corresponding to the new release, eg 0.7.0 + + diff --git a/package-lock.json b/package-lock.json index 805cc573f..bcc33f044 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "caliper", - "version": "0.5.1-unstable", + "version": "0.6.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "caliper", - "version": "0.5.1-unstable", + "version": "0.6.0", "license": "Apache-2.0", "workspaces": [ "packages/caliper-core", @@ -15894,12 +15894,12 @@ }, "packages/caliper-cli": { "name": "@hyperledger/caliper-cli", - "version": "0.5.1-unstable", + "version": "0.6.0", "license": "Apache-2.0", "dependencies": { - "@hyperledger/caliper-core": "0.5.1-unstable", - "@hyperledger/caliper-ethereum": "0.5.1-unstable", - "@hyperledger/caliper-fabric": "0.5.1-unstable", + "@hyperledger/caliper-core": "0.6.0", + "@hyperledger/caliper-ethereum": "0.6.0", + "@hyperledger/caliper-fabric": "0.6.0", "yargs": "15.3.1" }, "bin": { @@ -16074,7 +16074,7 @@ }, "packages/caliper-core": { "name": "@hyperledger/caliper-core", - "version": "0.5.1-unstable", + "version": "0.6.0", "license": "Apache-2.0", "dependencies": { "color-scheme": "^1.0.1", @@ -16128,10 +16128,10 @@ }, "packages/caliper-ethereum": { "name": "@hyperledger/caliper-ethereum", - "version": "0.5.1-unstable", + "version": "0.6.0", "license": "Apache-2.0", "dependencies": { - "@hyperledger/caliper-core": "0.5.1-unstable", + "@hyperledger/caliper-core": "0.6.0", "ethereumjs-wallet": "^0.6.3", "web3-eea": "0.10.0" }, @@ -16148,10 +16148,10 @@ }, "packages/caliper-fabric": { "name": "@hyperledger/caliper-fabric", - "version": "0.5.1-unstable", + "version": "0.6.0", "license": "Apache-2.0", "dependencies": { - "@hyperledger/caliper-core": "0.5.1-unstable", + "@hyperledger/caliper-core": "0.6.0", "semver": "7.1.1" }, "devDependencies": { @@ -16181,7 +16181,7 @@ } }, "packages/caliper-publish": { - "version": "0.5.1-unstable", + "version": "0.6.0", "license": "Apache-2.0", "dependencies": { "yargs": "15.3.1" @@ -16356,13 +16356,13 @@ } }, "packages/caliper-tests-integration": { - "version": "0.5.1-unstable", + "version": "0.6.0", "license": "Apache-2.0", "dependencies": { - "@hyperledger/caliper-cli": "0.5.1-unstable", - "@hyperledger/caliper-core": "0.5.1-unstable", - "@hyperledger/caliper-ethereum": "0.5.1-unstable", - "@hyperledger/caliper-fabric": "0.5.1-unstable", + "@hyperledger/caliper-cli": "0.6.0", + "@hyperledger/caliper-core": "0.6.0", + "@hyperledger/caliper-ethereum": "0.6.0", + "@hyperledger/caliper-fabric": "0.6.0", "yeoman-generator": "4.7.2", "yosay": "^2.0.1" }, @@ -16608,7 +16608,7 @@ }, "packages/generator-caliper": { "name": "@hyperledger/generator-caliper", - "version": "0.5.1-unstable", + "version": "0.6.0", "license": "Apache-2.0", "dependencies": { "camelcase": "6.0.0", @@ -17017,9 +17017,9 @@ "@hyperledger/caliper-cli": { "version": "file:packages/caliper-cli", "requires": { - "@hyperledger/caliper-core": "0.5.1-unstable", - "@hyperledger/caliper-ethereum": "0.5.1-unstable", - "@hyperledger/caliper-fabric": "0.5.1-unstable", + "@hyperledger/caliper-core": "0.6.0", + "@hyperledger/caliper-ethereum": "0.6.0", + "@hyperledger/caliper-fabric": "0.6.0", "eslint": "^5.16.0", "license-check-and-add": "2.3.6", "mocha": "3.4.2", @@ -17198,7 +17198,7 @@ "@hyperledger/caliper-ethereum": { "version": "file:packages/caliper-ethereum", "requires": { - "@hyperledger/caliper-core": "0.5.1-unstable", + "@hyperledger/caliper-core": "0.6.0", "eslint": "^5.16.0", "ethereumjs-wallet": "^0.6.3", "license-check-and-add": "2.3.6", @@ -17210,7 +17210,7 @@ "@hyperledger/caliper-fabric": { "version": "file:packages/caliper-fabric", "requires": { - "@hyperledger/caliper-core": "0.5.1-unstable", + "@hyperledger/caliper-core": "0.6.0", "chai": "^3.5.0", "chai-as-promised": "^7.1.1", "eslint": "^5.16.0", @@ -18830,10 +18830,10 @@ "caliper-tests-integration": { "version": "file:packages/caliper-tests-integration", "requires": { - "@hyperledger/caliper-cli": "0.5.1-unstable", - "@hyperledger/caliper-core": "0.5.1-unstable", - "@hyperledger/caliper-ethereum": "0.5.1-unstable", - "@hyperledger/caliper-fabric": "0.5.1-unstable", + "@hyperledger/caliper-cli": "0.6.0", + "@hyperledger/caliper-core": "0.6.0", + "@hyperledger/caliper-ethereum": "0.6.0", + "@hyperledger/caliper-fabric": "0.6.0", "license-check-and-add": "2.3.6", "yeoman-generator": "4.7.2", "yosay": "^2.0.1" diff --git a/package.json b/package.json index 29af59378..0071ba5d4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "caliper", "description": "Performance benchmarking for Hyperledger blockchain technologies.", - "version": "0.5.1-unstable", + "version": "0.6.0", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper" diff --git a/packages/caliper-cli/package.json b/packages/caliper-cli/package.json index a0a417e5a..b9d24cecd 100644 --- a/packages/caliper-cli/package.json +++ b/packages/caliper-cli/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-cli", "description": "Hyperledger Caliper CLI, for convenience running of a performance benchmark to test blockchain technologies", - "version": "0.5.1-unstable", + "version": "0.6.0", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper", @@ -26,9 +26,9 @@ "npm": ">=6.14.16" }, "dependencies": { - "@hyperledger/caliper-core": "0.5.1-unstable", - "@hyperledger/caliper-fabric": "0.5.1-unstable", - "@hyperledger/caliper-ethereum": "0.5.1-unstable", + "@hyperledger/caliper-core": "0.6.0", + "@hyperledger/caliper-fabric": "0.6.0", + "@hyperledger/caliper-ethereum": "0.6.0", "yargs": "15.3.1" }, "devDependencies": { diff --git a/packages/caliper-core/package.json b/packages/caliper-core/package.json index 7d4be39bb..861f601ec 100644 --- a/packages/caliper-core/package.json +++ b/packages/caliper-core/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-core", "description": "Core Hyperledger Caliper module, used for running performance benchmarks that interact with blockchain technologies", - "version": "0.5.1-unstable", + "version": "0.6.0", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper", diff --git a/packages/caliper-ethereum/package.json b/packages/caliper-ethereum/package.json index 5e9f71c5c..128902406 100644 --- a/packages/caliper-ethereum/package.json +++ b/packages/caliper-ethereum/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-ethereum", "description": "Ethereum connector for Caliper, enabling the running of performance benchmarks that interact with Ethereum", - "version": "0.5.1-unstable", + "version": "0.6.0", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper", @@ -22,7 +22,7 @@ "npm": ">=6.14.16" }, "dependencies": { - "@hyperledger/caliper-core": "0.5.1-unstable", + "@hyperledger/caliper-core": "0.6.0", "ethereumjs-wallet": "^0.6.3", "web3-eea": "0.10.0" }, diff --git a/packages/caliper-fabric/package.json b/packages/caliper-fabric/package.json index 4299c873e..cde09152b 100644 --- a/packages/caliper-fabric/package.json +++ b/packages/caliper-fabric/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-fabric", "description": "Hyperledger Fabric connector for Caliper, enabling the running of performance benchmarks that interact with Fabric", - "version": "0.5.1-unstable", + "version": "0.6.0", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper", @@ -22,7 +22,7 @@ "npm": ">=6.14.16" }, "dependencies": { - "@hyperledger/caliper-core": "0.5.1-unstable", + "@hyperledger/caliper-core": "0.6.0", "semver": "7.1.1" }, "devDependencies": { diff --git a/packages/caliper-publish/package.json b/packages/caliper-publish/package.json index 57322694e..8be1b6b16 100644 --- a/packages/caliper-publish/package.json +++ b/packages/caliper-publish/package.json @@ -1,7 +1,7 @@ { "name": "caliper-publish", "description": "Hyperledger Caliper internal CLI for publishing packages", - "version": "0.5.1-unstable", + "version": "0.6.0", "private": true, "repository": { "type": "git", diff --git a/packages/caliper-tests-integration/package.json b/packages/caliper-tests-integration/package.json index d1fab0689..ba0f9809c 100644 --- a/packages/caliper-tests-integration/package.json +++ b/packages/caliper-tests-integration/package.json @@ -1,6 +1,6 @@ { "name": "caliper-tests-integration", - "version": "0.5.1-unstable", + "version": "0.6.0", "private": true, "description": "Integration tests for Hyperledger Caliper", "engines": { @@ -35,10 +35,10 @@ "license-check-and-add": "2.3.6" }, "dependencies": { - "@hyperledger/caliper-cli": "0.5.1-unstable", - "@hyperledger/caliper-core": "0.5.1-unstable", - "@hyperledger/caliper-ethereum": "0.5.1-unstable", - "@hyperledger/caliper-fabric": "0.5.1-unstable", + "@hyperledger/caliper-cli": "0.6.0", + "@hyperledger/caliper-core": "0.6.0", + "@hyperledger/caliper-ethereum": "0.6.0", + "@hyperledger/caliper-fabric": "0.6.0", "yeoman-generator": "4.7.2", "yosay": "^2.0.1" }, diff --git a/packages/caliper-vscode-extension/package.json b/packages/caliper-vscode-extension/package.json index 7e5914f8f..0ed92d5f4 100644 --- a/packages/caliper-vscode-extension/package.json +++ b/packages/caliper-vscode-extension/package.json @@ -2,7 +2,7 @@ "name": "hyperledger-caliper-extension", "displayName": "Hyperledger Caliper Integration", "description": "", - "version": "0.5.1-unstable", + "version": "0.6.0", "engines": { "vscode": "^1.68.0" }, diff --git a/packages/generator-caliper/package.json b/packages/generator-caliper/package.json index cf52e3797..ad0e53def 100644 --- a/packages/generator-caliper/package.json +++ b/packages/generator-caliper/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/generator-caliper", "description": "Yeoman generator for Hyperledger Caliper", - "version": "0.5.1-unstable", + "version": "0.6.0", "author": "Lynn Muswere", "homepage": "https://hyperledger.github.io/caliper/", "repository": {