diff --git a/.github/workflows/publish-bolt-crates.yml b/.github/workflows/publish-bolt-crates.yml index a32fdda..56d9623 100644 --- a/.github/workflows/publish-bolt-crates.yml +++ b/.github/workflows/publish-bolt-crates.yml @@ -166,6 +166,12 @@ jobs: cargo install --path cli --force --locked bolt build + - name: Generate lib + run: | + cd clients/bolt-sdk + yarn install && yarn build + cd ../.. + - name: run tests run: | export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH" diff --git a/.github/workflows/publish-bolt-sdk.yml b/.github/workflows/publish-bolt-sdk.yml index a929d42..4f03960 100644 --- a/.github/workflows/publish-bolt-sdk.yml +++ b/.github/workflows/publish-bolt-sdk.yml @@ -166,6 +166,12 @@ jobs: cargo install --path cli --force --locked bolt build + - name: Generate lib + run: | + cd clients/bolt-sdk + yarn install && yarn build + cd ../.. + - name: run tests run: | export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH" diff --git a/CHANGELOG.md b/CHANGELOG.md index 8512aaf..fe09086 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ +## [0.1.7] - 2024-06-21 + +### ✨️ Features + - Add manual commit to the typescript sdk (#59) +- Upgrade to Anchor 0.30.1 (#62) + +### 👷 CI/CD + ## [0.1.5] - 2024-04-23 ### 📚 Documentation diff --git a/Cargo.lock b/Cargo.lock index 124e0c7..ceb6160 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -823,7 +823,7 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "bolt-attribute-bolt-arguments" -version = "0.1.6" +version = "0.1.7" dependencies = [ "proc-macro2", "quote", @@ -832,7 +832,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-component" -version = "0.1.6" +version = "0.1.7" dependencies = [ "bolt-utils", "proc-macro2", @@ -842,7 +842,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-component-deserialize" -version = "0.1.6" +version = "0.1.7" dependencies = [ "bolt-utils", "proc-macro2", @@ -852,7 +852,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-component-id" -version = "0.1.6" +version = "0.1.7" dependencies = [ "proc-macro2", "quote", @@ -861,7 +861,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-delegate" -version = "0.1.6" +version = "0.1.7" dependencies = [ "proc-macro2", "quote", @@ -870,7 +870,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-extra-accounts" -version = "0.1.6" +version = "0.1.7" dependencies = [ "proc-macro2", "quote", @@ -879,7 +879,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-program" -version = "0.1.6" +version = "0.1.7" dependencies = [ "proc-macro2", "quote", @@ -888,7 +888,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-system" -version = "0.1.6" +version = "0.1.7" dependencies = [ "proc-macro2", "quote", @@ -897,7 +897,7 @@ dependencies = [ [[package]] name = "bolt-attribute-bolt-system-input" -version = "0.1.6" +version = "0.1.7" dependencies = [ "proc-macro2", "quote", @@ -906,7 +906,7 @@ dependencies = [ [[package]] name = "bolt-cli" -version = "0.1.6" +version = "0.1.7" dependencies = [ "anchor-cli", "anchor-client", @@ -921,7 +921,7 @@ dependencies = [ [[package]] name = "bolt-component" -version = "0.1.6" +version = "0.1.7" dependencies = [ "anchor-lang", "bolt-system", @@ -933,7 +933,7 @@ version = "0.0.1" [[package]] name = "bolt-helpers-system-template" -version = "0.1.6" +version = "0.1.7" dependencies = [ "proc-macro2", "quote", @@ -942,7 +942,7 @@ dependencies = [ [[package]] name = "bolt-helpers-world-apply" -version = "0.1.6" +version = "0.1.7" dependencies = [ "proc-macro2", "quote", @@ -951,7 +951,7 @@ dependencies = [ [[package]] name = "bolt-lang" -version = "0.1.6" +version = "0.1.7" dependencies = [ "ahash 0.8.11", "anchor-lang", @@ -973,7 +973,7 @@ dependencies = [ [[package]] name = "bolt-system" -version = "0.1.6" +version = "0.1.7" dependencies = [ "anchor-lang", "bolt-helpers-system-template", @@ -989,7 +989,7 @@ dependencies = [ [[package]] name = "bolt-utils" -version = "0.1.6" +version = "0.1.7" dependencies = [ "proc-macro2", "quote", @@ -3147,7 +3147,7 @@ dependencies = [ [[package]] name = "position" -version = "0.1.6" +version = "0.1.7" dependencies = [ "anchor-lang", "bolt-lang", @@ -5267,7 +5267,7 @@ dependencies = [ [[package]] name = "system-apply-velocity" -version = "0.1.6" +version = "0.1.7" dependencies = [ "anchor-lang", "anchor-spl", @@ -5299,7 +5299,7 @@ dependencies = [ [[package]] name = "system-fly" -version = "0.1.6" +version = "0.1.7" dependencies = [ "anchor-lang", "bolt-lang", @@ -5308,7 +5308,7 @@ dependencies = [ [[package]] name = "system-simple-movement" -version = "0.1.6" +version = "0.1.7" dependencies = [ "anchor-lang", "bolt-lang", @@ -5829,7 +5829,7 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "velocity" -version = "0.1.6" +version = "0.1.7" dependencies = [ "anchor-lang", "bolt-lang", @@ -6178,7 +6178,7 @@ dependencies = [ [[package]] name = "world" -version = "0.1.6" +version = "0.1.7" dependencies = [ "anchor-lang", "bolt-component", diff --git a/Cargo.toml b/Cargo.toml index eb743ac..49b5aca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ ] [workspace.package] -version = "0.1.6" +version = "0.1.7" authors = ["Magicblock Labs "] repository = "https://github.com/magicblock-labs/bolt" homepage = "https://www.magicblock.gg/" @@ -15,21 +15,21 @@ license = "MIT" edition = "2021" [workspace.dependencies] -bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.1.6" } -bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.1.6" } -bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.1.6" } -bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.1.6"} -bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.1.6" } -bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.1.6" } -bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.1.6" } -bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.1.6" } -bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.1.6" } -bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.1.6" } -bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.1.6" } -bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.1.6" } -world = { path = "programs/world", features = ["cpi"], version = "=0.1.6"} -bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.1.6"} -bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.1.6"} +bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.1.7" } +bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.1.7" } +bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.1.7" } +bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.1.7"} +bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.1.7" } +bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.1.7" } +bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.1.7" } +bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.1.7" } +bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.1.7" } +bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.1.7" } +bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.1.7" } +bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.1.7" } +world = { path = "programs/world", features = ["cpi"], version = "=0.1.7"} +bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.1.7"} +bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.1.7"} ## External crates anchor-lang = { version = "=0.30.1", features = ["init-if-needed"] } diff --git a/cli/npm-package/package.json b/cli/npm-package/package.json index f8c02b8..897bc7c 100644 --- a/cli/npm-package/package.json +++ b/cli/npm-package/package.json @@ -1,6 +1,6 @@ { "name": "@magicblock-labs/bolt-cli", - "version": "0.1.6", + "version": "0.1.7", "description": "Bolt CLI tool", "homepage": "https://github.com/magicblock-labs/bolt#readme", "bugs": { @@ -29,13 +29,13 @@ "typescript": "^4.9.4" }, "optionalDependencies": { - "@magicblock-labs/bolt-cli-darwin-x64": "0.1.6", - "@magicblock-labs/bolt-cli-darwin-arm64": "0.1.6", - "@magicblock-labs/bolt-cli-linux-x86": "0.1.6", - "@magicblock-labs/bolt-cli-linux-x64": "0.1.6", - "@magicblock-labs/bolt-cli-linux-arm64": "0.1.6", - "@magicblock-labs/bolt-cli-windows-x86": "0.1.6", - "@magicblock-labs/bolt-cli-windows-x64": "0.1.6" + "@magicblock-labs/bolt-cli-darwin-x64": "0.1.7", + "@magicblock-labs/bolt-cli-darwin-arm64": "0.1.7", + "@magicblock-labs/bolt-cli-linux-x86": "0.1.7", + "@magicblock-labs/bolt-cli-linux-x64": "0.1.7", + "@magicblock-labs/bolt-cli-linux-arm64": "0.1.7", + "@magicblock-labs/bolt-cli-windows-x86": "0.1.7", + "@magicblock-labs/bolt-cli-windows-x64": "0.1.7" }, "publishConfig": { "access": "public" diff --git a/cli/npm-package/package.json.tmpl b/cli/npm-package/package.json.tmpl index 753812a..882406e 100644 --- a/cli/npm-package/package.json.tmpl +++ b/cli/npm-package/package.json.tmpl @@ -1,7 +1,7 @@ { "name": "@magicblock-labs/${node_pkg}", "description": "Bolt CLI tool (${node_pkg})", - "version": "0.1.6", + "version": "0.1.7", "repository": { "type": "git", "url": "git+https://github.com/magicblock-labs/bolt.git" diff --git a/clients/bolt-sdk/package.json b/clients/bolt-sdk/package.json index 8f0509d..8db29a0 100644 --- a/clients/bolt-sdk/package.json +++ b/clients/bolt-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@magicblock-labs/bolt-sdk", - "version": "0.1.6", + "version": "0.1.7", "description": "Bolt typescript SDK", "author": "dev@magicblock.gg", "license": "MIT",