Browse Source

release: v0.1.11 (#112)

Danilo Guanabara 10 months ago
parent
commit
c22a97c125

+ 4 - 1
.github/workflows/publish-bolt-crates.yml

@@ -157,7 +157,7 @@ jobs:
       - name: Check versions are aligned
         run: |
           # Fails if versions are not aligned
-          cargo install git-cliff
+          cargo install git-cliff@2.6.1 --locked
           ./version-align.sh --check
 
       - name: run build
@@ -205,6 +205,9 @@ jobs:
           cargo publish $DRY_RUN_FLAG --manifest-path=programs/bolt-component/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
           cargo publish $DRY_RUN_FLAG --manifest-path=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=cli/Cargo.toml --token $CRATES_TOKEN
+          fi
         env:
           CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
           DRY_RUN: ${{ env.DRY_RUN }}

+ 1 - 1
.github/workflows/publish-bolt-sdk.yml

@@ -157,7 +157,7 @@ jobs:
       - name: Check versions are aligned
         run: |
           # Fails if versions are not aligned
-          cargo install git-cliff
+          cargo install git-cliff@2.6.1 --locked
           ./version-align.sh --check
 
       - name: run build

+ 1 - 1
.github/workflows/publish-packages.yml

@@ -109,7 +109,7 @@ jobs:
       - name: Check versions are aligned
         run: |
           # Fails if versions are not aligned
-          cargo install git-cliff
+          cargo install git-cliff@2.6.1 --locked
           ./version-align.sh --check
 
       - name: Build the NPM package

+ 14 - 1
CHANGELOG.md

@@ -1,5 +1,18 @@
 
-## [0.1.10] - 2024-10-04
+## [0.1.11] - 2024-12-04
+
+
+### 🐛 Bug Fixes
+
+### 📚 Documentation
+
+### 👷 CI/CD
+ - Reorganizing templates, using bolt.workspace an… (#95)
+
+### ♻️ Refactor
+ - Fixing test template, broken after code refactor (#93)
+
+## [0.1.10] - 2024-10-05
 
 ### 👷 CI/CD
 

+ 46 - 46
Cargo.lock

@@ -834,7 +834,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-arguments"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -855,9 +855,9 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-component"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
- "bolt-utils 0.1.10",
+ "bolt-utils 0.1.11",
  "proc-macro2",
  "quote",
  "syn 1.0.109",
@@ -877,9 +877,9 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-component-deserialize"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
- "bolt-utils 0.1.10",
+ "bolt-utils 0.1.11",
  "proc-macro2",
  "quote",
  "syn 1.0.109",
@@ -898,7 +898,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-component-id"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -918,7 +918,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-delegate"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -938,7 +938,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-extra-accounts"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -958,7 +958,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-program"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -978,7 +978,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-system"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -998,7 +998,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-system-input"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -1007,7 +1007,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-cli"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "anchor-cli",
  "anchor-client",
@@ -1018,7 +1018,7 @@ dependencies = [
  "heck 0.5.0",
  "serde_json",
  "syn 1.0.109",
- "world 0.1.10",
+ "world 0.1.11",
 ]
 
 [[package]]
@@ -1033,10 +1033,10 @@ dependencies = [
 
 [[package]]
 name = "bolt-component"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "anchor-lang",
- "bolt-system 0.1.10",
+ "bolt-system 0.1.11",
 ]
 
 [[package]]
@@ -1056,7 +1056,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-helpers-system-template"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -1076,7 +1076,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-helpers-world-apply"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -1109,24 +1109,24 @@ dependencies = [
 
 [[package]]
 name = "bolt-lang"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "ahash 0.8.11",
  "anchor-lang",
- "bolt-attribute-bolt-arguments 0.1.10",
- "bolt-attribute-bolt-component 0.1.10",
- "bolt-attribute-bolt-component-deserialize 0.1.10",
- "bolt-attribute-bolt-component-id 0.1.10",
- "bolt-attribute-bolt-delegate 0.1.10",
- "bolt-attribute-bolt-extra-accounts 0.1.10",
- "bolt-attribute-bolt-program 0.1.10",
- "bolt-attribute-bolt-system 0.1.10",
- "bolt-attribute-bolt-system-input 0.1.10",
- "bolt-system 0.1.10",
+ "bolt-attribute-bolt-arguments 0.1.11",
+ "bolt-attribute-bolt-component 0.1.11",
+ "bolt-attribute-bolt-component-deserialize 0.1.11",
+ "bolt-attribute-bolt-component-id 0.1.11",
+ "bolt-attribute-bolt-delegate 0.1.11",
+ "bolt-attribute-bolt-extra-accounts 0.1.11",
+ "bolt-attribute-bolt-program 0.1.11",
+ "bolt-attribute-bolt-system 0.1.11",
+ "bolt-attribute-bolt-system-input 0.1.11",
+ "bolt-system 0.1.11",
  "ephemeral-rollups-sdk",
  "serde",
  "serde_json",
- "world 0.1.10",
+ "world 0.1.11",
 ]
 
 [[package]]
@@ -1141,10 +1141,10 @@ dependencies = [
 
 [[package]]
 name = "bolt-system"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "anchor-lang",
- "bolt-helpers-system-template 0.1.10",
+ "bolt-helpers-system-template 0.1.11",
 ]
 
 [[package]]
@@ -1168,7 +1168,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-utils"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -3363,10 +3363,10 @@ dependencies = [
 
 [[package]]
 name = "position"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "anchor-lang",
- "bolt-lang 0.1.10",
+ "bolt-lang 0.1.11",
 ]
 
 [[package]]
@@ -5484,11 +5484,11 @@ dependencies = [
 
 [[package]]
 name = "system-apply-velocity"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "anchor-lang",
  "anchor-spl",
- "bolt-lang 0.1.10",
+ "bolt-lang 0.1.11",
  "position",
  "velocity",
 ]
@@ -5516,19 +5516,19 @@ dependencies = [
 
 [[package]]
 name = "system-fly"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "anchor-lang",
- "bolt-lang 0.1.10",
+ "bolt-lang 0.1.11",
  "position",
 ]
 
 [[package]]
 name = "system-simple-movement"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "anchor-lang",
- "bolt-lang 0.1.10",
+ "bolt-lang 0.1.11",
  "bolt-types",
  "serde",
 ]
@@ -6035,10 +6035,10 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
 
 [[package]]
 name = "velocity"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "anchor-lang",
- "bolt-lang 0.1.10",
+ "bolt-lang 0.1.11",
 ]
 
 [[package]]
