0.16.0-preview #754
endel
announced in
Release notes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
0.16.0-preview
(Only the JavaScript SDK is supported at the moment. Other SDKs will updated in the upcoming months. The final
0.16
will only come out once all SDKs are supported.)See the migration guide to
0.16
(Work-in-progress)Featured changes
@colyseus/schema
version3.0
(Which fixes onChange is triggered when elements are removed schema#155, [Bug]: States are not triggered in the expected order #702, [Bug]: Uncaught Error: ChangeTree: missing index for field "undefined" #689, ArraySchema keys not updated when elements are removed schema#152, ArraySchema: moving items results in wrong state schema#108, ArraySchema push/splice/push, item added at wrong index. schema#94, ArraySchema: CLEAR + PUSH results in onAdd called twice schema#107, [Bug]: ArraySchema.unshift() not working as intended. schema#170, https://github.com/orgs/colyseus/discussions/589, "Local schema mismatch from server" - when defining multiple rooms/states colyseus-unity-sdk#131)ArraySchema
issues (ArraySchema: known issues #641)StateView
build block which allows filtering state data per clientSchema
instances (see docs)Schema
instances@colyseus/h3-transport
forWebTransport
support. (Evaluate WebTransport protocols and APIs #272)WebTransport
instead ofWebSockets
for room connections)Breaking changes
matchMaker.find(conditions)
method tomatchMaker.query(conditions, sortOptions)
client._reconnectionToken
variable has been renamed toclient.reconnectionToken
@filter()
and@filterChildren()
have been removed from@colyseus/schema
. (If you need to filter data from the state per client, please use theStateView
)Quality of life changes
patchRate
,autoDispose
andstate
can now be assigned at the class level:If you have any issues, please share either as an issue on GitHub or on this thread on Discord 🙏
This discussion was created from the release 0.16.0-preview.
Beta Was this translation helpful? Give feedback.
All reactions