Skip to content

Commit

Permalink
🔖 Release v0.1.2 (#37)
Browse files Browse the repository at this point in the history
* ✨ Add build targets

* 🔖 Bump version to 0.1.2

* 🐛 Add version dependendy in order to publish the crate
  • Loading branch information
GabrielePicco authored Apr 2, 2024
1 parent 12eb5b0 commit 0ba54cf
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 49 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,36 @@ jobs:
TOOLCHAIN: stable,
TARGET: x86_64-unknown-linux-gnu,
}
- {
NAME: linux-x64-musl,
OS: ubuntu-22.04,
TOOLCHAIN: stable,
TARGET: x86_64-unknown-linux-musl,
}
- {
NAME: linux-x86-glibc,
OS: ubuntu-22.04,
TOOLCHAIN: stable,
TARGET: i686-unknown-linux-gnu,
}
- {
NAME: linux-x86-musl,
OS: ubuntu-22.04,
TOOLCHAIN: stable,
TARGET: i686-unknown-linux-musl,
}
- {
NAME: linux-arm64-glibc,
OS: ubuntu-20.04,
TOOLCHAIN: stable,
TARGET: aarch64-unknown-linux-gnu,
}
- {
NAME: linux-arm64-musl,
OS: ubuntu-20.04,
TOOLCHAIN: stable,
TARGET: aarch64-unknown-linux-musl,
}
- {
NAME: win32-x64-msvc,
OS: windows-2022,
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@

## [0.1.2] - 2024-04-02

### ✨️ Features
- Simplify the Bolt typescript Sdk (#36)
- Simplify system arguments (#35)
- Simplify component_deserialize macro (#34)
- 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

## [0.1.1] - 2024-03-09

### ✨️ Features
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.

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

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

[workspace.dependencies]
bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.1.1" }
bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.1.1" }
bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.1.1"}
bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.1.1" }
bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.1.1" }
bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.1.1" }
bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.1.1" }
bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.1.1" }
bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.1.1" }
bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.1.1" }
bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.1.1" }
world = { path = "programs/world", features = ["cpi"], version = "=0.1.1"}
bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.1.1"}
bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.1.1"}
bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.1.2" }
bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.1.2" }
bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.1.2"}
bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.1.2" }
bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.1.2" }
bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.1.2" }
bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.1.2" }
bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.1.2" }
bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.1.2" }
bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.1.2" }
bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.1.2" }
world = { path = "programs/world", features = ["cpi"], version = "=0.1.2"}
bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.1.2"}
bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.1.2"}

## External crates
anchor-lang = { git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909", features = ["init-if-needed"] }
anchor-spl = { git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909" }
anchor-lang = { version = "0.29.0", git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909", features = ["init-if-needed"] }
anchor-spl = { version = "0.29.0", git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909" }
solana-security-txt = "1.1.1"
tuple-conv = "1.0.1"
syn = { version = "1.0.60", features = ["full"] }
Expand Down
19 changes: 11 additions & 8 deletions 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.1.1",
"version": "0.1.2",
"description": "Bolt CLI tool",
"homepage": "https://github.com/magicblock-labs/bolt#readme",
"bugs": {
Expand Down Expand Up @@ -29,13 +29,16 @@
"typescript": "^4.9.4"
},
"optionalDependencies": {
"@magicblock-labs/bolt-cli-darwin-x64": "0.1.1",
"@magicblock-labs/bolt-cli-darwin-arm64": "0.1.1",
"@magicblock-labs/bolt-cli-linux-x86": "0.1.1",
"@magicblock-labs/bolt-cli-linux-x64": "0.1.1",
"@magicblock-labs/bolt-cli-linux-arm64": "0.1.1",
"@magicblock-labs/bolt-cli-windows-x86": "0.1.1",
"@magicblock-labs/bolt-cli-windows-x64": "0.1.1"
"@magicblock-labs/bolt-cli-darwin-x64": "0.1.2",
"@magicblock-labs/bolt-cli-darwin-arm64": "0.1.2",
"@magicblock-labs/bolt-cli-linux-x86": "0.1.2",
"@magicblock-labs/bolt-cli-linux-x64": "0.1.2",
"@magicblock-labs/bolt-cli-linux-arm64": "0.1.2",
"@magicblock-labs/bolt-cli-windows-x86": "0.1.2",
"@magicblock-labs/bolt-cli-windows-x64": "0.1.2",
"@magicblock-labs/bolt-cli-linux-x64-musl": "0.1.2",
"@magicblock-labs/bolt-cli-linux-x86-musl": "0.1.2",
"@magicblock-labs/bolt-cli-linux-arm64-musl": "0.1.2"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion 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.1.1",
"version": "0.1.2",
"repository": {
"type": "git",
"url": "git+https://github.com/magicblock-labs/bolt.git"
Expand Down
2 changes: 1 addition & 1 deletion cli/src/rust_template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::path::{Path, PathBuf};
// Anchor CLI version
// TODO: use the stable version once the new IDL standard is released
pub const ANCHOR_CLI_VERSION: &str =
"{ git = \"https://github.com/coral-xyz/anchor.git\", rev = \"0f60909\" }";
"{ git = { version = \"0.29.0\", \"https://github.com/coral-xyz/anchor.git\", rev = \"0f60909\" }";
pub const TS_ANCHOR_VERSION: &str = "0.29.1";

/// Create a component from the given name.
Expand Down
2 changes: 1 addition & 1 deletion clients/bolt-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@magicblock-labs/bolt-sdk",
"version": "0.1.1",
"version": "0.1.2",
"description": "Bolt typescript SDK",
"author": "[email protected]",
"license": "MIT",
Expand Down

0 comments on commit 0ba54cf

Please sign in to comment.