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
Uh oh!
There was an error while loading. Please reload this page.
-
0.16.0-preview
(Only the JavaScript SDK is supported at the moment. Other SDKs will updated in the upcoming months. The final
0.16will only come out once all SDKs are supported.)See the migration guide to
0.16(Work-in-progress)Featured changes
@colyseus/schemaversion3.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)ArraySchemaissues (ArraySchema: known issues #641)StateViewbuild block which allows filtering state data per clientSchemainstances (see docs)Schemainstances@colyseus/h3-transportforWebTransportsupport. (Evaluate WebTransport protocols and APIs #272)WebTransportinstead ofWebSocketsfor room connections)Breaking changes
matchMaker.find(conditions)method tomatchMaker.query(conditions, sortOptions)client._reconnectionTokenvariable 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,autoDisposeandstatecan 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