From 83c096165325b8a533d252d0c66998599c51ef35 Mon Sep 17 00:00:00 2001 From: Danilo Guanabara Date: Wed, 17 Sep 2025 19:08:26 -0300 Subject: [PATCH 1/2] :bookmark: Bolt v0.2.5 --- Cargo.lock | 46 +++++++++---------- Cargo.toml | 36 +++++++-------- clients/typescript/package.json | 2 +- crates/bolt-cli/npm-package/package.json | 16 +++---- crates/bolt-cli/npm-package/package.json.tmpl | 2 +- docs/CHANGELOG.md | 24 +++++++++- examples/component-small/Cargo.toml | 2 +- examples/escrow-funding/Cargo.toml | 2 +- 8 files changed, 76 insertions(+), 54 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d2d96735..414c36c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -774,7 +774,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-arguments" -version = "0.2.4" +version = "0.2.5" dependencies = [ "proc-macro2", "quote", @@ -783,7 +783,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-component" -version = "0.2.4" +version = "0.2.5" dependencies = [ "bolt-utils", "heck 0.5.0", @@ -794,7 +794,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-component-deserialize" -version = "0.2.4" +version = "0.2.5" dependencies = [ "bolt-utils", "proc-macro2", @@ -804,7 +804,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-component-id" -version = "0.2.4" +version = "0.2.5" dependencies = [ "proc-macro2", "quote", @@ -813,7 +813,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-delegate" -version = "0.2.4" +version = "0.2.5" dependencies = [ "proc-macro2", "quote", @@ -822,7 +822,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-extra-accounts" -version = "0.2.4" +version = "0.2.5" dependencies = [ "proc-macro2", "quote", @@ -831,7 +831,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-program" -version = "0.2.4" +version = "0.2.5" dependencies = [ "proc-macro2", "quote", @@ -840,7 +840,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-system" -version = "0.2.4" +version = "0.2.5" dependencies = [ "proc-macro2", "quote", @@ -849,7 +849,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-system-input" -version = "0.2.4" +version = "0.2.5" dependencies = [ "proc-macro2", "quote", @@ -858,7 +858,7 @@ dependencies = [ [[package]] name = "bolt-cli" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anchor-cli", "anchor-client", @@ -878,7 +878,7 @@ dependencies = [ [[package]] name = "bolt-component" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anchor-lang", "bolt-system", @@ -886,7 +886,7 @@ dependencies = [ [[package]] name = "bolt-lang" -version = "0.2.4" +version = "0.2.5" dependencies = [ "ahash", "anchor-lang", @@ -913,21 +913,21 @@ dependencies = [ [[package]] name = "bolt-system" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anchor-lang", ] [[package]] name = "bolt-types" -version = "0.2.4" +version = "0.2.5" dependencies = [ "bolt-lang", ] [[package]] name = "bolt-utils" -version = "0.2.4" +version = "0.2.5" dependencies = [ "proc-macro2", "quote", @@ -1260,7 +1260,7 @@ dependencies = [ [[package]] name = "component-small" -version = "0.2.4" +version = "0.2.5" dependencies = [ "bolt-lang", ] @@ -1844,7 +1844,7 @@ dependencies = [ [[package]] name = "escrow-funding" -version = "0.2.4" +version = "0.2.5" dependencies = [ "bolt-lang", "component-small", @@ -3314,7 +3314,7 @@ dependencies = [ [[package]] name = "position" -version = "0.2.4" +version = "0.2.5" dependencies = [ "bolt-lang", ] @@ -5873,7 +5873,7 @@ dependencies = [ [[package]] name = "system-apply-velocity" -version = "0.2.4" +version = "0.2.5" dependencies = [ "bolt-lang", "mpl-token-metadata", @@ -5904,7 +5904,7 @@ dependencies = [ [[package]] name = "system-fly" -version = "0.2.4" +version = "0.2.5" dependencies = [ "bolt-lang", "position", @@ -5912,7 +5912,7 @@ dependencies = [ [[package]] name = "system-simple-movement" -version = "0.2.4" +version = "0.2.5" dependencies = [ "bolt-lang", "bolt-types", @@ -6445,7 +6445,7 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "velocity" -version = "0.2.4" +version = "0.2.5" dependencies = [ "bolt-lang", ] @@ -7089,7 +7089,7 @@ dependencies = [ [[package]] name = "world" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anchor-lang", "bolt-component", diff --git a/Cargo.toml b/Cargo.toml index c1779191..3ce5e9ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ members = [ ] [workspace.package] -version = "0.2.4" +version = "0.2.5" authors = ["Magicblock Labs "] repository = "https://github.com/magicblock-labs/bolt" homepage = "https://www.magicblock.gg/" @@ -19,23 +19,23 @@ license = "MIT" edition = "2021" [workspace.dependencies] -bolt-types = { path = "crates/types", version = "=0.2.4" } -bolt-lang = { path = "crates/bolt-lang", version = "=0.2.4" } -bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.2.4" } -bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.2.4" } -bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.2.4" } -bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.2.4"} -bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.2.4" } -bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.2.4" } -bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.2.4" } -bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.2.4" } -bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.2.4" } -bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.2.4" } -world = { path = "crates/programs/world", features = ["cpi"], version = "=0.2.4"} -bolt-system = { path = "crates/programs/bolt-system", features = ["cpi"], version = "=0.2.4"} -bolt-component = { path = "crates/programs/bolt-component", features = ["cpi"], version = "=0.2.4"} -component-large = { path = "examples/component-large", features = ["cpi"], version = "=0.2.4"} -component-small = { path = "examples/component-small", features = ["cpi"], version = "=0.2.4"} +bolt-types = { path = "crates/types", version = "=0.2.5" } +bolt-lang = { path = "crates/bolt-lang", version = "=0.2.5" } +bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.2.5" } +bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.2.5" } +bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.2.5" } +bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.2.5"} +bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.2.5" } +bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.2.5" } +bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.2.5" } +bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.2.5" } +bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.2.5" } +bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.2.5" } +world = { path = "crates/programs/world", features = ["cpi"], version = "=0.2.5"} +bolt-system = { path = "crates/programs/bolt-system", features = ["cpi"], version = "=0.2.5"} +bolt-component = { path = "crates/programs/bolt-component", features = ["cpi"], version = "=0.2.5"} +component-large = { path = "examples/component-large", features = ["cpi"], version = "=0.2.5"} +component-small = { path = "examples/component-small", features = ["cpi"], version = "=0.2.5"} ## External crates session-keys = { version = "^2", features = ["no-entrypoint"] } diff --git a/clients/typescript/package.json b/clients/typescript/package.json index 7ddb6a69..f9cd13dd 100644 --- a/clients/typescript/package.json +++ b/clients/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@magicblock-labs/bolt-sdk", - "version": "0.2.4", + "version": "0.2.5", "description": "Bolt typescript SDK", "author": "dev@magicblock.gg", "license": "MIT", diff --git a/crates/bolt-cli/npm-package/package.json b/crates/bolt-cli/npm-package/package.json index cff4138e..c364a061 100644 --- a/crates/bolt-cli/npm-package/package.json +++ b/crates/bolt-cli/npm-package/package.json @@ -1,6 +1,6 @@ { "name": "@magicblock-labs/bolt-cli", - "version": "0.2.4", + "version": "0.2.5", "description": "Bolt CLI tool", "homepage": "https://github.com/magicblock-labs/bolt#readme", "bugs": { @@ -27,13 +27,13 @@ "prettier": "^3.3.3" }, "optionalDependencies": { - "@magicblock-labs/bolt-cli-darwin-x64": "0.2.4", - "@magicblock-labs/bolt-cli-darwin-arm64": "0.2.4", - "@magicblock-labs/bolt-cli-linux-x86": "0.2.4", - "@magicblock-labs/bolt-cli-linux-x64": "0.2.4", - "@magicblock-labs/bolt-cli-linux-arm64": "0.2.4", - "@magicblock-labs/bolt-cli-windows-x86": "0.2.4", - "@magicblock-labs/bolt-cli-windows-x64": "0.2.4" + "@magicblock-labs/bolt-cli-darwin-x64": "0.2.5", + "@magicblock-labs/bolt-cli-darwin-arm64": "0.2.5", + "@magicblock-labs/bolt-cli-linux-x86": "0.2.5", + "@magicblock-labs/bolt-cli-linux-x64": "0.2.5", + "@magicblock-labs/bolt-cli-linux-arm64": "0.2.5", + "@magicblock-labs/bolt-cli-windows-x86": "0.2.5", + "@magicblock-labs/bolt-cli-windows-x64": "0.2.5" }, "publishConfig": { "access": "public" diff --git a/crates/bolt-cli/npm-package/package.json.tmpl b/crates/bolt-cli/npm-package/package.json.tmpl index 36b43b31..fe29e415 100644 --- a/crates/bolt-cli/npm-package/package.json.tmpl +++ b/crates/bolt-cli/npm-package/package.json.tmpl @@ -1,7 +1,7 @@ { "name": "@magicblock-labs/${node_pkg}", "description": "Bolt CLI tool (${node_pkg})", - "version": "0.2.4", + "version": "0.2.5", "repository": { "type": "git", "url": "git+https://github.com/magicblock-labs/bolt.git" diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index e58ff113..32fbeba6 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,4 +1,26 @@ +## [0.2.5] - 2025-09-17 + +### โœจ๏ธ Features + - CPI Authentication using a World PDA (#196) + + +### ๐Ÿ› Bug Fixes + - Fixing extra accounts lifetime (#201) + - Fix: improve error handling in ephemeral validator (#189) +Co-authored-by: Gabriele Picco +Co-authored-by: Danilo Guanabara + - Fix link README.md (#183) +Co-authored-by: Gabriele Picco + +### ๐Ÿ“š Documentation + - Docs: fix typos (#193) +Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> + +### ๐Ÿงช Testing + - Test validator (#176) +Co-authored-by: Danilo Guanabara + ## [0.2.4] - 2025-07-23 ### ๐Ÿ“š Documentation @@ -151,7 +173,7 @@ Make the CI run `yarn build` before testing - Upgrade to latest anchor version, supporting the new IDL sโ€ฆ (#33) - Propagate signing authority to the systems (#31) - Macro to define and access extra accounts (#26) -Inject extra account init fn with th system macro, to generate a correct idl which contains also the extra accounts +Inject extra account init fn with th system macro, to generate a correct idl wich contains also the extra accounts ## [0.1.1] - 2024-03-09 diff --git a/examples/component-small/Cargo.toml b/examples/component-small/Cargo.toml index 4b8a50f5..5dfb4fdb 100644 --- a/examples/component-small/Cargo.toml +++ b/examples/component-small/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "component-small" -version = "0.2.4" +version.workspace = true description = "Created with Bolt" edition = "2021" diff --git a/examples/escrow-funding/Cargo.toml b/examples/escrow-funding/Cargo.toml index 4b13fe3a..f817d213 100644 --- a/examples/escrow-funding/Cargo.toml +++ b/examples/escrow-funding/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "escrow-funding" -version = "0.2.4" +version.workspace = true description = "Created with Bolt" edition = "2021" From ab8e3fe019f57cb24e97bc4a7cdbfd5d6397e894 Mon Sep 17 00:00:00 2001 From: Danilo Guanabara Date: Wed, 17 Sep 2025 22:51:48 -0300 Subject: [PATCH 2/2] Update docs/CHANGELOG.md Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- docs/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 32fbeba6..43a90fb2 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -173,7 +173,7 @@ Make the CI run `yarn build` before testing - Upgrade to latest anchor version, supporting the new IDL sโ€ฆ (#33) - Propagate signing authority to the systems (#31) - Macro to define and access extra accounts (#26) -Inject extra account init fn with th system macro, to generate a correct idl wich contains also the extra accounts +Inject extra account init fn with th system macro, to generate a correct idl which contains also the extra accounts ## [0.1.1] - 2024-03-09