diff --git a/.changeset/pre.json b/.changeset/pre.json index 4fcffc05..5e965d78 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -30,6 +30,7 @@ "busy-weeks-flash", "calm-comics-mate", "calm-ends-follow", + "cartesi-toml-env-config", "chatty-results-pull", "chilly-ducks-work", "chubby-eagles-mate", @@ -101,6 +102,7 @@ "good-turkeys-speak", "gorgeous-apples-move", "great-jeans-bake", + "great-ride-unrxja", "green-masks-accept", "green-planets-lie", "grumpy-knives-exist", @@ -198,6 +200,7 @@ "shaggy-guests-look", "shaggy-months-lose", "shaky-plants-live", + "shiny-tables-divide", "shy-hoops-look", "silent-ends-hope", "silly-avocados-look", @@ -245,6 +248,7 @@ "upset-news-ask", "upset-ravens-taste", "upset-snails-attack", + "vast-kids-read", "warm-bugs-burn", "weak-tigers-shine", "wet-drinks-fail", diff --git a/apps/cli/CHANGELOG.md b/apps/cli/CHANGELOG.md index b69406b6..aff408f0 100644 --- a/apps/cli/CHANGELOG.md +++ b/apps/cli/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 2.0.0-alpha.36 + +### Minor Changes + +- 5625142: feat: support `env` and `env_file` in the `[machine]` section of `cartesi.toml` + + Environment variables can now be injected into the Cartesi Machine build + without relying solely on the Dockerfile `ENV`. Define an `env` table with + inline key/value pairs and/or point `env_file` at a `.env` file. Precedence, + from lowest to highest, is: Docker image `ENV` (when `use_docker_env` is + enabled), `env_file`, then the `env` table. + +- 3415ff8: allow `address-book` to print a single contract's address when given its name (useful for shell scripting instead of `--json` + `jq`) + +### Patch Changes + +- 69d59d7: Print logs of the build process when passing --verbose to the build command. It also uses the buildx-metadata generated to recover the image-id not relying on the stdout regardless of the value passed to the --progress flag. + ## 2.0.0-alpha.35 ### Patch Changes diff --git a/apps/cli/package.json b/apps/cli/package.json index 95ad6649..71deb8ae 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cartesi/cli", - "version": "2.0.0-alpha.35", + "version": "2.0.0-alpha.36", "description": "Cartesi CLI", "author": "Danilo Tuler ", "bin": { @@ -42,7 +42,7 @@ "yaml": "^2.8.2" }, "devDependencies": { - "@cartesi/devnet": "2.0.0-alpha.14", + "@cartesi/devnet": "2.0.0-alpha.15", "@sunodo/wagmi-plugin-hardhat-deploy": "^0.4.0", "@types/bun": "^1.3.6", "@types/bytes": "^3.1.5", diff --git a/packages/devnet/CHANGELOG.md b/packages/devnet/CHANGELOG.md index fef84b32..49714d2b 100644 --- a/packages/devnet/CHANGELOG.md +++ b/packages/devnet/CHANGELOG.md @@ -1,5 +1,11 @@ # devnet +## 2.0.0-alpha.15 + +### Patch Changes + +- 4a19328: Refactor anvil version detection by normalizing the stdout and recovering a clean semver of the normalized object. Throws errors to provide feedback accordingly. + ## 2.0.0-alpha.14 ### Patch Changes diff --git a/packages/devnet/package.json b/packages/devnet/package.json index 137c9287..57a55e6c 100644 --- a/packages/devnet/package.json +++ b/packages/devnet/package.json @@ -1,6 +1,6 @@ { "name": "@cartesi/devnet", - "version": "2.0.0-alpha.14", + "version": "2.0.0-alpha.15", "license": "Apache-2.0", "repository": "cartesi/cli", "scripts": {