Releases: 777genius/state-sync
Releases · 777genius/state-sync
@statesync/redux@2.0.0
@statesync/redux
@statesync/zustand@2.0.0
Patch Changes
- Updated dependencies [f3b8c97]
- @statesync/core@1.1.0
@statesync/vue@2.0.0
Patch Changes
- Updated dependencies [f3b8c97]
- @statesync/core@1.1.0
@statesync/valtio@2.0.0
Patch Changes
- Updated dependencies [f3b8c97]
- @statesync/core@1.1.0
@statesync/tauri@2.0.0
Minor Changes
-
f3b8c97: Add debounce/throttle support and enhanced persistence layer
@statesync/core
- Add
throttlingoption tocreateRevisionSync()for controlling refresh rate - New
createThrottledHandler()utility with debounce/throttle support - Export
InvalidationThrottlingOptionsandThrottledHandlertypes
@statesync/persistence (enhanced)
Core Features
createPersistenceApplier()- wraps appliers with automatic state persistenceloadPersistedSnapshot()- hydrates state from cache before sync startsclearPersistedData()- clears storage with cross-tab notificationcreatePersistenceApplierWithDefaults()- factory with sensible defaults
Storage Backends
createLocalStorageBackend()- browser localStorage with quota handlingcreateIndexedDBBackend()- IndexedDB for larger datacreateSessionStorageBackend()- temporary tab-scoped storagecreateMemoryStorageBackend()- in-memory for testing with latency/error simulation
Advanced Features
- Throttling:
throttling.debounceMs,throttling.throttleMs,throttling.maxWaitMs - Events:
on('saveStart'|'saveComplete'|'saveError'|...)for observability - Stats:
getStats()returns save counts, bytes saved, timing metrics - Schema Migration:
migrateData(),createMigrationBuilder()for versioned data - Cross-Tab Sync:
createCrossTabSync()using BroadcastChannel API - TTL: Automatic cache expiration with
ttlMsoption - Integrity: Optional hash verification with
enableHash - Compression:
createLZStringAdapter(),createBase64Adapter()adapters
New Types
PersistedSnapshotMetadata- timestamp, schemaVersion, sizeBytes, hash, ttlMsStorageBackendWithMetadata- extended interface with metadata supportSaveThrottlingOptions- debounce/throttle/leading/maxWaitPersistenceEvents- event handler signaturesPersistenceStats- runtime metricsMigrationHandler,MigrationResult- schema migration typesLoadOptions- migration, validation, TTL bypass options
@statesync/tauri
- Add
throttlingoption tocreateTauriRevisionSync() - New
createTauriFileBackend()for file-based persistence via Tauri commands
- Add
Patch Changes
- Updated dependencies [f3b8c97]
- @statesync/core@1.1.0
@statesync/svelte@2.0.0
Patch Changes
- Updated dependencies [f3b8c97]
- @statesync/core@1.1.0
@statesync/pinia@2.0.0
Patch Changes
- Updated dependencies [f3b8c97]
- @statesync/core@1.1.0
@statesync/persistence@2.0.0
Minor Changes
-
f3b8c97: Add debounce/throttle support and enhanced persistence layer
@statesync/core
- Add
throttlingoption tocreateRevisionSync()for controlling refresh rate - New
createThrottledHandler()utility with debounce/throttle support - Export
InvalidationThrottlingOptionsandThrottledHandlertypes
@statesync/persistence (enhanced)
Core Features
createPersistenceApplier()- wraps appliers with automatic state persistenceloadPersistedSnapshot()- hydrates state from cache before sync startsclearPersistedData()- clears storage with cross-tab notificationcreatePersistenceApplierWithDefaults()- factory with sensible defaults
Storage Backends
createLocalStorageBackend()- browser localStorage with quota handlingcreateIndexedDBBackend()- IndexedDB for larger datacreateSessionStorageBackend()- temporary tab-scoped storagecreateMemoryStorageBackend()- in-memory for testing with latency/error simulation
Advanced Features
- Throttling:
throttling.debounceMs,throttling.throttleMs,throttling.maxWaitMs - Events:
on('saveStart'|'saveComplete'|'saveError'|...)for observability - Stats:
getStats()returns save counts, bytes saved, timing metrics - Schema Migration:
migrateData(),createMigrationBuilder()for versioned data - Cross-Tab Sync:
createCrossTabSync()using BroadcastChannel API - TTL: Automatic cache expiration with
ttlMsoption - Integrity: Optional hash verification with
enableHash - Compression:
createLZStringAdapter(),createBase64Adapter()adapters
New Types
PersistedSnapshotMetadata- timestamp, schemaVersion, sizeBytes, hash, ttlMsStorageBackendWithMetadata- extended interface with metadata supportSaveThrottlingOptions- debounce/throttle/leading/maxWaitPersistenceEvents- event handler signaturesPersistenceStats- runtime metricsMigrationHandler,MigrationResult- schema migration typesLoadOptions- migration, validation, TTL bypass options
@statesync/tauri
- Add
throttlingoption tocreateTauriRevisionSync() - New
createTauriFileBackend()for file-based persistence via Tauri commands
- Add
Patch Changes
- Updated dependencies [f3b8c97]
- @statesync/core@1.1.0
@statesync/core@1.1.0
Minor Changes
-
f3b8c97: Add debounce/throttle support and enhanced persistence layer
@statesync/core
- Add
throttlingoption tocreateRevisionSync()for controlling refresh rate - New
createThrottledHandler()utility with debounce/throttle support - Export
InvalidationThrottlingOptionsandThrottledHandlertypes
@statesync/persistence (enhanced)
Core Features
createPersistenceApplier()- wraps appliers with automatic state persistenceloadPersistedSnapshot()- hydrates state from cache before sync startsclearPersistedData()- clears storage with cross-tab notificationcreatePersistenceApplierWithDefaults()- factory with sensible defaults
Storage Backends
createLocalStorageBackend()- browser localStorage with quota handlingcreateIndexedDBBackend()- IndexedDB for larger datacreateSessionStorageBackend()- temporary tab-scoped storagecreateMemoryStorageBackend()- in-memory for testing with latency/error simulation
Advanced Features
- Throttling:
throttling.debounceMs,throttling.throttleMs,throttling.maxWaitMs - Events:
on('saveStart'|'saveComplete'|'saveError'|...)for observability - Stats:
getStats()returns save counts, bytes saved, timing metrics - Schema Migration:
migrateData(),createMigrationBuilder()for versioned data - Cross-Tab Sync:
createCrossTabSync()using BroadcastChannel API - TTL: Automatic cache expiration with
ttlMsoption - Integrity: Optional hash verification with
enableHash - Compression:
createLZStringAdapter(),createBase64Adapter()adapters
New Types
PersistedSnapshotMetadata- timestamp, schemaVersion, sizeBytes, hash, ttlMsStorageBackendWithMetadata- extended interface with metadata supportSaveThrottlingOptions- debounce/throttle/leading/maxWaitPersistenceEvents- event handler signaturesPersistenceStats- runtime metricsMigrationHandler,MigrationResult- schema migration typesLoadOptions- migration, validation, TTL bypass options
@statesync/tauri
- Add
throttlingoption tocreateTauriRevisionSync() - New
createTauriFileBackend()for file-based persistence via Tauri commands
- Add