Skip to content

🔖 Bolt v0.2.3 #174

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

Merged
merged 3 commits into from
Apr 28, 2025
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 21 additions & 17 deletions .github/workflows/publish-bolt-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
with:
toolchain: stable

- name: Install Rust nightly
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly

- name: Cache rust
uses: Swatinem/rust-cache@v2

Expand Down Expand Up @@ -170,23 +175,22 @@ jobs:
NO_VERIFY_FLAG="--no-verify"
fi

cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/utils/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/component/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/component-deserialize/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/component-id/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/system/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/system-input/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/extra-accounts/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/arguments/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/bolt-program/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/delegate/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/programs/bolt-system/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/programs/bolt-component/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/programs/world/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
if [ "${DRY_RUN}" != "true" ]; then
cargo publish --manifest-path=crates/bolt-cli/Cargo.toml --token $CRATES_TOKEN
fi
cargo +nightly publish -Zpackage-workspace $DRY_RUN_FLAG $NO_VERIFY_FLAG --token $CRATES_TOKEN \
-p world \
-p bolt-cli \
-p bolt-lang \
-p bolt-utils \
-p bolt-system \
-p bolt-component \
-p bolt-attribute-bolt-arguments \
-p bolt-attribute-bolt-component \
-p bolt-attribute-bolt-component-deserialize \
-p bolt-attribute-bolt-component-id \
-p bolt-attribute-bolt-delegate \
-p bolt-attribute-bolt-extra-accounts \
-p bolt-attribute-bolt-program \
-p bolt-attribute-bolt-system \
-p bolt-attribute-bolt-system-input
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
DRY_RUN: ${{ env.DRY_RUN }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish-wrapper-npm-package:
name: Publish wrapper NPM packages
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: publish-npm-binaries
steps:
- name: Checkout
Expand Down
42 changes: 21 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,29 @@ members = [
]

[workspace.package]
version = "0.2.2"
version = "0.2.3"
authors = ["Magicblock Labs <[email protected]>"]
repository = "https://github.com/magicblock-labs/bolt"
homepage = "https://www.magicblock.gg/"
license = "MIT"
edition = "2021"

[workspace.dependencies]
bolt-types = { path = "crates/types", version = "=0.2.2" }
bolt-lang = { path = "crates/bolt-lang", version = "=0.2.2" }
bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.2.2" }
bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.2.2" }
bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.2.2" }
bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.2.2"}
bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.2.2" }
bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.2.2" }
bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.2.2" }
bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.2.2" }
bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.2.2" }
bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.2.2" }
world = { path = "crates/programs/world", features = ["cpi"], version = "=0.2.2"}
bolt-system = { path = "crates/programs/bolt-system", features = ["cpi"], version = "=0.2.2"}
bolt-component = { path = "crates/programs/bolt-component", features = ["cpi"], version = "=0.2.2"}
bolt-types = { path = "crates/types", version = "=0.2.3" }
bolt-lang = { path = "crates/bolt-lang", version = "=0.2.3" }
bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.2.3" }
bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.2.3" }
bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.2.3" }
bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.2.3"}
bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.2.3" }
bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.2.3" }
bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.2.3" }
bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.2.3" }
bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.2.3" }
bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.2.3" }
world = { path = "crates/programs/world", features = ["cpi"], version = "=0.2.3"}
bolt-system = { path = "crates/programs/bolt-system", features = ["cpi"], version = "=0.2.3"}
bolt-component = { path = "crates/programs/bolt-component", features = ["cpi"], version = "=0.2.3"}

## External crates
session-keys = { version = ">=2.0.7", features = ["no-entrypoint"] }
Expand Down
2 changes: 1 addition & 1 deletion clients/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@magicblock-labs/bolt-sdk",
"version": "0.2.2",
"version": "0.2.3",
"description": "Bolt typescript SDK",
"author": "[email protected]",
"license": "MIT",
Expand Down
16 changes: 8 additions & 8 deletions crates/bolt-cli/npm-package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@magicblock-labs/bolt-cli",
"version": "0.2.2",
"version": "0.2.3",
"description": "Bolt CLI tool",
"homepage": "https://github.com/magicblock-labs/bolt#readme",
"bugs": {
Expand All @@ -27,13 +27,13 @@
"prettier": "^3.3.3"
},
"optionalDependencies": {
"@magicblock-labs/bolt-cli-darwin-x64": "0.2.2",
"@magicblock-labs/bolt-cli-darwin-arm64": "0.2.2",
"@magicblock-labs/bolt-cli-linux-x86": "0.2.2",
"@magicblock-labs/bolt-cli-linux-x64": "0.2.2",
"@magicblock-labs/bolt-cli-linux-arm64": "0.2.2",
"@magicblock-labs/bolt-cli-windows-x86": "0.2.2",
"@magicblock-labs/bolt-cli-windows-x64": "0.2.2"
"@magicblock-labs/bolt-cli-darwin-x64": "0.2.3",
"@magicblock-labs/bolt-cli-darwin-arm64": "0.2.3",
"@magicblock-labs/bolt-cli-linux-x86": "0.2.3",
"@magicblock-labs/bolt-cli-linux-x64": "0.2.3",
"@magicblock-labs/bolt-cli-linux-arm64": "0.2.3",
"@magicblock-labs/bolt-cli-windows-x86": "0.2.3",
"@magicblock-labs/bolt-cli-windows-x64": "0.2.3"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion crates/bolt-cli/npm-package/package.json.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@magicblock-labs/${node_pkg}",
"description": "Bolt CLI tool (${node_pkg})",
"version": "0.2.2",
"version": "0.2.3",
"repository": {
"type": "git",
"url": "git+https://github.com/magicblock-labs/bolt.git"
Expand Down
4 changes: 3 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@

## [0.2.2] - 2025-02-24
## [0.2.3] - 2025-04-25

### ✨️ Features
- Updating Bolt client for C# (#129)
- Adding DestroyComponent function (#143)
- Separating apply and apply_with_session (#141)


### 🐛 Bug Fixes
- Fixing async cli commands (#159)

## [0.2.1] - 2025-02-17

Expand Down
26 changes: 26 additions & 0 deletions scripts/test-publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
DRY_RUN="true"
DRY_RUN_FLAG=""
if [ "${DRY_RUN}" = "true" ]; then
DRY_RUN_FLAG="--dry-run"
fi

if [ "${DRY_RUN}" = "true" ]; then
NO_VERIFY_FLAG="--no-verify"
fi

cargo +nightly publish -Zpackage-workspace $DRY_RUN_FLAG $NO_VERIFY_FLAG \
-p world \
-p bolt-cli \
-p bolt-lang \
-p bolt-utils \
-p bolt-system \
-p bolt-component \
-p bolt-attribute-bolt-arguments \
-p bolt-attribute-bolt-component \
-p bolt-attribute-bolt-component-deserialize \
-p bolt-attribute-bolt-component-id \
-p bolt-attribute-bolt-delegate \
-p bolt-attribute-bolt-extra-accounts \
-p bolt-attribute-bolt-program \
-p bolt-attribute-bolt-system \
-p bolt-attribute-bolt-system-input
Loading