Skip to content

Commit 89d98f3

Browse files
committed
Merge branch 'feature/account-server-list' of https://github.com/LinwoodDev/Setonix into feature/account-server-list
2 parents c696ae0 + 9752d5a commit 89d98f3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+2258
-1165
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ jobs:
200200
- uses: subosito/flutter-action@v2.19.0
201201
with:
202202
flutter-version-file: app/pubspec.yaml
203-
channel: 'master'
203+
channel: "master"
204204
cache: true
205-
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
206-
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
205+
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
206+
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
207207
- name: ✅ Enable platforms
208208
run: |
209209
rm -f "$(dirname "$(dirname "$(command -v flutter)")")/engine/src/.gn"
@@ -336,10 +336,10 @@ jobs:
336336
- uses: subosito/flutter-action@v2.19.0
337337
with:
338338
flutter-version-file: app/pubspec.yaml
339-
channel: 'master'
339+
channel: "master"
340340
cache: true
341-
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
342-
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
341+
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
342+
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
343343
- name: ✅ Enable platforms
344344
run: |
345345
rm -f "$(dirname "$(dirname "$(command -v flutter)")")/engine/src/.gn"
@@ -434,7 +434,7 @@ jobs:
434434
- name: Setup node
435435
uses: actions/setup-node@v4
436436
with:
437-
node-version: "22"
437+
node-version: 24
438438
- name: Install appdmg
439439
run: |
440440
python3 -m pip install setuptools
@@ -544,6 +544,9 @@ jobs:
544544
- name: Install yq
545545
if: ${{ matrix.os.name == 'windows-2025' }}
546546
run: choco install yq
547+
- name: Install tree
548+
if: ${{ matrix.os.name == 'macos-latest' }}
549+
run: brew install tree
547550
- uses: subosito/flutter-action@v2.19.0
548551
with:
549552
flutter-version-file: app/pubspec.yaml
@@ -579,7 +582,8 @@ jobs:
579582
dart pub get
580583
cd ..
581584
dart run tools/generate.dart
582-
cp app/assets/pack.stnx server/server-build/packs/.stnx
585+
cp app/assets/pack.stnx server/server-build/packs/core.stnx
586+
tree -a -L 2 server/server-build
583587
- name: Archive
584588
uses: actions/upload-artifact@v4
585589
with:
@@ -877,7 +881,7 @@ jobs:
877881
- name: Setup Fastlane
878882
uses: ruby/setup-ruby@v1
879883
with:
880-
ruby-version: "3.4.2"
884+
ruby-version: "3.4.4"
881885
bundler-cache: true
882886
working-directory: app/android
883887
- name: 🚀 Deploy to Play Store

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Use Node.js
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 22
25+
node-version: 24
2626
cache: "pnpm"
2727
cache-dependency-path: docs/pnpm-lock.yaml
2828
- name: Install dependencies

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,45 @@
22

33
<!--ENTER CHANGELOG HERE-->
44

5+
## 0.4.1 (2025-06-09)
6+
7+
* Improve parsing of server url
8+
* Improve rendering of cards
9+
* Make bottom panel smaller
10+
* Fix items overflowing with size
11+
* Add config system for server
12+
* Add error handling for invalid packs
13+
* Fix dragging cards on mobile
14+
* Fix world not loading in multiplayer
15+
* Fix team creation not working
16+
* Fix team changes not being synced correctly in multiplayer
17+
* Add support for defining host for server
18+
* Fix core pack not included in build
19+
* Fix server crash when invalid request is made
20+
21+
Read more here: https://linwood.dev/setonix/0.4.1
22+
23+
## 0.4.0 (2025-06-05)
24+
25+
* Add importing system for editor
26+
* Add launch app link for android ([#37](https://github.com/LinwoodDev/Setonix/issues/37))
27+
* Add option for server to send link information
28+
* Add import and export settings
29+
* Add density settings
30+
* Add arrow key hand keyboard navigation
31+
* Improve multiplayer ui
32+
* Improve card rendering layout
33+
* Add swamp multiplayer support
34+
* Add scroll sensitivity setting
35+
* Add remaining empty indicator to editor tabs
36+
* Fix renaming teams not working ([#48](https://github.com/LinwoodDev/Setonix/issues/48))
37+
* Fix edit mode tooltip
38+
* Migrate away from flutter_markdown
39+
* Upgrade to flutter 3.32
40+
* Update to agb 8.9
41+
42+
Read more here: https://linwood.dev/setonix/0.4.0
43+
544
## 0.3.0 (2025-01-27)
645

746
* Add editor

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Setonix is a table sandbox game where you can decide how to play. Spawn cards ev
5050
* **🚫 No internet connection required:** to play, multiplayer also works offline
5151
* **🚩 Configurable:** Configure if you want to play with or without rules
5252
* **🎨 Customizable:** Create custom cards, board and dices
53-
* ~~**➕ Extensible:** Develop your custom rules with lua~~ (Will be added in 0.4)
53+
* ~~**➕ Extensible:** Develop your custom rules with lua~~ (Will be added in 0.5)
5454
* **📂 Share your packs:** Pack them all into a package and share it with your friends
5555
* **⚙️ Universal packs:** Load the rules in the server and the client
5656
* **📱 Works on every device:** The app is available for android, windows, linux, and in the web. You can use it on your phone, tablet, or computer.

api/lib/models.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export 'src/models/background.dart';
22
export 'src/models/chat.dart';
3+
export 'src/models/config.dart';
34
export 'src/models/data.dart';
45
export 'src/models/deck.dart';
56
export 'src/models/definition.dart';

api/lib/src/event/client.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,12 @@ final class ModeChangeRequest extends ClientWorldEvent
157157
ModeChangeRequest(this.location);
158158
ModeChangeRequest.plain() : location = null;
159159
}
160+
161+
@MappableClass()
162+
final class AuthenticateRequest extends ClientWorldEvent
163+
with AuthenticateRequestMappable {
164+
final Uint8List signature;
165+
final Uint8List publicKey;
166+
167+
AuthenticateRequest(this.signature, this.publicKey);
168+
}

0 commit comments

Comments
 (0)