Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): publish v2.0.0 #3590

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0](https://github.com/hyperledger-cacti/cacti/compare/v2.0.0-rc.7...v2.0.0) (2024-10-15)

### Bug Fixes

* mitigate CVE-2024-42461 - bump elliptic to v6.5.7 ([32c242a](https://github.com/hyperledger-cacti/cacti/commit/32c242a1a984a890aeba88073ff9805c697e5579))
* **test-tooling:** use of hardcoded password ([63f2943](https://github.com/hyperledger-cacti/cacti/commit/63f2943d47960d2e09cd527da77f661b0f9265b2))

# [2.0.0-rc.6](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.5...v2.0.0-rc.6) (2024-09-30)

**Note:** Version bump only for package @hyperledger/cactus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ repositories {
}
}
dependencies {
implementation(group: 'org.hyperledger.cacti.weaver.sdk.corda', name: 'weaver-sdk-corda', version: "2.0.0-rc.2")
implementation(group: 'org.hyperledger.cacti.weaver.imodule.corda', name: 'interop-contracts', version: "2.0.0-rc.2")
implementation(group: 'org.hyperledger.cacti.weaver.imodule.corda', name: 'interop-workflows', version: "2.0.0-rc.2")
implementation(group: 'org.hyperledger.cacti.weaver.protos', name: 'protos-java-kt', version: "2.0.0-rc.2")
implementation(group: 'org.hyperledger.cacti.weaver.sdk.corda', name: 'weaver-sdk-corda', version: "2.0.0")
implementation(group: 'org.hyperledger.cacti.weaver.imodule.corda', name: 'interop-contracts', version: "2.0.0")
implementation(group: 'org.hyperledger.cacti.weaver.imodule.corda', name: 'interop-workflows', version: "2.0.0")
implementation(group: 'org.hyperledger.cacti.weaver.protos', name: 'protos-java-kt', version: "2.0.0")
}
```
(Or check out the [package website](https://github.com/hyperledger-cacti/cacti/packages/1856827) and select a different version.)
Expand Down Expand Up @@ -445,7 +445,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-cacti/cacti/p
RELAY_PORT=<relay-server-port/"port" in config.toml>
EXTERNAL_NETWORK=<docker-bridge-network>
DOCKER_IMAGE_NAME=ghcr.io/hyperledger/cacti-weaver-relay-server
DOCKER_TAG=2.0.0-rc.2
DOCKER_TAG=2.0.0
```
- The `PATH_TO_CONFIG` variable should point to the properties file typically named `config.toml` (you can name this whatever you wish). See further below for instructions to write this file.
- The `RELAY_NAME` variable specifies a unique name for this relay. It should match what's specified in the `config.toml` (more on that below).
Expand Down Expand Up @@ -536,7 +536,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-cacti/cacti/p
DRIVER_RPC_PASSWORD=<driver-rpc-username>
EXTERNAL_NETWORK=<docker-bridge-network>
DOCKER_IMAGE_NAME=ghcr.io/hyperledger/cacti-weaver-driver-corda
DOCKER_TAG=2.0.0-rc.2
DOCKER_TAG=2.0.0
RELAY_TLS=<true|false>
RELAY_TLSCA_TRUST_STORE=<truststore-jks-file-path>
RELAY_TLSCA_TRUST_STORE_PASSWORD=<truststore-jks-file-password>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ Below, we list the template functions with sample code that you, as a developer,
```go
require(
...
github.com/hyperledger/cacti/weaver/common/protos-go/v2 v2.0.0-rc.2
github.com/hyperledger/cacti/weaver/core/network/fabric-interop-cc/libs/assetexchange/v2 v2.0.0-rc.2
github.com/hyperledger/cacti/weaver/common/protos-go/v2 v2.0.0
github.com/hyperledger/cacti/weaver/core/network/fabric-interop-cc/libs/assetexchange/v2 v2.0.0
...
)
```
Expand Down Expand Up @@ -176,8 +176,8 @@ Below, we list the template functions with sample code that you, as a developer,
```go
require(
...
github.com/hyperledger/cacti/weaver/common/protos-go/v2 v2.0.0-rc.2
github.com/hyperledger/cacti/weaver/core/network/fabric-interop-cc/interfaces/asset-mgmt/v2 v2.0.0-rc.2
github.com/hyperledger/cacti/weaver/common/protos-go/v2 v2.0.0
github.com/hyperledger/cacti/weaver/core/network/fabric-interop-cc/interfaces/asset-mgmt/v2 v2.0.0
...
)
```
Expand Down Expand Up @@ -327,7 +327,7 @@ Consider a scenario inspired by the [global trade use case](../../user-stories/g

(In preparation, a suitable access control policy must be recorded on `tradelogisticschannel` in `trade-logistics-network`, and a suitable verification policy must be recorded on `tradefinancechannel` in `trade-finance-network`. We will see how to do this in the "Startup and Boostrap" section later.)

You will need to insert some code in the Layer-2 application that accepts a B/L and submits a `RecordBillOfLading` transaction in `trade-finance-network`. (No code changes need to be made in any application in the other network.) The logic to accept a B/L should be replaced (or you can simply add an alternative) by a call to the `interopFlow` function offered by the [cacti-weaver-sdk-fabric](https://github.com/hyperledger-cacti/cacti/pkgs/npm/cacti-weaver-sdk-fabric) library (there's an [equivalent library in Golang](https://github.com/hyperledger-cacti/cacti/releases/tag/weaver%2Fsdks%2Ffabric%2Fgo-sdk%2Fv2.0.0-rc.2) too). The following code sample illustrates this (the Golang equivalent is left to the reader):
You will need to insert some code in the Layer-2 application that accepts a B/L and submits a `RecordBillOfLading` transaction in `trade-finance-network`. (No code changes need to be made in any application in the other network.) The logic to accept a B/L should be replaced (or you can simply add an alternative) by a call to the `interopFlow` function offered by the [cacti-weaver-sdk-fabric](https://github.com/hyperledger-cacti/cacti/pkgs/npm/cacti-weaver-sdk-fabric) library (there's an [equivalent library in Golang](https://github.com/hyperledger-cacti/cacti/releases/tag/weaver%2Fsdks%2Ffabric%2Fgo-sdk%2Fv2.0.0) too). The following code sample illustrates this (the Golang equivalent is left to the reader):
```js
const ihelper = require('@hyperledger/cacti-weaver-sdk-fabric').InteroperableHelper;
const interopcc = <handle-to-fabric-interop-chaincode>; // Use Fabric SDK functions: (new Gateway()).getNetwork(...).getContract(<fabric-interop-chaincode-id>)
Expand Down Expand Up @@ -536,7 +536,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-cacti/cacti/p
RELAY_PORT=<relay-server-port/"port" in config.toml>
EXTERNAL_NETWORK=<docker-bridge-network>
DOCKER_IMAGE_NAME=ghcr.io/hyperledger/cacti-weaver-relay-server
DOCKER_TAG=2.0.0-rc.2
DOCKER_TAG=2.0.0
```
- The `PATH_TO_CONFIG` variable should point to the properties file typically named `config.toml` (you can name this whatever you wish). See further below for instructions to write this file.
- The `RELAY_NAME` variable specifies a unique name for this relay. It should match what's specified in the `config.toml` (more on that below).
Expand Down Expand Up @@ -630,7 +630,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-cacti/cacti/p
EXTERNAL_NETWORK=<docker-bridge-network>
TLS_CREDENTIALS_DIR=<dir-with-tls-cert-and-key>
DOCKER_IMAGE_NAME=ghcr.io/hyperledger/cacti-weaver-driver-fabric
DOCKER_TAG=2.0.0-rc.2
DOCKER_TAG=2.0.0
DRIVER_TLS=<true|false>
DRIVER_TLS_CERT_PATH=path_to_tls_cert_pem_for_driver
DRIVER_TLS_KEY_PATH=path_to_tls_key_pem_for_driver
Expand Down
4 changes: 4 additions & 0 deletions examples/cactus-common-example-server/CHANGELOG.md
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](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.7...v2.0.0) (2024-10-15)

**Note:** Version bump only for package @hyperledger/cactus-common-example-server

# [2.0.0-rc.6](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.5...v2.0.0-rc.6) (2024-09-30)

**Note:** Version bump only for package @hyperledger/cactus-common-example-server
Expand Down
8 changes: 4 additions & 4 deletions examples/cactus-common-example-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperledger/cactus-common-example-server",
"version": "2.0.0-rc.7",
"version": "2.0.0",
"description": "Allows Cactus nodes to interact with HTLC ETH contracts",
"keywords": [
"Hyperledger",
Expand Down Expand Up @@ -42,8 +42,8 @@
"build:dev:backend:postbuild": "cp -f ../../yarn.lock ./dist/"
},
"dependencies": {
"@hyperledger/cactus-common": "2.0.0-rc.7",
"@hyperledger/cactus-core-api": "2.0.0-rc.7",
"@hyperledger/cactus-common": "2.0.0",
"@hyperledger/cactus-core-api": "2.0.0",
"@types/node": "18.11.9",
"body-parser": "1.20.3",
"config": "3.3.7",
Expand All @@ -66,7 +66,7 @@
"xmlhttprequest": "1.8.0"
},
"devDependencies": {
"@hyperledger/cactus-test-tooling": "2.0.0-rc.7",
"@hyperledger/cactus-test-tooling": "2.0.0",
"@types/config": "3.3.0",
"@types/cookie-parser": "1.4.5",
"@types/debug": "4.1.8",
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](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.7...v2.0.0) (2024-10-15)

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

# [2.0.0-rc.6](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.5...v2.0.0-rc.6) (2024-09-30)

**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.7",
"version": "2.0.0",
"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.7",
"@hyperledger/cactus-cmd-api-server": "2.0.0-rc.7",
"@hyperledger/cactus-common": "2.0.0-rc.7",
"@hyperledger/cactus-core": "2.0.0-rc.7",
"@hyperledger/cactus-core-api": "2.0.0-rc.7",
"@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0-rc.7",
"@hyperledger/cactus-plugin-keychain-memory": "2.0.0-rc.7",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-rc.7",
"@hyperledger/cactus-plugin-ledger-connector-xdai": "2.0.0-rc.7",
"@hyperledger/cactus-test-tooling": "2.0.0-rc.7",
"@hyperledger/cactus-api-client": "2.0.0",
"@hyperledger/cactus-cmd-api-server": "2.0.0",
"@hyperledger/cactus-common": "2.0.0",
"@hyperledger/cactus-core": "2.0.0",
"@hyperledger/cactus-core-api": "2.0.0",
"@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0",
"@hyperledger/cactus-plugin-keychain-memory": "2.0.0",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0",
"@hyperledger/cactus-plugin-ledger-connector-xdai": "2.0.0",
"@hyperledger/cactus-test-tooling": "2.0.0",
"@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,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](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.7...v2.0.0) (2024-10-15)

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

# [2.0.0-rc.6](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.5...v2.0.0-rc.6) (2024-09-30)

**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.7",
"version": "2.0.0",
"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.7",
"@hyperledger/cactus-common": "2.0.0-rc.7",
"@hyperledger/cactus-core": "2.0.0-rc.7",
"@hyperledger/cactus-core-api": "2.0.0-rc.7",
"@hyperledger/cactus-plugin-consortium-manual": "2.0.0-rc.7",
"@hyperledger/cactus-plugin-keychain-memory": "2.0.0-rc.7",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-rc.7",
"@hyperledger/cactus-plugin-ledger-connector-xdai": "2.0.0-rc.7",
"@hyperledger/cactus-api-client": "2.0.0",
"@hyperledger/cactus-common": "2.0.0",
"@hyperledger/cactus-core": "2.0.0",
"@hyperledger/cactus-core-api": "2.0.0",
"@hyperledger/cactus-plugin-consortium-manual": "2.0.0",
"@hyperledger/cactus-plugin-keychain-memory": "2.0.0",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0",
"@hyperledger/cactus-plugin-ledger-connector-xdai": "2.0.0",
"async-exit-hook": "2.0.1",
"axios": "1.7.7",
"express": "4.21.0",
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.7",
"version": "2.0.0",
"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.7",
"version": "2.0.0",
"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.7
- API version: 2.0.0
- 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.7
* The version of the OpenAPI document: 2.0.0
*
*
* 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.7
* The version of the OpenAPI document: 2.0.0
*
*
* 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.7
* The version of the OpenAPI document: 2.0.0
*
*
* 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.7
* The version of the OpenAPI document: 2.0.0
*
*
* 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.7
* The version of the OpenAPI document: 2.0.0
*
*
* 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](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.7...v2.0.0) (2024-10-15)

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

# [2.0.0-rc.6](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.5...v2.0.0-rc.6) (2024-09-30)

**Note:** Version bump only for package @hyperledger/cactus-example-carbon-accounting-frontend
Expand Down
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.7",
"version": "2.0.0",
"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.7",
"@hyperledger/cactus-common": "2.0.0-rc.7",
"@hyperledger/cactus-core-api": "2.0.0-rc.7",
"@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0-rc.7",
"@hyperledger/cactus-plugin-consortium-manual": "2.0.0-rc.7",
"@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-rc.7",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-rc.7",
"@hyperledger/cactus-api-client": "2.0.0",
"@hyperledger/cactus-common": "2.0.0",
"@hyperledger/cactus-core-api": "2.0.0",
"@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0",
"@hyperledger/cactus-plugin-consortium-manual": "2.0.0",
"@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0",
"@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
4 changes: 4 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,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](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.7...v2.0.0) (2024-10-15)

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

# [2.0.0-rc.6](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.5...v2.0.0-rc.6) (2024-09-30)

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