Skip to content

Commit

Permalink
chore(release): publish v2.0.0-rc.5
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Sep 30, 2024
1 parent ebe7816 commit fb3286c
Show file tree
Hide file tree
Showing 1,201 changed files with 2,235 additions and 1,881 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ jobs:
- name: wipe_non_yaml_sources
run: rm -rf packages/ examples/ extensions/ package.json weaver/

# Shellcheck comlains that inside single quotes
# the environment variables are not expanded, but that's exactly what we want here because
# we are replacing environment variables inside the configuration file.
# The only way we know how to ignore a file is to delete it...
- name: wipe_files_with_false_positives
run: rm .github/workflows/all-nodejs-packages-publish.yaml

# We need to exclude these from the linting process for now because these files have
# hundreds of linter errors that we didn't yet have time to fix. Once the errors are fixed
# we can add the files.
Expand All @@ -73,7 +80,7 @@ jobs:
version: 1.7.1
cache: true
files: ${{ env.CACTI_ACTIONLINT_FILES_TO_LINT }}
flags: "--verbose"
flags: '--verbose'

- name: actionlint_summary
if: ${{ steps.actionlint.outputs.exit-code != 0 }} # example usage, do echo only when actionlint action failed
Expand Down
64 changes: 40 additions & 24 deletions .github/workflows/all-nodejs-packages-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,46 @@ concurrency:
cancel-in-progress: true

jobs:

build-and-publish-packages:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.7
- run: git fetch --unshallow --prune
- uses: actions/setup-node@v4.0.3
with:
always-auth: true
node-version: ${{ env.NODEJS_VERSION }}
registry-url: 'https://registry.npmjs.org'
- name: ./tools/ci.sh
run: ./tools/ci.sh
env:
DEV_BUILD_DISABLED: false
FULL_BUILD_DISABLED: false
JEST_TEST_RUNNER_DISABLED: true
TAPE_TEST_RUNNER_DISABLED: true
- name: lerna-publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.email "npm-ci@hyperledger.org"
git config --global user.name "hyperledger-ghci"
npm whoami
yarn lerna publish from-git --yes --loglevel=debug --ignore-scripts
- uses: actions/checkout@v4.1.7
- run: git fetch --unshallow --prune

- uses: actions/setup-node@v4.0.3
with:
always-auth: true
node-version: ${{ env.NODEJS_VERSION }}
registry-url: "https://registry.npmjs.org/"

- run: cat /home/runner/work/_temp/.npmrc

- uses: actions/setup-node@v4.0.3
with:
always-auth: true
node-version: ${{ env.NODEJS_VERSION }}
registry-url: "https://npm.pkg.github.com/"

- run: cat /home/runner/work/_temp/.npmrc

- run: sed -i 's/npm.pkg.github.com\/:_authToken=${NODE_AUTH_TOKEN}/npm.pkg.github.com\/:_authToken=${GITHUB_TOKEN}/' /home/runner/work/_temp/.npmrc

- run: cat /home/runner/work/_temp/.npmrc

- name: ./tools/ci.sh
run: ./tools/ci.sh
env:
DEV_BUILD_DISABLED: false
FULL_BUILD_DISABLED: false
JEST_TEST_RUNNER_DISABLED: true
TAPE_TEST_RUNNER_DISABLED: true

- name: lerna-publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.email "npm-ci@hyperledger.org"
git config --global user.name "hyperledger-ghci"
npm whoami
yarn lerna publish from-git --yes --loglevel=debug --ignore-scripts
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
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.5](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.4...v2.0.0-rc.5) (2024-09-30)

### Bug Fixes

* **openapi:** openapi-generator-ignore file ([4df1211](https://github.com/hyperledger/cacti/commit/4df1211d0bdaa75467eaf71b2bc6e5b9d79676b4))
* **weaver-corda:** added duplicate handling strategy in build.gradle ([c5bbb33](https://github.com/hyperledger/cacti/commit/c5bbb334aeb34282eb0aeaaf446f50bc785f4982))

### Features

* **cmd-socketio-server:** move to examples as deprecated ([4de8069](https://github.com/hyperledger/cacti/commit/4de806974f0066359cca422561042a55173d3655))

# [2.0.0-rc.4](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2024-09-08)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion RELEASE_MANAGEMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ With VSCode you can do a project wide search & replace where:

- Also double check that the `"version": "?.?.?"` property has been updated in the package.json files all over the packages.

- Finally a generic full-text search project-wide for the previous version string `?.?.?` where you exclude these from the results: `CHANGELOG.md,go.sum,go.mod,yarn.lock,package-lock.json,.yarn/` and then replace the findings with the new version such as `1.1.3`
- Finally a generic full-text search project-wide for the previous version string `?.?.?` where you exclude these from the results: `CHANGELOG.md,go.sum,go.mod,yarn.lock,package-lock.json,.yarn/,weaver/core/relay/Cargo.toml` and then replace the findings with the new version such as `1.1.3`

- update the lock file if necessary
```sh
Expand Down
6 changes: 6 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,12 @@
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.5](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.4...v2.0.0-rc.5) (2024-09-30)

### Features

* **cmd-socketio-server:** move to examples as deprecated ([4de8069](https://github.com/hyperledger/cacti/commit/4de806974f0066359cca422561042a55173d3655))

# [2.0.0-rc.4](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2024-09-08)

**Note:** Version bump only for package @hyperledger/cactus-cmd-socketio-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.4",
"version": "2.0.0-rc.5",
"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.4",
"@hyperledger/cactus-core-api": "2.0.0-rc.4",
"@hyperledger/cactus-common": "2.0.0-rc.5",
"@hyperledger/cactus-core-api": "2.0.0-rc.5",
"@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.4",
"@hyperledger/cactus-test-tooling": "2.0.0-rc.5",
"@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-rc.5](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.4...v2.0.0-rc.5) (2024-09-30)

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

# [2.0.0-rc.4](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2024-09-08)

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

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

# [2.0.0-rc.4](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2024-09-08)

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

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

# [2.0.0-rc.4](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2024-09-08)

**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.4",
"version": "2.0.0-rc.5",
"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.4",
"@hyperledger/cactus-common": "2.0.0-rc.4",
"@hyperledger/cactus-core-api": "2.0.0-rc.4",
"@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0-rc.4",
"@hyperledger/cactus-plugin-consortium-manual": "2.0.0-rc.4",
"@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-rc.4",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-rc.4",
"@hyperledger/cactus-api-client": "2.0.0-rc.5",
"@hyperledger/cactus-common": "2.0.0-rc.5",
"@hyperledger/cactus-core-api": "2.0.0-rc.5",
"@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0-rc.5",
"@hyperledger/cactus-plugin-consortium-manual": "2.0.0-rc.5",
"@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-rc.5",
"@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-rc.5",
"@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-rc.5](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.4...v2.0.0-rc.5) (2024-09-30)

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

# [2.0.0-rc.4](https://github.com/hyperledger/cacti/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2024-09-08)

### Bug Fixes
Expand Down
Loading

0 comments on commit fb3286c

Please sign in to comment.