Skip to content

Commit

Permalink
chore(release): publish v2.0.0-rc.3
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz authored and sandeepnRES committed Jul 24, 2024
1 parent 81482ae commit 1ce7c60
Show file tree
Hide file tree
Showing 513 changed files with 3,826 additions and 1,146 deletions.
97 changes: 97 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,103 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0-rc.3](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.2...v2.0.0-rc.3) (2024-07-21)

### Bug Fixes

* address CVE-2022-24434, GHSA-wm7h-9275-46v2 caused by dicer ([6ff8111](https://github.com/hyperledger/cacti/commit/6ff8111c2534f71a5f623433eba59a610d84f4eb))
* **ci:** deprecationWarning in yarn_custom_checks ([96a3865](https://github.com/hyperledger/cacti/commit/96a3865ce5404e0fd3bf5a6471eb5a653e579d33))
* **cmd-api-server:** use ncc bundle in container image - CVE-2024-29415 ([9eefa66](https://github.com/hyperledger/cacti/commit/9eefa66446a193c7ca164c876f8ed6d5cc56549b))
* **connector-fabric:** decode blocks in getTransactionReceiptByTxID() ([1bdc35d](https://github.com/hyperledger/cacti/commit/1bdc35d5c9d49315e2b8b32c90c66b322d866bf9))
* **connector-polkadot:** use dynamic import calls for ESM dependencies ([76adf12](https://github.com/hyperledger/cacti/commit/76adf12afa40829226b4698f2d4394bd6fbe3aba)), closes [#3077](https://github.com/hyperledger/cacti/issues/3077)
* the CVEs of braces nth-check vite webpack-dev-middleware - 2024-07 ([4253d3f](https://github.com/hyperledger/cacti/commit/4253d3f75aef3e3e7849c56182ddd67e56f89fb3))

### Build System

* bump [email protected] [email protected] @bufbuild/protobuf@1.10.0 ([9970352](https://github.com/hyperledger/cacti/commit/997035216694fe335215b8a3586488ac8c12447f))

### Code Refactoring

* retire connector plugin specific container images, fix docs ([24b5888](https://github.com/hyperledger/cacti/commit/24b5888247d134ea417fc0e83dccc9826b4075f3))

### Features

* **besu:** remove hard dependency on keychain ([f5b60b4](https://github.com/hyperledger/cacti/commit/f5b60b4d25acc7a4bc53f3b9b87433b18a5d9153)), closes [#963](https://github.com/hyperledger/cacti/issues/963)
* **bungee-hermes:** ability to use connectors without instanciating APIs ([6a71ddf](https://github.com/hyperledger/cacti/commit/6a71ddfb5568d1fc11818e225782713bfaddc6d5))
* **connector-corda:** add vaultQueryV1 REST API operation + endpoint ([d2bf145](https://github.com/hyperledger/cacti/commit/d2bf1458ce2f1342fe330d9118aae7fc2fdd3312))
* **connector-corda:** support JVM 17 Cordapps ([1994128](https://github.com/hyperledger/cacti/commit/19941280469a3f66cb678525a4088f86b9cacee3))
* **fabric-connector:** add getChainInfo, improve getBlock output ([8c030ae](https://github.com/hyperledger/cacti/commit/8c030ae9e739a28ff0900f7af27ec0fbbb4b7ff9))
* **persistence-fabric:** rewrite the plugin ([c867a9f](https://github.com/hyperledger/cacti/commit/c867a9f5ef084e4e6d7c6f5a641d1dd13f9ce233)), closes [#3298](https://github.com/hyperledger/cacti/issues/3298)

### Performance Improvements

* **ci:** only publish artifacts on git version tags of main ([66e3139](https://github.com/hyperledger/cacti/commit/66e3139505c5bb3cd2e2aee86cd635d76d17374e))

### BREAKING CHANGES

* Container images are being deleted here and will also
get deleted from GHCR. Though the public APIs of the Typescript code
do not change, still, some parts of the documentation will become invalid
until we update it to match the changes here.
I invested a large amount of effort into doing this documentation update
as part of this change but it is very likely that I've missed a few spots
and therefore it is best to mark this as a breaking change in my opinion
to call attention to the fact that we still have ways to go with updating
the documentation around these container images.

1. Deleted all the container images that were just wrappers around the
cmd-api-server container image installing their own npm package from
the registry.
The reason for this is that they ended up just being maintenance burden
since we can achieve the exact same things just by re-using the API server's
container image directly.
2. This way we don't have to deal with CVEs in 10x container images when
it's really just the one container image that we use as the base that needs
to deal with them anyway.
3. I also spent quite a bit of effort in this change to update the README.md
files of the packages where previously we had plugin specific container images
defined so that the README.md files have the tutorials that are more up to
date compared to how they were (most of them had the tutorials completely
broken for a long while which was causing a lot of difficulties to the
newcomers who were trying to work with the packages).
4. The reason why they got so out of date traces back to the undue maintenance
burden of keeping separate images for each connector plugin. We hope that
with this simplification we can keep the documentation continuously up to
date since it will require less time do so.
5. Also deleted the ci.yaml container building jobs which were relevant to
the scope of this change so that we also save on CI resources, another
long-running project that's been in need of some attention from the maintainers.

Signed-off-by: Peter Somogyvari <[email protected]>
* Renamed classes to fix typos in their name: `PluginFactoryPersistanceFabric`
This is being done in this pull request because for some reason (that I still don't understand)
the spell checker started failing on these only in the context of this pull request.
The typos were present on the main branch already somehow having passed spellchecking earlier
and every other time since then.

And also
- [email protected]
- [email protected]
- [email protected]
- [email protected]

Quality of life improvements and also hoping to get rid of a few of the
vulnerable dependency versions we have in the codebase according to
dependabot.

More similar changes are coming in with further upgrades but I want to
avoid making bigger changes in one go so that it's easier to hunt down
bugs later if something only gets discovered after we've merged a bunch
of these.

Signed-off-by: Peter Somogyvari <[email protected]>
* **fabric-connector:** It accepts `type` instead of `skipDecode` flag.
- Move common block formatting logic to `cacti-block-formatters.ts`.
- Add tests for new features. Move test common to quering `qscc` to single file
to increase CI speed.

Signed-off-by: Michal Bajer <[email protected]>

# [2.0.0-rc.2](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2024-07-03)

### Bug Fixes
Expand Down
31 changes: 31 additions & 0 deletions examples/cactus-example-carbon-accounting-backend/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,37 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0-rc.3](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.2...v2.0.0-rc.3) (2024-07-21)

### Build System

* bump [email protected] [email protected] @bufbuild/protobuf@1.10.0 ([9970352](https://github.com/hyperledger/cacti/commit/997035216694fe335215b8a3586488ac8c12447f))

### BREAKING CHANGES

* Renamed classes to fix typos in their name: `PluginFactoryPersistanceFabric`
This is being done in this pull request because for some reason (that I still don't understand)
the spell checker started failing on these only in the context of this pull request.
The typos were present on the main branch already somehow having passed spellchecking earlier
and every other time since then.

And also
- [email protected]
- [email protected]
- [email protected]
- [email protected]

Quality of life improvements and also hoping to get rid of a few of the
vulnerable dependency versions we have in the codebase according to
dependabot.

More similar changes are coming in with further upgrades but I want to
avoid making bigger changes in one go so that it's easier to hunt down
bugs later if something only gets discovered after we've merged a bunch
of these.

Signed-off-by: Peter Somogyvari <[email protected]>

# [2.0.0-rc.2](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2024-07-03)

**Note:** Version bump only for package @hyperledger/cactus-example-carbon-accounting-backend
Expand Down
22 changes: 11 additions & 11 deletions examples/cactus-example-carbon-accounting-backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperledger/cactus-example-carbon-accounting-backend",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"description": "An example application showing how to use Cactus when implementing a Carbon Accounting Application where two or more blockchains are sharing data with each other to achieve a certain business outcome beneficial to multiple parties (business organizations).",
"keywords": [
"Hyperledger",
Expand Down Expand Up @@ -52,16 +52,16 @@
"webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js"
},
"dependencies": {
"@hyperledger/cactus-api-client": "2.0.0-rc.2",
"@hyperledger/cactus-cmd-api-server": "2.0.0-rc.2",
"@hyperledger/cactus-common": "2.0.0-rc.2",
"@hyperledger/cactus-core": "2.0.0-rc.2",
"@hyperledger/cactus-core-api": "2.0.0-rc.2",
"@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0-rc.2",
"@hyperledger/cactus-plugin-keychain-memory": "2.0.0-rc.2",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-rc.2",
"@hyperledger/cactus-plugin-ledger-connector-xdai": "2.0.0-rc.2",
"@hyperledger/cactus-test-tooling": "2.0.0-rc.2",
"@hyperledger/cactus-api-client": "2.0.0-rc.3",
"@hyperledger/cactus-cmd-api-server": "2.0.0-rc.3",
"@hyperledger/cactus-common": "2.0.0-rc.3",
"@hyperledger/cactus-core": "2.0.0-rc.3",
"@hyperledger/cactus-core-api": "2.0.0-rc.3",
"@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0-rc.3",
"@hyperledger/cactus-plugin-keychain-memory": "2.0.0-rc.3",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-rc.3",
"@hyperledger/cactus-plugin-ledger-connector-xdai": "2.0.0-rc.3",
"@hyperledger/cactus-test-tooling": "2.0.0-rc.3",
"@openzeppelin/contracts": "4.9.6",
"@openzeppelin/contracts-upgradeable": "4.9.6",
"async-exit-hook": "2.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,37 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0-rc.3](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.2...v2.0.0-rc.3) (2024-07-21)

### Build System

* bump [email protected] [email protected] @bufbuild/protobuf@1.10.0 ([9970352](https://github.com/hyperledger/cacti/commit/997035216694fe335215b8a3586488ac8c12447f))

### BREAKING CHANGES

* Renamed classes to fix typos in their name: `PluginFactoryPersistanceFabric`
This is being done in this pull request because for some reason (that I still don't understand)
the spell checker started failing on these only in the context of this pull request.
The typos were present on the main branch already somehow having passed spellchecking earlier
and every other time since then.

And also
- [email protected]
- [email protected]
- [email protected]
- [email protected]

Quality of life improvements and also hoping to get rid of a few of the
vulnerable dependency versions we have in the codebase according to
dependabot.

More similar changes are coming in with further upgrades but I want to
avoid making bigger changes in one go so that it's easier to hunt down
bugs later if something only gets discovered after we've merged a bunch
of these.

Signed-off-by: Peter Somogyvari <[email protected]>

# [2.0.0-rc.2](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2024-07-03)

**Note:** Version bump only for package @hyperledger/cactus-example-carbon-accounting-business-logic-plugin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperledger/cactus-example-carbon-accounting-business-logic-plugin",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"description": "An example business logic plugin implementation for Cactus",
"keywords": [
"Hyperledger",
Expand Down Expand Up @@ -55,14 +55,14 @@
"webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js"
},
"dependencies": {
"@hyperledger/cactus-api-client": "2.0.0-rc.2",
"@hyperledger/cactus-common": "2.0.0-rc.2",
"@hyperledger/cactus-core": "2.0.0-rc.2",
"@hyperledger/cactus-core-api": "2.0.0-rc.2",
"@hyperledger/cactus-plugin-consortium-manual": "2.0.0-rc.2",
"@hyperledger/cactus-plugin-keychain-memory": "2.0.0-rc.2",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-rc.2",
"@hyperledger/cactus-plugin-ledger-connector-xdai": "2.0.0-rc.2",
"@hyperledger/cactus-api-client": "2.0.0-rc.3",
"@hyperledger/cactus-common": "2.0.0-rc.3",
"@hyperledger/cactus-core": "2.0.0-rc.3",
"@hyperledger/cactus-core-api": "2.0.0-rc.3",
"@hyperledger/cactus-plugin-consortium-manual": "2.0.0-rc.3",
"@hyperledger/cactus-plugin-keychain-memory": "2.0.0-rc.3",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-rc.3",
"@hyperledger/cactus-plugin-ledger-connector-xdai": "2.0.0-rc.3",
"async-exit-hook": "2.0.1",
"axios": "1.6.0",
"express": "4.19.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Hyperledger Cactus Example - Carbon Accounting App",
"description": "Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved.",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"license": {
"name": "Apache-2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Hyperledger Cactus Example - Carbon Accounting App",
"description": "Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved.",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"license": {
"name": "Apache-2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Demonstrates how a business use case can be satisfied with Cactus when multiple
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate an API client.

- API version: 2.0.0-rc.2
- API version: 2.0.0-rc.3
- Package version:
- Build package: org.openapitools.codegen.languages.KotlinClientCodegen

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Hyperledger Cactus Example - Carbon Accounting App
* Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved.
*
* The version of the OpenAPI document: 2.0.0-rc.2
* The version of the OpenAPI document: 2.0.0-rc.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Hyperledger Cactus Example - Carbon Accounting App
* Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved.
*
* The version of the OpenAPI document: 2.0.0-rc.2
* The version of the OpenAPI document: 2.0.0-rc.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Hyperledger Cactus Example - Carbon Accounting App
* Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved.
*
* The version of the OpenAPI document: 2.0.0-rc.2
* The version of the OpenAPI document: 2.0.0-rc.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Hyperledger Cactus Example - Carbon Accounting App
* Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved.
*
* The version of the OpenAPI document: 2.0.0-rc.2
* The version of the OpenAPI document: 2.0.0-rc.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Hyperledger Cactus Example - Carbon Accounting App
* Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved.
*
* The version of the OpenAPI document: 2.0.0-rc.2
* The version of the OpenAPI document: 2.0.0-rc.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0-rc.3](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.2...v2.0.0-rc.3) (2024-07-21)

**Note:** Version bump only for package @hyperledger/cactus-example-carbon-accounting-frontend

# [2.0.0-rc.2](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2024-07-03)

**Note:** Version bump only for package @hyperledger/cactus-example-carbon-accounting-frontend
Expand Down
16 changes: 8 additions & 8 deletions examples/cactus-example-carbon-accounting-frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperledger/cactus-example-carbon-accounting-frontend",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"description": "The frontend component of an example project demonstrating how Cacti can be used for cross-chain dapp development.",
"keywords": [
"Hyperledger",
Expand Down Expand Up @@ -54,13 +54,13 @@
"@angular/platform-browser": "16.2.4",
"@angular/platform-browser-dynamic": "16.2.4",
"@angular/router": "16.2.4",
"@hyperledger/cactus-api-client": "2.0.0-rc.2",
"@hyperledger/cactus-common": "2.0.0-rc.2",
"@hyperledger/cactus-core-api": "2.0.0-rc.2",
"@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0-rc.2",
"@hyperledger/cactus-plugin-consortium-manual": "2.0.0-rc.2",
"@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-rc.2",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-rc.2",
"@hyperledger/cactus-api-client": "2.0.0-rc.3",
"@hyperledger/cactus-common": "2.0.0-rc.3",
"@hyperledger/cactus-core-api": "2.0.0-rc.3",
"@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0-rc.3",
"@hyperledger/cactus-plugin-consortium-manual": "2.0.0-rc.3",
"@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-rc.3",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-rc.3",
"@ionic-native/core": "5.36.0",
"@ionic-native/splash-screen": "patch:@ionic-native/splash-screen@npm%3A5.36.0#~/.yarn/patches/@ionic-native-splash-screen-npm-5.36.0-531cbbe0f8.patch",
"@ionic-native/status-bar": "patch:@ionic-native/status-bar@npm%3A5.36.0#~/.yarn/patches/@ionic-native-status-bar-npm-5.36.0-1ca86cbaad.patch",
Expand Down
31 changes: 31 additions & 0 deletions examples/cactus-example-cbdc-bridging-backend/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,37 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0-rc.3](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.2...v2.0.0-rc.3) (2024-07-21)

### Build System

* bump [email protected] [email protected] @bufbuild/protobuf@1.10.0 ([9970352](https://github.com/hyperledger/cacti/commit/997035216694fe335215b8a3586488ac8c12447f))

### BREAKING CHANGES

* Renamed classes to fix typos in their name: `PluginFactoryPersistanceFabric`
This is being done in this pull request because for some reason (that I still don't understand)
the spell checker started failing on these only in the context of this pull request.
The typos were present on the main branch already somehow having passed spellchecking earlier
and every other time since then.

And also
- [email protected]
- [email protected]
- [email protected]
- [email protected]

Quality of life improvements and also hoping to get rid of a few of the
vulnerable dependency versions we have in the codebase according to
dependabot.

More similar changes are coming in with further upgrades but I want to
avoid making bigger changes in one go so that it's easier to hunt down
bugs later if something only gets discovered after we've merged a bunch
of these.

Signed-off-by: Peter Somogyvari <[email protected]>

# [2.0.0-rc.2](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2024-07-03)

**Note:** Version bump only for package @hyperledger/cactus-example-cbdc-bridging-backend
Expand Down
Loading

0 comments on commit 1ce7c60

Please sign in to comment.