v3.1.0
New Features
@deademx/engine: Extended entity read API —getField(name),getFieldById(id),getFieldCount().@deademx/engine: AddedParserConfigurationoptionstreamHighWaterMark(default6).
Bug Fixes
@deademx/engine: Fixed Bun support (packageimportsresolution).@deademx/engine: FixedEntityMutationEvent.getChanges()/mutationsiterating the batch.
Schema
deadem: Removed obsoleteMessagePacketType.CITADEL_USER_MESSAGE_MUSIC_QUEUE.
Improvements
@deademx/engine: Optimized memory usage, bringing it down to a reasonable level:deadem: peak heap 43 MB (−84%), RSS 187 MB (−63%), ArrayBuffers 67 → 17 MB (−75%).@deademx/cs2: peak heap 38 MB, RSS 209 MB.@deademx/dota2: peak heap 104 MB, RSS 330 MB.
@deademx/engine: Increased parse throughput by 30%.@deademx/engine: Upgradedprotobufjs7→8.- Restricted the compiled proto schema to referenced message types:
deadem: 515 → 155 KB.@deademx/cs2: 457 → 122 KB.@deademx/dota2: 446 → 224 KB.
Bundle Size
deadem: Reduced bundle size 667.2 → 533.2 KB (−20.1%) / 162.5 → 137.6 KB (−15.3%) (raw / gzip).@deademx/cs2: Reduced bundle size 631.3 → 503.3 KB (−20.3%) / 156.2 → 132.7 KB (−15.0%) (raw / gzip).@deademx/dota2: Reduced bundle size 663.2 → 587.4 KB (−11.4%) / 165.4 → 147.9 KB (−10.6%) (raw / gzip).@deademx/ui: Reduced bundle size 915.3 → 606.4 KB (−33.7%) / 277.5 → 186.7 KB (−32.7%) (raw / gzip).
Examples
examples-node-cs2: Added003_profile.jsscript.examples-node-deadem: Added003_profile.jsscript.examples-node-dota2: Added003_profile.jsscript.
Documentation
- Updated documentation and performance tables for
deadem,@deademx/cs2,@deademx/dota2,@deademx/engine.
UI
@deademx/ui: Added an entity diff tab.@deademx/ui: Added a freeze toggle.@deademx/ui: Extended the entity filter to accept entity ids.@deademx/ui: Minor style changes.