v0.14: Streamlined Manager APIs, Performance, and GC
· 11 min read
Managers:
Manager APIs have been streamlined—flatter action shapes reduce code complexity and improve performance by minimizing distinct inline cache entries, while simpler configuration APIs make customization more delightful.
- Simplified action shapes
- Manager.middleware property
- getDefaultManagers() configuration
Performance:
- Immediate fetch calls - no more waiting for idle
- 30% smaller bundles by removing unnecessary polyfills
- 10% faster normalization
Schema/Data Modeling:
- Query joins with Object Schemas
- EntityMixin for composing Entity behavior
- Entity.pk() default uses
id - Dynamic invalidation via Entity.process()
Testing:
- renderDataHook() for simpler testing
Garbage Collection:
- GCPolicy - automatic garbage collection of stale data