@@ -6408,12 +6408,12 @@ dependencies = [
 
 [[package]]
 name = "world"
-version = "0.1.10"
+version = "0.1.11"
 dependencies = [
  "anchor-lang",
- "bolt-component 0.1.10",
- "bolt-helpers-world-apply 0.1.10",
- "bolt-system 0.1.10",
+ "bolt-component 0.1.11",
+ "bolt-helpers-world-apply 0.1.11",
+ "bolt-system 0.1.11",
  "solana-security-txt",
  "tuple-conv",
 ]

+ 16 - 16
Cargo.toml

@@ -8,7 +8,7 @@ members = [
 ]
 
 [workspace.package]
-version = "0.1.10"
+version = "0.1.11"
 authors = ["Magicblock Labs <dev@magicblock.gg>"]
 repository = "https://github.com/magicblock-labs/bolt"
 homepage = "https://www.magicblock.gg/"
@@ -16,21 +16,21 @@ license = "MIT"
 edition = "2021"
 
 [workspace.dependencies]
-bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.1.10" }
-bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.1.10" }
-bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.1.10" }
-bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.1.10"}
-bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.1.10" }
-bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.1.10" }
-bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.1.10" }
-bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.1.10" }
-bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.1.10" }
-bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.1.10" }
-bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.1.10" }
-bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.1.10" }
-world = { path = "programs/world", features = ["cpi"], version = "=0.1.10"}
-bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.1.10"}
-bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.1.10"}
+bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.1.11" }
+bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.1.11" }
+bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.1.11" }
+bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.1.11"}
+bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.1.11" }
+bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.1.11" }
+bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.1.11" }
+bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.1.11" }
+bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.1.11" }
+bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.1.11" }
+bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.1.11" }
+bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.1.11" }
+world = { path = "programs/world", features = ["cpi"], version = "=0.1.11"}
+bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.1.11"}
+bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.1.11"}
 
 ## External crates
 anchor-lang = { version = "=0.30.1", features = ["init-if-needed"] }

+ 8 - 8
cli/npm-package/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@magicblock-labs/bolt-cli",
-  "version": "0.1.10",
+  "version": "0.1.11",
   "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.1.10",
-    "@magicblock-labs/bolt-cli-darwin-arm64": "0.1.10",
-    "@magicblock-labs/bolt-cli-linux-x86": "0.1.10",
-    "@magicblock-labs/bolt-cli-linux-x64": "0.1.10",
-    "@magicblock-labs/bolt-cli-linux-arm64": "0.1.10",
-    "@magicblock-labs/bolt-cli-windows-x86": "0.1.10",
-    "@magicblock-labs/bolt-cli-windows-x64": "0.1.10"
+    "@magicblock-labs/bolt-cli-darwin-x64": "0.1.11",
+    "@magicblock-labs/bolt-cli-darwin-arm64": "0.1.11",
+    "@magicblock-labs/bolt-cli-linux-x86": "0.1.11",
+    "@magicblock-labs/bolt-cli-linux-x64": "0.1.11",
+    "@magicblock-labs/bolt-cli-linux-arm64": "0.1.11",
+    "@magicblock-labs/bolt-cli-windows-x86": "0.1.11",
+    "@magicblock-labs/bolt-cli-windows-x64": "0.1.11"
   },
   "publishConfig": {
     "access": "public"

+ 1 - 1
cli/npm-package/package.json.tmpl

@@ -1,7 +1,7 @@
 {
   "name": "@magicblock-labs/${node_pkg}",
   "description": "Bolt CLI tool (${node_pkg})",
-  "version": "0.1.10",
+  "version": "0.1.11",
   "repository": {
     "type": "git",
     "url": "git+https://github.com/magicblock-labs/bolt.git"

+ 1 - 1
clients/bolt-sdk/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@magicblock-labs/bolt-sdk",
-  "version": "0.1.10",
+  "version": "0.1.11",
   "description": "Bolt typescript SDK",
   "author": "dev@magicblock.gg",
   "license": "MIT",