Skip to content

chore: bump starknetjs version to v7 (#440) #462

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

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [
Expand Down
15 changes: 15 additions & 0 deletions .changeset/eager-eggs-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@dojoengine/predeployed-connector": patch
"@dojoengine/create-burner": patch
"@dojoengine/torii-client": patch
"@dojoengine/create-dojo": patch
"@dojoengine/torii-wasm": patch
"@dojoengine/utils-wasm": patch
"@dojoengine/react": patch
"@dojoengine/state": patch
"@dojoengine/utils": patch
"@dojoengine/core": patch
"@dojoengine/sdk": patch
---

fix: github workflow fix
15 changes: 15 additions & 0 deletions .changeset/early-regions-slide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@dojoengine/predeployed-connector": patch
"@dojoengine/create-burner": patch
"@dojoengine/torii-client": patch
"@dojoengine/create-dojo": patch
"@dojoengine/torii-wasm": patch
"@dojoengine/utils-wasm": patch
"@dojoengine/react": patch
"@dojoengine/state": patch
"@dojoengine/utils": patch
"@dojoengine/core": patch
"@dojoengine/sdk": patch
---

chore: bump starknet.js to 7.6.2
15 changes: 15 additions & 0 deletions .changeset/long-papers-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@dojoengine/predeployed-connector": minor
"@dojoengine/create-burner": minor
"@dojoengine/react": minor
"@dojoengine/core": minor
"@dojoengine/create-dojo": minor
"@dojoengine/sdk": minor
"@dojoengine/state": minor
"@dojoengine/torii-client": minor
"@dojoengine/torii-wasm": minor
"@dojoengine/utils": minor
"@dojoengine/utils-wasm": minor
---

chore: bump starknetjs version
40 changes: 40 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"mode": "exit",
"tag": "beta",
"initialVersions": {
"example-node-worker": "0.0.1",
"example-nodejs-bot": "0.0.0",
"example-predeployed-connector": "0.0.0",
"example-vanillajs-phaser-recs": "0.0.0",
"example-vite-experimental-sdk": "0.0.0",
"example-vite-grpc-playground": "0.0.0",
"example-vite-kitchen-sink": "0.1.0",
"example-vite-phaser-sdk": "1.5.4",
"example-vite-react-app-recs": "0.0.1",
"example-vite-react-phaser-recs": "0.1.0",
"example-vite-react-pwa-recs": "0.0.1",
"example-vite-react-sdk": "0.0.0",
"example-vite-react-sql": "1.0.0",
"example-vite-react-threejs-recs": "0.0.1",
"example-vite-svelte-recs": "0.0.0",
"example-vite-token-balance": "0.0.0",
"example-vue-app-recs": "0.0.0",
"@dojoengine/core": "1.6.0-beta.1",
"@dojoengine/create-burner": "1.6.0-beta.1",
"@dojoengine/create-dojo": "1.6.0-beta.1",
"@dojoengine/predeployed-connector": "1.6.0-beta.1",
"@dojoengine/react": "1.6.0-beta.1",
"@dojoengine/sdk": "1.6.0-beta.1",
"@dojoengine/state": "1.6.0-beta.1",
"@dojoengine/torii-client": "1.6.0-beta.1",
"@dojoengine/torii-wasm": "1.6.0-beta.1",
"@dojoengine/utils": "1.6.0-beta.1",
"@dojoengine/utils-wasm": "1.6.0-beta.1"
},
"changesets": [
"eager-eggs-swim",
"long-papers-judge",
"metal-cats-wish",
"sixty-moments-brake"
]
}
15 changes: 15 additions & 0 deletions .changeset/sixty-moments-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@dojoengine/predeployed-connector": patch
"@dojoengine/create-burner": patch
"@dojoengine/torii-client": patch
"@dojoengine/create-dojo": patch
"@dojoengine/torii-wasm": patch
"@dojoengine/utils-wasm": patch
"@dojoengine/react": patch
"@dojoengine/state": patch
"@dojoengine/utils": patch
"@dojoengine/core": patch
"@dojoengine/sdk": patch
---

fix: update release process
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ jobs:
- run: /home/runner/.config/.dojo/dojoup/dojoup install v1.5.0-alpha.2
- run: |
cd worlds/dojo-starter
ls -la /home/runner/.config/.dojo/bin
/home/runner/.config/.dojo/bin/sozo build
/home/runner/.config/.dojo/bin/sozo test
- run: |
Expand Down
29 changes: 8 additions & 21 deletions .github/workflows/create_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Create github release
on:
push:
tags:
- '@dojoengine/*@*'
- "@dojoengine/*@*"

workflow_run:
workflows: ["Publish packages and create tags"]
types:
Expand All @@ -26,26 +26,12 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get latest tags
if: ${{ github.event_name == 'workflow_run' }}
id: latest-tags
run: |
# Get all tags created in the last 5 minutes that match our pattern
RECENT_TAGS=$(git tag -l '@dojoengine/*@*' --sort=-committerdate | while read tag; do
TAG_TIME=$(git log -1 --format=%ct "$tag")
CURRENT_TIME=$(date +%s)
TIME_DIFF=$((CURRENT_TIME - TAG_TIME))
if [ $TIME_DIFF -lt 300 ]; then
echo "$tag"
fi
done)

# Store tags in a file for later processing
echo "$RECENT_TAGS" > recent_tags.txt
echo "Found recent tags:"
cat recent_tags.txt

run: scripts/get-latest-tags.sh

- name: Create releases for workflow_run
if: ${{ github.event_name == 'workflow_run' }}
env:
Expand All @@ -66,7 +52,7 @@ jobs:
fi
fi
done < recent_tags.txt

- name: Create release for single tag
if: ${{ github.event_name != 'workflow_run' }}
env:
Expand All @@ -81,4 +67,5 @@ jobs:
--repo="$GITHUB_REPOSITORY" \
--title="${tag#v}" \
--generate-notes
fi
fi

Loading