Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
a5764f3
Add immutable useRoomState hook
FTWinston Dec 18, 2025
ab4d115
Extend schema, add components for displaying render count of each part
FTWinston Dec 18, 2025
79b07d6
Disable strict mode so render count doesn't go up by two with every c…
FTWinston Dec 18, 2025
f07f26f
Memoised components so they don't rerender if their props don't change
FTWinston Dec 18, 2025
455d2a8
Highlighting the most recent rendered components, instead of displayi…
FTWinston Dec 18, 2025
a573471
Tidy appearance, add inventory actions
FTWinston Dec 18, 2025
0d3f778
Add an initial test
FTWinston Dec 19, 2025
829f36e
Highlight items when they are created, as well as when modifying
FTWinston Dec 19, 2025
d0c7a4a
Add some more tests
FTWinston Dec 19, 2025
c3e53c3
Add additional tests, including skipped array tests that currently fa…
FTWinston Dec 19, 2025
aa19d76
Adjust array handling to resolve failing test
FTWinston Dec 19, 2025
8a2066d
Update to latest @colyseus/schema
FTWinston Dec 20, 2025
17a6fe2
Rework hook to intercept decoder changes, instead of adding listeners…
FTWinston Dec 23, 2025
bfe780d
Add colyseus.js dependency so useRoomState can be uncommented
FTWinston Dec 23, 2025
9957238
Fix some imports, remove getReactCallbacks
FTWinston Dec 23, 2025
e86dbed
Update src/schema/createSnapshot.ts
FTWinston Dec 23, 2025
c37e790
Re-enable strict mode
FTWinston Dec 23, 2025
ffc9ba1
Ensure inventory won't get two items of the same type
FTWinston Dec 23, 2025
9facdea
move visual tests to 'example' folder. setup package structure for pu…
endel Jan 28, 2026
a634c24
Remove duplicate hook and App files
FTWinston Jan 30, 2026
8709ecb
Track items' parents, and only iterate dirty subtrees when creating a…
FTWinston Jan 30, 2026
664decd
Initial plan
Copilot Feb 5, 2026
623da1e
Add GitHub Actions CI workflow for build and test
Copilot Feb 5, 2026
338f79a
Add permissions block to CI workflow for security
Copilot Feb 5, 2026
487ac6b
Add GitHub Actions CI workflow for build and test
FTWinston Feb 5, 2026
3e54984
Initial plan
Copilot Feb 5, 2026
fe56fd9
Add comprehensive array schema tests and update CI workflow
Copilot Feb 5, 2026
0a8e74e
Add test for modifying last task in array
Copilot Feb 5, 2026
302515c
Merge pull request #5 from colyseus/copilot/sub-pr-3
FTWinston Feb 5, 2026
5cb729d
Update to @colyseus/schema 4 and @colyseus/sdk 0.17
FTWinston Feb 5, 2026
7cc4777
Fix CI build error
FTWinston Feb 5, 2026
4521afc
publish 0.1.0 for testing
endel Feb 10, 2026
f94a387
Add (failing) tests that every change isn't creating new subscription…
FTWinston Feb 10, 2026
1d9148d
Ensure stable callbacks are passed to useSyncExternalStore, so that e…
FTWinston Feb 10, 2026
48e80aa
Move example to examples/visualisation
FTWinston Feb 11, 2026
0fa1f1e
Added demo-client and demo-server projects that reproduce the error t…
FTWinston Feb 11, 2026
65318b2
Remove a fallback in createSnapshot that isn't needed as of @colyseus…
FTWinston Feb 11, 2026
9a96779
myString doesn't update on every state change
FTWinston Feb 11, 2026
7d0bb90
Add missing function
FTWinston Feb 11, 2026
6fb907a
More permissive peer dependencies
FTWinston Feb 12, 2026
9db94bb
Add dedupe rule to demo-client vite config, to resolve error
FTWinston Feb 12, 2026
3b41ce8
Update @colyseus/sdk to resolve seat reservation error when schema is…
FTWinston Feb 12, 2026
47c6d84
useRoomState no longer interferes with with Callbacks.get or any othe…
FTWinston Feb 13, 2026
fc1e953
avoid using 'instanceof' due to duplicated @colyseus/schema package i…
endel Feb 13, 2026
4b2b2a2
fix 'dirty' cleanup
endel Feb 13, 2026
fe3e457
useRoomState and useColyseusState now handle falsy parameters
FTWinston Feb 17, 2026
889ca66
bump version
endel Feb 25, 2026
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
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
pull_request:
push:
branches:
- main

jobs:
build-and-test:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Test
run: npm test -- --run
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ dist-ssr
*.njsproj
*.sln
*.sw?
*.tsbuildinfo
File renamed without changes.
Loading