Releases: colyseus/schema
Releases · colyseus/schema
3.0.32
dumpChanges: fix iterating over ChangeTree's
3.0.31
remove reference to 'node:util' import
3.0.30
- Introduce
ArraySchema#shuffle()
- Introduce
ArraySchema.move(cb)
to toggle MOVE operations
3.0.29
ArraySchema: fixes OPERATION.DELETE_BY_REFID and OPERATION.ADD_BY_REFID
3.0.28
StateView: add 'isVisibilitySharedWithParent' to ChangeTree Add "should not be required to manually call view.add() items to child arrays without @view() tag" test scenario, which covers automatically adding Schema child items to StateView if parent "collection" type is already part of the StateView.
3.0.27
ArraySchema: fixes when using consecutive .splice() calls.
3.0.26
ArraySchema: fixes consecutive .shift() calls + encodeAll()
3.0.25
3.0.24
StateView: using view.add() before instance is set to state throws error
3.0.23
StateView: allow to opt-in for tracking items. add .clear() method.