Repository navigation
v0.4.0 - Phase 5 Features
What's New in v0.4.0
This release completes Phase 5 of the TopGun roadmap, adding powerful new CRDTs, server-side processing capabilities, and improved synchronization.
New CRDTs and Data Structures
- PN Counter - Positive-Negative counter CRDT supporting increment/decrement operations with eventual consistency
- Event Journal - Append-only event log for event sourcing patterns with full CRDT synchronization
- Entry Processor - Atomic server-side map operations with sandboxed execution via isolated-vm
API Enhancements
- Custom Conflict Resolvers - Register custom conflict resolution strategies for domain-specific merge logic
- Delta Updates for Subscriptions - Incremental updates instead of full data snapshots for improved performance
- Offline Persistence for PNCounter - Full offline support for counter operations
React Hooks
usePNCounter- Hook for working with PN Counter in React applicationsuseEventJournal- Hook for subscribing to Event Journal streams- Enhanced
useQuerywith delta update support
Bug Fixes
- Fixed memory leak in React change tracking with new
maxChangesoption - Fixed isolated-vm bundling issues for server package
- Added production warning when isolated-vm is unavailable
Documentation
- New guides for PNCounter, Entry Processor, Event Journal
- Conflict resolution blog post with ML/AI integration examples
Full Changelog: v0.3.0...v0.4.0