Releases: hyperledger-caliper/caliper
v0.7.1
✨This release fixes the broken 0.7.0 release
What's Changed
- Fix dev container by @davidkel in #1722
- chore: Bump to 0.8.0-unstable version by @aklenik in #1721
- chore: update CODEOWNERS by @ryjones in #1725
- Caliper 0.7.0 is very broken by @davidkel in #1729
- [Release 0.7.1] Publish Official Release by @davidkel in #1730
Full Changelog: v0.7.0...v0.7.1
v0.7.0
Notable
New features
✨ Updated published packages to Node.JS v22
✨ Updated NPM publishing method to trusted publishing
✨ Added dev-container definition to repo
✨ Migrated documentation site to LFDT template
Breaking
💥 Removed Ethereum and Besu support
💥 Removed Fabric v1.x support
Complete list
What's Changed
- Bump to 0.6.1-unstable by @davidkel in #1565
caliper-core: add tests forMessageclasses by @EshaanAgg in #1561- remove vscode extension by @davidkel in #1569
- Address use/reference of startingTps where not correct by @davidkel in #1578
- Add Support for Org targeting to peer gateway by @davidkel in #1582
- Address test flake due to timing by @davidkel in #1595
- Add fixed-load rate controller to calliper generator by @duckling69 in #1592
- fix: #1596 restructure all test folders to match the library they test so it is … by @tunedev in #1599
- Bump test libraries to latest by @tunedev in #1598
- Update Marbles to match fabric 2.5 by @davidkel in #1608
- update semver and fabric gateway versions by @davidkel in #1612
- Bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /packages/caliper-tests-integration/fabric_docker_distributed_tests/src/marbles/go by @dependabot[bot] in #1610
- Bump golang.org/x/net from 0.0.0-20220708220712-1185a9018129 to 0.23.0 in /packages/caliper-tests-integration/fabric_docker_local_tests/src/marbles/go by @dependabot[bot] in #1611
- update express dependency by @davidkel in #1614
- remove declarative code by @davidkel in #1615
- v0.6.0 by @psankhe28 in #1605
- update upload/download artifact actions to fix build by @davidkel in #1623
- Bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /packages/caliper-tests-integration/generator_tests/fabric/src/marbles/go by @dependabot[bot] in #1618
- Remove old CI tests not used anymore by @davidkel in #1620
- Bump express from 4.19.2 to 4.20.0 by @dependabot[bot] in #1632
- add test for more tests for prometheus transaction observer by @tunedev in #1631
- added contributing guide by @psankhe28 in #1634
- Fix contributing.md by @davidkel in #1636
- add test for the message handling behavior by @tunedev in #1626
- fix packages err by @psankhe28 in #1642
- Add more tests for caliper worker by @tunedev in #1625
- docs: update links to point to new website URL by @argbet21 in #1646
- add test for test-logging-tx-observer by @tunedev in #1630
- add test for caliper-engine module by @tunedev in #1638
- add more test for fixedFeedbackRate controller implementation by @tunedev in #1628
- add dev container for vscode by @psankhe28 in #1643
- Add support for Node 22 LTS by @davidkel in #1650
- Minor doc fixes by @davidkel in #1655
- fix: doc reference by @psankhe28 in #1652
- fix: tutorial section link by @psankhe28 in #1657
- feat: updated github links by @psankhe28 in #1651
- Minor changes to tutorial navigation by @davidkel in #1658
- add test for internal-tx-observer module by @tunedev in #1629
- add more test for recordRate rate-controller by @tunedev in #1627
- fix: record rate doc section by @psankhe28 in #1653
- fix: throughput faq by @psankhe28 in #1656
- add logo back in by @davidkel in #1662
- Add information about BFT consensus in docs for fabric by @davidkel in #1663
- Update the release process for docs by @davidkel in #1668
- Fix a bug in caliper engine by @davidkel in #1669
- update test by @davidkel in #1670
- Fix refactored core structure references by @emmanuel-ferdman in #1671
- corrected the caliper documentation link by @Veer0x1 in #1673
- Update contributing.md by @francescomiliani in #1674
- Bump golang.org/x/net from 0.0.0-20220708220712-1185a9018129 to 0.36.0 in /packages/caliper-tests-integration/generator_tests/fabric/src/marbles/go by @dependabot[bot] in #1678
- Bump golang.org/x/net from 0.28.0 to 0.36.0 in /packages/caliper-tests-integration/fabric_tests/src/marbles/go by @dependabot[bot] in #1679
- Remove ethereum and besu support by @davidkel in #1685
- Bump golang.org/x/net from 0.36.0 to 0.38.0 in /packages/caliper-tests-integration/generator_tests/fabric/src/marbles/go by @dependabot[bot] in #1683
- Bump golang.org/x/net from 0.36.0 to 0.38.0 in /packages/caliper-tests-integration/fabric_tests/src/marbles/go by @dependabot[bot] in #1687
- Remove support for fabric node sdk 1.4 by @davidkel in #1689
- Distinguish more between network config and caliper config by @davidkel in #1691
- minor fix to faq around tps by @davidkel in #1695
- Remove reference to Node 18 in docs as it is now out of LTS by @davidkel in #1697
- Add some extra unit tests to common/core by @davidkel in #1698
- update mocha, nyc, sinon so they are all consistent by @davidkel in #1699
- update js-yaml by @davidkel in #1701
- integration builds broken by @davidkel in #1702
- fail if chaincode deployment fails by @davidkel in #1703
- Remove repolinter as it's not used by @davidkel in #1704
- Fix CLI behavior with help and version commands by @aklenik in #1705
- Add npm-shrinkwrap.json file and distribute it during publishing by @aklenik in #1708
- chore: update to OIDC publishing by @ryjones in #1709
- fix: update node versions for CI, npm and docker publishing by @aklenik in #1711
- fix: Remove NPM token check from publishing script (#1712) by @aklenik in #1713
- fix: NPM publishing with workspaces (#1714) by @aklenik in #1715
- Make workflow secret passing and usage explicit by @aklenik in #1717
- chore(generator)!: Remove generator package and related artifacts by @aklenik in #1719
- [Release 0.7.0] Publish Official Release by @aklenik in #1720
New Contributors
- @EshaanAgg made their first contribution in #1561
- @tunedev made their first contribution in #1599
- @argbet21 made their first contribution in #1646
- @emmanuel-ferdman made their first contribution in #1671
- @Veer0x1 made their first contribution in #1673
- @francescomiliani made their first contribution in https://github.com/hyperledger-caliper/...
v0.6.0
Notable
Security Fixes
💥Address issue in Prometheus monitor that allowed an abitrary binary to be downloaded and executed on a system running a Caliper worker
New features
✨ Official support for Node 18 and Node 20 for users and contributors
Breaking
💥Caliper no longer supports Fisco-BCOS
Complete list
What's Changed
- Fix #536 Update error messages for 'caliper-cli' package by @0xt3j4s in #1348
- Port the unit test workflow to GitHub Actions by @CaptainIRS in #1364
- Port the integration test workflow to GitHub Actions by @CaptainIRS in #1376
- Disable unit and integration tests in Azure Pipelines by @CaptainIRS in #1382
- Fix #536 Update error messages for 'caliper-ethereum' package by @0xt3j4s in #1363
- Port the publish workflow to GitHub Actions by @CaptainIRS in #1384
- Pass secrets to CI workflow for publish by @CaptainIRS in #1390
- Fix#1377 Change the generator binding from 2.2 to 1.4 by @0xt3j4s in #1391
- Fix #536: Minor changes in the error messages of 'caliper-fisco-bcos' package by @0xt3j4s in #1383
- Add DCI linting to CI of PRs by @aklenik in #1393
- Updated fabric bindings by @fraVlaca in #1402
- Migrate Fabric integration tests to test network by @CaptainIRS in #1410
- Remove channel and chaincode operations from Fabric v1 connector by @CaptainIRS in #1411
- update fabric bindings by @davidkel in #1412
- Migrate to npm workspaces by @CaptainIRS in #1394
- Migrate generator tests to test network by @CaptainIRS in #1414
- Cache node modules across CI workflows by @CaptainIRS in #1406
- Execute integration tests based on changes by @CaptainIRS in #1421
- Add workflow for gh-pages branch by @CaptainIRS in #1423
- Revert "Add workflow for gh-pages branch" by @CaptainIRS in #1425
- Distinguish different workers in Prometheus PushGateway by @CaptainIRS in #1427
- Add coverage report workflow by @CaptainIRS in #1428
- Upload coverage reports on merge by @CaptainIRS in #1433
- Vscode extension by @eravatee in #1404
- Add Node 18 to CI by @CaptainIRS in #1455
- Fix calculation and doc comment in prometheus observer by @CaptainIRS in #1456
- Revert "Add Node 18 to CI (#1455)" by @CaptainIRS in #1460
- Fix integration test CI trigger by @CaptainIRS in #1458
- Add TxObserver for Prometheus manager by @CaptainIRS in #1448
- Bump moment-timezone from 0.5.34 to 0.5.38 by @dependabot in #1461
- Move inactive maintainers to emeritus status by @ryjones in #1462
- Add CODEOWNERS file by @ryjones in #1463
- Fix npmignore for report html by @CaptainIRS in #1466
- Update cache action by @CaptainIRS in #1469
- Add skeleton for development and proposal docs by @aklenik in #1400
- Use go chaincode in integration tests by @CaptainIRS in #1484
- Update go chaincode dependencies in integration tests by @CaptainIRS in #1485
- docker monitor remote monitoring bugfix in #1499
- Terminate workers if caliper manager is terminated prematurely by @davidkel in #1514
- Remove fisco-bcos by @davidkel in #1515
- test node 18/20, minimum version 18.19.0 by @davidkel in #1517
- Temporarily revert publish to using node 16.x to fix broken publish by @davidkel in #1520
- downgrade npm on publish as temp fix by @davidkel in #1523
- Update the versions of fabric sdks by @davidkel in #1519
- Update PSWG whitepaper link in README #1518 by @vinayakjaas in #1524
- Remove Caliper-gui-server packages and Caliper-gui-dashboard packages #1538 by @vinayakjaas in #1540
- Remove collection of node gc stats in prometheus by @davidkel in #1545
- Removed unused dependencies by @psankhe28 in #1544
Special Thanks
- @CaptainIRS For the excellent contributions in in particular to the move to npm workspaces and the Caliper build environment
New Contributors
- @0xt3j4s made their first contribution in #1348
- @eravatee made their first contribution in #1404
- @dependabot made their first contribution in #1461
- @psankhe28 made their first contribution in #1544
Full Changelog: v0.5.0...v0.6.0
Hyperledger Caliper v0.5.0
Hyperledger Caliper v0.5.0
Notable
New features
✨ Official support for Node 14 and Node 16 for users and contributors
✨Experimental release for a Declaritive Workload Module
✨Support for the new Peer Gateway API introduced in Hyperledger Fabric 2.4
Bug fixes
🐸 Fix Caliper round hang with unfinished transactions never completing
🐸 Corrections and Improvements to the documentation
Breaking
💥Caliper no longer supports the 1.0 version of the Fabric Network Configuration format
💥Caliper no longer supports creating channels or deploying chaincode to Hyperledger Fabric
💥Caliper no longer supports Hyperledger Fabric 1.3 or older
Complete list
What's Changed
- bump to 0.4.3-unstable by @nklincoln in #1100
- Azure pipelines build by @nklincoln in #1105
- Enable builds for PRs that target master branch by @nklincoln in #1108
- Update contributing guide by @nklincoln in #1109
- publish to npm stage by @nklincoln in #1110
- update conditionals by @nklincoln in #1112
- update pipeline condition by @nklincoln in #1113
- Change build reason for publish by @nklincoln in #1114
- prevent cascade skip by @nklincoln in #1116
- Publish containers by @nklincoln in #1117
- use single publish script by @nklincoln in #1118
- use 0.21.1 axios by @nklincoln in #1119
- Adding changes related to value parameter for payable function in Ethereum. by @nachikettapas in #1122
- Make Mosquitto authentication and authorization explicit for v2 by @aklenik in #1128
- FIX: caliper bind command now compatible with Windows OS by @fransotodev in #1127
- Resolve issue in which only first round would be docker-monitored by @Viserius in #1135
- Added basic value providers in workload module by @bistaastha in #1164
- Added open in Visual Studio Code badge by @Justinjdaniel in #1170
- Update link for security bug handling wiki page by @aklenik in #1171
- Update branch name in Azure CI pipeline configuration by @aklenik in #1172
- Add factory class, formatted string and list element value providers. by @bistaastha in #1168
- Fix Besu integration test by @aklenik in #1174
- Fix Ethereum integration test by @aklenik in #1175
- Fix generator integration test by @aklenik in #1176
- Fix issue where init flow errors when not using mutual TLS by @davidkel in #1183
- Fix CompositeRateController class bug (#1181) by @aklenik in #1184
- Propose myself as a new caliper Maintainer by @davidkel in #1186
- Fix the unit of the interval of default-observer in the log by @justin-themedium in #1193
- Update CONTRIBUTING.md document by @aklenik in #1192
- Add GitHub web forms-based issue templates by @aklenik in #1189
- Value provider integration by @bistaastha in #1194
- address fabric:1.4 sut binding not working in caliper container by @davidkel in #1211
- Docker monitor metrics fixes - cpu and memory usage by @fraVlaca in #1214
- enable support for node 14 by @fraVlaca in #1219
- Node 14 support by @fraVlaca in #1221
- Add new connector Wallet facade and Wallet facade Fatory on the peer-gateway folder by @fraVlaca in #1227
- Add support for node 16 by @davidkel in #1223
- Reference Discord instead of Rocket Chat by @davidkel in #1228
- Correct timeout defaults by @davidkel in #1230
- Bump version to 0.5.0-unstable by @davidkel in #1239
- Remove the legacy fabric connectors by @davidkel in #1235
- Update bindings to latest fabric sdks and remove old ones by @davidkel in #1244
- ensure endorsetimeout is set on v2 fabric connector by @davidkel in #1246
- add txid to proposal when doing a query by @davidkel in #1247
- Remove the need for gateway-enabled when binding to a fabric 2.2 SUT by @davidkel in #1255
- PeerGateway connector: Added new methods in the ConnectionProfileDefinition by @fraVlaca in #1253
- Improve integration tests by @davidkel in #1259
- improve message to help when file not found by @davidkel in #1262
- rename certain terms in code base by @davidkel in #1280
- Remove CountQueryAsLoad Option by @davidkel in #1276
- Caliper terminates if prometheus is not available by @davidkel in #1288
- Fabric Gateway connector implementation: PeerGateway.js implementation + unit tests by @fraVlaca in #1270
- fix RecordRate rate controller by @davidkel in #1292
- remove latency values if no successful txns in final report by @davidkel in #1290
- Update the usage examples to more appropriate versions by @davidkel in #1297
- Peer Gateway: Added Connector Selector implementation modifications to support the new Peer Gateway Connector by @fraVlaca in #1298
- Fixes for default.yaml in packages/caliper-core/lib/common/config/ and updates for the fabric Channel operations for the v1 fabric connector by @fraVlaca in #1306
- Peer Gateway: Integration tests for the new Peer Gateway connnector ( + update docker compose to use by @fraVlaca in #1310
- Fixed colors dependency to 1.4.0 by @fraVlaca in #1311
- Change monitor intervals from milliseconds to seconds by @davidkel in #1314
- address worker cleanup when an error occurs by @davidkel in #1315
- Fixed docker monitor to use Dockerode only by @fraVlaca in #1319
- correct interval usage in fabric-tests by @davidkel in #1323
- Fix cli and update dependabot security dependencies by @davidkel in #1324
- Ensure that connector errors finishes caliper transactions by @davidkel in #1328
- disable logging debug to file by @davidkel in #1331
- add peers property support to fabric network config by @davidkel in #1329
- Upgraded node-sdk binding for fabric-v1-lts from 1.4.19 to 1.4.20 by @fraVlaca in #1332
- upgraded node-sdk binding for fabric-v2-lts from 2.2.11 to 2.2.12 by @fraVlaca in #1335
- Changed all 'bit.ly' links with a direct link by @fraVlaca in #1336
- Explicitly bind grpc-js for fabric 2.4 connector by @fraVlaca in #1344
- Peer Gateway Connector Txs Error messsage: added output of err.details array by @fraVlaca in #1345
- Fixes caliper hang of unfinished transactions by @davidkel in #1342
- [Release 0.5.0] Update Changelog by @davidkel in #1350
- [Release 0.5.0] Publish official release by @davidkel in #1349
New Contributors
- @fransotodev made their first contribution in #1127
- @Viserius made their first contribution in #1135
- @Justinjdaniel made their first contribution in #1170
- @justin-themedium made their first contribution in #1193
Full Changelog: v0.4.2...v0.5.0
Hyperledger Caliper v0.4.2
Hyperledger Caliper v0.4.2
This v0.4.2 patch release contains non-breaking updates.
New features
✨ There is now a new Fabric connector to be used, which consumes a modified Caliper connection file. The original connector is still in place, and may be used, but it is recommended that you move to the latest connector as the original connector is now deprecated. Please check the latest tutorial, and the associated documentation pages.
Hyperledger Caliper v0.4.1
Hyperledger Caliper v0.4.1
The v0.4.1 patch release contains non-breaking bug fixes and updates.
New features
✨ Support for HL Besu private transactions (PR#1030)
Bug fixes
🐸 Node engines out of date for project (PR#1053)
🐸 Caliper docker image workers can hang (PR#1050)
🐸 Negative send rates observable in reports (PR#1045)
Hyperledger Caliper v0.4.0
Hyperledger Caliper v0.4.0
Welcome to the v0.4.0 release of Hyperleger Caliper. 🎉
Features
✨ Basic auth for Prometheus interaction (PR966, PR960)
✨ Prometheus txObserver scrape target (PR960)
✨ Introduction of txObservers (PR943)
✨ Max rate controller (PR874)
✨ Addition of target Organizations to fabric connector (PR937)
✨ Addition of target channel to fabric connector (PR925)
Breaking Changes
💥 Burrow connector removed
💥 Sawtooth connector removed
💥 Iroha connector removed
💥 Modification of Prometheus Resource Monitor configuration (PR974)
💥 Modification of Prometheus Push gateway configuration (PR966)
💥 Alignment of rate controller configuration to be SUT centric (PR959)
💥 Caliper API change for workload specification (PR950)
💥 Caliper API change: removal of queryState (PR931)
💥 Caliper API change: master -> manager (PR893)
💥 Caliper API change: chaincode -> contract (PR891)
💥 Caliper API change: adaptor -> connector (PR881)
💥 Caliper API change: callbacks converted to Workload module class (PR856)
Packaged Code
The source code is packaged and published in the following locations:
- Under the
hyperledgerorganization on NPM - Under the
hyperledgerorganization on Docker Hub
Release v0.3.2
Hyperledger Caliper v0.3.2
Welcome to the v0.3.2 release of Hyperleger Caliper. 🎉
Features
✨ Generator promoted to release cycle #843 (with a shout out to @lynn14m for the contribution)
✨ Removal of docker dependancy for build FISCO BCOS contract compilation #861 (with a shout of to @Gnnng for the contribution), meaning you can compile contracts on remote environments
✨ Unbind command for the Caliper CLI #864
✨ 1.4.8 binding for the Fabric adaptor (SDK) #866
Breaking Changes
💥 A breaking change under the guise of a bug fix here - we now honour the documented method of passing private data when submitting transactions using the fabric adaptor
Bug Fixes
🐸 Change of web3 binding for Besu adaptor #863
🐸 Fixed process hang due to mqtt hangup #863
🐸 Fixed discovery bug in the Fabric v2 adaptor #863
🐸 Aligned passage of private data in fabric transaction with the documented specification #863
Packaged Code
The source code is packaged and published in the following locations:
- Under the
hyperledgerorganization on NPM - Under the
hyperledgerorganization on Docker Hub
Release v0.3.1
Hyperledger Caliper v0.3.1
Welcome to the v0.3.1 release of Hyperleger Caliper. 🎉
This release contains breaking changes, bug fixes and (most importantly) new features, so please be careful when upgrading.
Breaking Changes
💥 Improve core package management for the Docker image (PR#795)
New Features
✨ Relax constraints for monitor/observer combinations (PR#761)
✨ Call the end function of workload modules sooner, so they can still access the adapter context (PR#779)
✨ Improved error reporting in the worker processes (PR#782)
✨ Improve TX handling/waiting approach for worker processes, thus enabling long-term benchmarks (PR#794)
✨ Improve connection/TX management to SUT (PR#780)
✨ Update HL Besu versions (PR#786)
✨ Make contractDeployerAddress available in the adapter context (PR#808)
✨ Added Fabric v2 support.
✨ Switch SDK package to @hyperledger/burrow (PR#804)
Bug Fixes
🐸 Improve handling of benchmark errors upon monitoring data reporing (PR#797)
🐸 Fix orderer name check for Fabric v2 adapter (PR#762)
🐸 Refactored adapter to be more OO-like, and fixed non-existing variable reference bug (PR#782)
Packaged Code
The source code is packaged and published in the following locations:
- Under the
hyperledgerorganization on NPM - Under the
hyperledgerorganization on Docker Hub
Release v0.3.0
Hyperledger Caliper v0.3.0
Welcome to the v0.3.0 release of Hyperleger Caliper. 🎉
This release contains breaking changes, bug fixes and (most importantly) new features, so please be careful when upgrading.
Breaking Changes
💥 The previously deprecated Hyperledger Composer adapter has now been removed.
💥 The CLI commands have been enhanced, both in structure and in behavior. Docs
💥 The YAML schema of the round definitions in the benchmark configuration file has been simplified. Docs
💥 The YAML schema of the Docker and Process monitor definitions have been changed. Docs
💥 The backlog rate controller YAML configuration schema has been enhanced. Docs
New Features
✨ Added MQTT-based communication for the Caliper processes for fully distributed operation. Docs
✨ Added charting capabilities to the report generation. Docs
✨ Added statistic summation option to Prometheus queries during report generation. Docs
✨ Added a Yeoman generator for the benchmark configuration and workload module files. Docs
✨ Added new SDK bindings for Fabric v1.
✨ Added ability to pass transient data and peer targets to Fabric gateway TXs.
✨ Added experimental Fabric v2 support.
✨ Added support for HD keys in the Ethereum/HL Besu adapter. Docs
✨ Enhanced gas estimation and nonce management in the Ethereum/HL Besu adapter.
Bug Fixes
🐸 Fixed round index reference bug in some rate controllers.
🐸 Fixed monitor bugs resulting in extra empty columns/metrics
🐸 Fixed channel initialization for the connection profiles in the Fabric adapter.
🐸 Fixed error handling for TX broadcast errors in the Fabric adapter.
🐸 Pass explicit Orderer objects when broadcasting a TX so the Fabric SDK won't create a new connection for each TX.
🐸 Fixed FISCO-BCOS adapter bug for resolving certificate file paths.
🐸 Fixed FISCO-BCOS adapter bug related to stale response handling
Packaged Code
The source code is packaged and published in the following locations:
- Under the
hyperledgerorganization on NPM - Under the
hyperledgerorganization on Docker Hub