Flux

Changelog

Every package, every adapter, and what is still on the roadmap. Click a package for its full version history.

Encryption at rest, core 0.4.1

@tsworldtech/flux 0.4.1 adds AES GCM encryption at rest for user scoped cache entries and queued offline writes, with per user keys issued by your own backend, sealed writes that survive sign out, and tamper detection. It is no longer on the roadmap. The Next.js and React guides cover it in Steps 17 to 20.

Public launch, August 17, 2026

Flux went public on Aug 17, 2026. Core jumped from 0.1.9 to 0.2.0 and flux-next from 0.1.6 to 0.1.7 on that day. Everything before it was private beta iteration.

Packages

Release history

v0.4.1Oct 19, 2026, encryption at rest
@tsworldtech/flux
  • AddedEncryption at rest. A new encryption block on createFlux() seals every user scoped cache entry and every user scoped queued write with AES GCM before it reaches IndexedDB. Global scoped data is never encrypted and carries a checksum that detects edits.
  • AddedPer user keys from your own backend. createHttpKeyProvider() asks a key route for the user's secret, Flux unwraps or creates a random data key for that user, and the unlocked key stays on the device as a non extractable key until sessionKeyIdleMs passes or the user signs out.
  • AddedServer helpers createKeyIssuer(), createKeyRequestHandler() and parseMasters() on the server entry, with versioned masters (FLUX_KEY_MASTERS and FLUX_KEY_CURRENT) so keys can be rotated without locking out existing devices.
  • AddedSealed queued writes. A user queue entry keeps a readable header (id, store, user, status, revision, timestamp) and an encrypted body, and every header field is bound into the encryption tag. addQueueEntrySafe() now takes scope and userId, and refuses a user write with FluxLockedError while the key is locked instead of storing plaintext.
  • AddedonLocked(userId, reason) fires with offline-needs-login, provider-error or unwrap-failed when a user's data cannot be opened. getQueueCount() and getQueueSummary() read counts from the readable header while the key is locked.
  • ChangedclearUserSession() now keeps a user's sealed unsent writes on disk and replays them at that user's next sign in. clearUserSession({ discardQueue: true }) wipes the queue and destroys the key for public computer sign outs. Sealed writes of a user who never returns are deleted after queueRetentionMs.
  • SecurityIntegrity checks on stored data. A cache entry or queued write edited outside the app fails verification and is removed (or quarantined per integrity.queueTamperAction), and subscribeToIntegrity() and acknowledgeIntegrity() let your app tell the user. allowLegacyPlaintext accepts and re seals pre encryption records once for a smooth upgrade.
v0.4.0Oct 16, 2026
@tsworldtech/flux
  • AddedWINDOW ingestion type is wired into the engine, hydrate and reconcile helpers: a bounded, ordered, predicate restricted slice of a collection with loadMore, a hold new items view, and a ranked mode, for feeds that must not load the whole table.
v0.3.9Oct 13, 2026
@tsworldtech/flux
  • AddedWINDOW ingestion core: the pure windowing logic with property tests, IndexedDB and in memory window storage, and the window runtime that owns slice bounds and ordering.
v0.3.8Oct 9, 2026
@tsworldtech/flux
  • ChangedBatched replay now reads per item results from the server: failed ids with a status and message, and duplicate ids. Only the failed entries stay in IDB, instead of treating the whole batch as one outcome.
  • AddedFire and forget idempotency is opt in per queue, so a replayed write is only deduplicated when you ask for it.
v0.3.7Oct 5, 2026
@tsworldtech/flux
  • ChangedFailed writes redesign. A queued write now leaves IDB only on success or an explicit user discard, and replay no longer deletes entries on 4xx responses, for fire and forget and handshake alike.
  • AddedonFailed and a failed writes panel contract with Retry and Discard for every failed status code. A write counts as failed only when the server answered with an error code. Offline, timeout and dropped connection stay pending, and automatic replay happens only on reconnect.
v0.3.6Sep 30, 2026
@tsworldtech/flux
  • ChangedThe project public key used for offline license verification now lives in its own license object store instead of the shared cache store, and is stored as a plain key and timestamp with no TTL tier attached.
  • FixedThe cached key's freshness is now governed only by its 3 day browser window. Previously the record carried the 5 minute short TTL tier, which suggested a lifetime the verification code never actually enforced.
  • AddedA one time migration copies an existing key from its old cache location into the new store and keeps its original timestamp, so upgraded browsers don't spend a request against the key endpoint's daily rate limit.
v0.3.5Sep 29, 2026
@tsworldtech/flux
  • AddedCatch up request coalescing. Channels that finish subscribing within a 75ms window are sent to the adapter as one batch: through the new optional adapter.syncMany() when the adapter provides it (a single request), or one sync() per channel otherwise.
  • Fixeddestroy() now drops queued catch up requests and releases everything awaiting them, instead of leaving those promises pending after the engine is torn down.
v0.3.4Sep 22, 2026
@tsworldtech/flux
  • ChangedCross tab mirroring now sends only what changed instead of the full payload: a diff patch of upserts and removed ids for COLLECTION_ALL, a single item frame for LRU, and a full frame only for snapshots and unpersisted writes. The previous IDB record is the baseline, and a write identical to it sends nothing.
  • AddedEcho guard: while a tab is applying a frame from another tab, its own store handlers no longer re broadcast, so two tabs can't ping pong the same data.
  • AddeddispatchLocalDelete(channel, id?, options?) for SNAPSHOT and LRU channels. It deletes from the store and IDB and mirrors the delete to other tabs. For COLLECTION_ALL, keep using dispatchLocalUpdate with the new list, and the removal travels as part of the diff patch.
  • AddedLRU realtime intake. A realtime or delta row for an LRU channel now only refreshes an entry the user already cached: it never creates a cache entry for an item they never opened and never replaces the store's active item. An optional lruMerge(cachedItem, row) on the registration handles cached items that are a mapped shape while the row is a raw table row.
  • FixedValid mirrored frames were being discarded because the per tab generation counter was compared across tabs. Session safety now comes from a userId check on the receiving side.
v0.3.3Sep 20, 2026
@tsworldtech/flux
  • AddedLRU channels now catch up after a reconnect. The delta request starts from the oldest cached item's timestamp so every cached item is covered, and is skipped when that is older than the adapter's delta retention window.
  • ChangedOn a fresh page load with no in memory anchor, the sync anchor is seeded from the IDB record's write time, adjusted for clock skew and backed off 30 seconds. Replayed rows are idempotent, so the overlap is safe.
  • ChangedA channel that was just filled by a real network bootstrap now only subscribes and listens, with no redundant delta sync right behind it.
v0.3.2Sep 16, 2026
@tsworldtech/flux
  • FixedSync anchors for a channel are now cleared together with its cache when a user session is purged, so the next session never starts a catch up from the previous user's anchor.
v0.3.1Sep 12, 2026
@tsworldtech/flux
  • FixedclearUserSession() now resets the per user and scope bootstrap cooldown timestamp. Previously only the bootstrap.ts 5xx failure path called clearCooldownTs, so logging out and back in within the 30s cooldown window could silently short circuit a legitimate bootstrap() call into a hydrate() only no op against a registry clearUserSession() had already emptied.
  • AddedexecuteLocalSessionPurge() in engine.ts now clears that cooldown for scope 'user' as one of its purge steps, alongside the existing registry, IDB, queue, and job tracker teardown, so a fresh bootstrap() call right after logout is never blocked by a stale cooldown from the previous session.
v0.3.0Sep 9, 2026
@tsworldtech/flux
  • AddeddispatchDeleteToStore: a dedicated DELETE event intake path, wired through bindDeletePortal, separate from the existing create and update gate.
  • AddedHandles all three ingestion shapes: per item IDB delete for LRU, in place array filtering for COLLECTION_ALL, and a full store and IDB clear for SNAPSHOT.
  • FixedSession purge now clears the last known user namespace marker (LAST_USER_NAMESPACE_KEY), so the UI no longer optimistically renders a dashboard backed by nothing right after a confirmed logout.
v0.2.9Sep 9, 2026
@tsworldtech/flux
  • Addedreconcile() contract: reconcileChannel() asks the adapter which locally cached record IDs the server confirms deleted, for channels whose sync anchor has aged past the adapter's delta retention window.
  • AddedisChannelPastDeltaRetention() and adapter.getDeltaRetentionWindow() run leader tab only, during the cache revalidation loop.
v0.2.8Sep 9, 2026
@tsworldtech/flux
  • AddeddispatchLocalUpdate(channel, data, options?): a third data intake path for confirmed local writes, reusing the same generation barrier and cross tab mirror gate as bootstrap and realtime data.
v0.2.7Sep 3, 2026
@tsworldtech/flux
  • FixedLicense re verification now runs on every focus and visibilitychange event, not only while already invalid, so revocations, expirations, and the periodic public key refresh are no longer missed for the lifetime of a tab.
v0.2.6Sep 2, 2026
@tsworldtech/flux
  • AddedcreateNoopAdapter() is now the default adapter. createFlux() works out of the box with zero realtime backend configured.
  • AddedDeferred license re evaluation queue: registrations made before the license check resolves are re evaluated, and downgraded if needed, once it does.
v0.2.5Aug 27, 2026
@tsworldtech/flux
  • AddedevictVideoCacheForScope() wired into session purge. A logged out user's per user video cache is swept alongside IDB, queue, and job tracker state.
v0.2.4Aug 27, 2026
@tsworldtech/flux
  • FixedJob tracker progress gossip between tabs no longer re announces jobs that finished in another tab, which could briefly revive a completed job after a refresh.
v0.2.3Aug 26, 2026
@tsworldtech/flux
  • AddedSparse COLLECTION_ALL patch normalization. A realtime UPDATE frame carrying just the changed record now upserts into the cached array instead of requiring a full array payload.
v0.2.2Aug 17, 2026
@tsworldtech/flux
  • FixedGeneration counters and per scope abort controllers now also cover in flight bootstrap requests, so a stale network response landing after a session purge is dropped instead of dispatched.
v0.2.1Aug 17, 2026
@tsworldtech/flux
  • FixedThe boot time namespace sweep now evicts the previous user's cache before hydration starts, instead of racing it, when a different user signs in after an unclean logout.
v0.2.0Aug 17, 2026, public launch
@tsworldtech/flux
  • AddedPer channel sync anchor map with delta catch up on reconnect: the server streams only what changed while offline instead of a full re bootstrap.
  • AddedActivityBus holds the cache revalidation loop while realtime is actively delivering a delta stream, preventing redundant HTTP refetches.
  • AddedMulti tenant session scoping: StorageScope, clearUserSession(), and the boot time namespace sweep.
  • SecurityLicense system rewritten to ES256 signed JWT verification checked with native WebCrypto, so an end user's browser never asks TsWorldTech whether a license is valid.
v0.1.9Aug 17, 2026
@tsworldtech/flux
  • ChangedPre launch stabilization of the sync anchor map: anchors are persisted with each channel's IDB record so a cold boot resumes catch up from the right point.
v0.1.8Aug 17, 2026
@tsworldtech/flux
  • ChangedThe cache revalidation loop now defers to realtime for a grace window before falling back to an HTTP refetch, instead of refetching on every TTL expiry.
v0.1.7Aug 17, 2026
@tsworldtech/flux
  • FixedRealtime reconnect now follows a strict order of notify, subscribe, then connect, so no event can arrive before its channel has a listener.
v0.1.6Aug 11, 2026
@tsworldtech/flux
  • AddedFirst draft of license verification with domain tokens, with a free tier that runs without any key.
v0.1.5Aug 10, 2026
@tsworldtech/flux
  • AddedonStorageFallback reports which storage layer Flux degraded to and why, when IndexedDB is unavailable.
v0.1.4Aug 9, 2026
@tsworldtech/flux
  • AddedConfigurable short, medium and long TTL tiers on createFlux(), referenced by name from each registration.
v0.1.3Aug 8, 2026
@tsworldtech/flux
  • AddedImage IDB cache behind CachedImg: static images are fetched once, stored as blobs, and served from IndexedDB on every later render.
v0.1.2Aug 7, 2026
@tsworldtech/flux
  • AddedVideo prefetch path built on the Cache API for media that should be ready before the user asks for it.
v0.1.1Aug 6, 2026
@tsworldtech/flux
  • AddedThe unified dispatchToStore intake gate: IDB cold boot reads, bootstrap and realtime events all reach a store through one setState(data) contract.
v0.1.0Aug 5, 2026
@tsworldtech/flux
  • AddedMutation pipeline with dedupeField and dedupeStrategy options (replace or reject) on queued writes.
v0.0.9Aug 4, 2026
@tsworldtech/flux
  • AddedConflict register and conflict resolution for queued writes that collide with newer server data.
v0.0.8Aug 3, 2026
@tsworldtech/flux
  • AddedJob tracker for long running work, with progress shared across tabs through BroadcastChannel.
v0.0.7Aug 2, 2026
@tsworldtech/flux
  • Addedbootstrap() single call seeding with a per scope cooldown, replacing a waterfall of per channel fetches.
v0.0.6Aug 1, 2026
@tsworldtech/flux
  • AddedWeb Locks protected replay, so only one tab replays the offline queue at a time.
v0.0.5Jul 31, 2026
@tsworldtech/flux
  • AddedBroadcastChannel tab mirroring, so a store update in one tab reaches every other open tab.
v0.0.4Jul 30, 2026
@tsworldtech/flux
  • AddedRealtimeManager with Web Lock leader election: one realtime connection per browser session instead of one per tab.
v0.0.3Jul 29, 2026
@tsworldtech/flux
  • AddedThree layer offline write queue across IndexedDB, localStorage and memory, so a queued write survives storage failures.
v0.0.2Jul 28, 2026
@tsworldtech/flux
  • AddedLRU ingestion type with byte budgeted eviction for per item detail channels.
v0.0.1Jul 10, 2026
@tsworldtech/flux
  • AddedFirst private beta: IDB caching with TTL, store registration through register(), and the setState contract for state managers.
v0.3.5Oct 19, 2026
@tsworldtech/flux-next
  • ChangedOffline route lookups treat an encrypted user scoped detail entry as present without decrypting it, so a cached item page still opens offline when core encryption at rest is on.
v0.3.4Oct 13, 2026
@tsworldtech/flux-next
  • FixedThe generated service worker no longer caches responses from the encryption key route, so a stale key response is never replayed from cache.
v0.3.3Oct 7, 2026
@tsworldtech/flux-next
  • FixedSentinel shell documents are now rewritten correctly for subpaths with a trailing slash, so /items/slug/settings/ opens from the same shell as /items/slug/settings.
v0.3.2Oct 2, 2026
@tsworldtech/flux-next
  • ChangedThe ServiceWorkerRegistrar now waits for the document to finish loading before registering, so registration never competes with first paint.
v0.3.1Sep 30, 2026
@tsworldtech/flux-next
  • FixedThe offline route lookup fast path now reads only the cache object store, and when the service worker was restarted and lost the active user id it falls back to matching any user's key suffix. Previously a user scoped detail page could miss its cached data after the worker had been idle.
  • FixedVisiting a dynamic route online no longer overwrites the precached __flux_shell__ document with that slug's real HTML, which removed the sentinel and made an offline visit to a different slug render the wrong page. The runtime write now only seeds a shell that is missing.
  • FixedThe service worker now closes its IndexedDB connection after every lookup and on versionchange, so it can't block a schema upgrade, and it no longer creates an empty database if the app hasn't opened one yet.
  • ChangedRoute slugs are percent decoded for IndexedDB lookups, and the config values interpolated into the generated worker are now JSON escaped.
v0.3.0Sep 20, 2026
@tsworldtech/flux-next
  • FixeddynamicRouteIdbKeys is now forwarded through withFlux() and generateSwFile() to the service worker template. It was accepted by the template but dropped before reaching it, so every route prefix silently used the full IDB scan.
  • ChangeddynamicRouteIdbKeys is now part of the derived cache version hash, so changing which prefixes use the fast path re installs the worker on devices that already have it.
v0.2.9Sep 8, 2026
@tsworldtech/flux-next
  • AddedFlux Shells: precaches a per subpath sentinel shell document (__flux_shell__) for dynamic routes with multiple offline navigable subpages, rewritten to the real slug on serve.
  • AddeddynamicRouteIdbKeys maps a route prefix to its channel's idbKey so the service worker can do an O(log n) direct IDB lookup for offline route resolution instead of a full cursor scan.
v0.2.8Sep 3, 2026
@tsworldtech/flux-next
  • AddeddynamicRouteShapes option on withFlux(), expanding each prefix and subpath list into sentinel shell URLs that are folded into the precache list automatically.
v0.2.7Sep 2, 2026
@tsworldtech/flux-next
  • AddedfluxDynamicRoute server export, a one line generateStaticParams and dynamicParams pair that makes the sentinel shell page buildable.
v0.2.6Aug 30, 2026
@tsworldtech/flux-next
  • FixedThe offline fallback page is now served for any navigation that misses both cache and network, not only for the routes listed in precacheRoutes.
v0.2.5Aug 28, 2026
@tsworldtech/flux-next
  • ChangedBootstrap asset warming now ignores chunk paths that are already precached, which removes duplicate requests on first load.
v0.2.4Aug 28, 2026
@tsworldtech/flux-next
  • FixedFLUX_SW_INITIALIZER_CODE no longer runs twice under React Strict Mode in development.
v0.2.3Aug 28, 2026
@tsworldtech/flux-next
  • FixedThe offline indicator now follows real connectivity, not only the browser's online and offline events.
v0.2.2Aug 26, 2026
@tsworldtech/flux-next
  • ChangedService worker updates now take effect on the next navigation instead of waiting for every tab to close.
v0.2.1Aug 26, 2026
@tsworldtech/flux-next
  • FixedbypassRoutePrefixes now match query strings, so an auth callback with a code parameter is never intercepted.
v0.2.0Aug 26, 2026
@tsworldtech/flux-next
  • ChangedDynamic chunk warming reads the assets list returned by the bootstrap route instead of scanning the build output at runtime.
v0.1.9Aug 26, 2026
@tsworldtech/flux-next
  • AddedBootstrap payloads can include an assets array, and the service worker precaches those files in the background after the first load.
v0.1.8Aug 26, 2026
@tsworldtech/flux-next
  • FixedThe generated service worker no longer throws when manifest.json has no icons array.
v0.1.7Aug 17, 2026, public launch
@tsworldtech/flux-next
  • AddedwithFlux() Next.js config wrapper generates and injects the service worker at build time.
  • AddedDynamic route offline virtualization via FLUX_WARM_CHUNKS and dynamicRoutePrefixes.
v0.1.6Aug 17, 2026
@tsworldtech/flux-next
  • FixedThe derived cache version now changes whenever precacheRoutes or offlineShell change, so a new config always installs a new worker.
v0.1.5Aug 17, 2026
@tsworldtech/flux-next
  • AddeddynamicRoutePrefixes option: URL prefixes whose hard navigations fall back to a cached shell instead of the offline error page.
v0.1.4Aug 17, 2026
@tsworldtech/flux-next
  • AddedThe server entry export, so build time helpers can be imported without pulling client code into server components.
v0.1.3Aug 9, 2026
@tsworldtech/flux-next
  • ChangedstoragePrefix now namespaces every service worker cache name as well as every IndexedDB store.
v0.1.2Aug 8, 2026
@tsworldtech/flux-next
  • AddedsyncTags option for the background sync tags used by the offline queue.
v0.1.1Aug 7, 2026
@tsworldtech/flux-next
  • AddedThe service worker reads public/manifest.json at install to configure the offline splash.
v0.1.0Aug 6, 2026
@tsworldtech/flux-next
  • AddedFLUX_SW_INITIALIZER_CODE, an inline script that registers the worker before hydration.
v0.0.9Aug 5, 2026
@tsworldtech/flux-next
  • AddedRSC aware fetch handling, so Next.js navigation payloads are cached and served offline correctly.
v0.0.8Aug 4, 2026
@tsworldtech/flux-next
  • AddedCachedImg component backed by the core image IDB cache.
v0.0.7Aug 3, 2026
@tsworldtech/flux-next
  • AddedbypassRoutePrefixes option for routes that must skip the service worker entirely, such as auth callbacks and webhooks.
v0.0.6Aug 2, 2026
@tsworldtech/flux-next
  • AddeduseFlux() and useFluxTime() hooks.
v0.0.5Aug 1, 2026
@tsworldtech/flux-next
  • AddedHydrationGate, which holds children until the IDB cold boot read has finished.
v0.0.4Jul 31, 2026
@tsworldtech/flux-next
  • AddedFluxProvider and ServiceWorkerRegistrar components.
v0.0.3Jul 30, 2026
@tsworldtech/flux-next
  • AddedofflineShell option, the fallback route when a page is neither cached nor reachable.
v0.0.2Jul 29, 2026
@tsworldtech/flux-next
  • AddedprecacheRoutes option, warming the service worker cache with a hand picked route list.
v0.0.1Jul 10, 2026
@tsworldtech/flux-next
  • AddedFirst private beta of withFlux() and the generated service worker.
v0.1.1Oct 19, 2026
@tsworldtech/flux-react
  • AddedfluxVitePlugin auto detects Remix from a @remix-run dependency in package.json and defaults isSpa to false, logging a line to confirm it. An explicit isSpa value always wins, for Remix SPA mode.
  • AddeddynamicRouteShapes and dynamicRouteIdbKeys now work on Remix, and a new server entry exports isFluxShellParam so route loaders can answer the sentinel shell request without touching the database.
  • ChangedWorks with core encryption at rest: user scoped data in a React or Remix app is sealed the same way as in Next.js, with the key route on your own server.
v0.1.0Sep 2, 2026
@tsworldtech/flux-react
  • AddedFirst stable release: FluxProvider, useFlux, useFluxTime, a Vite plugin for service worker injection, and FluxErrorBoundary.
v0.0.9Aug 30, 2026
@tsworldtech/flux-react
  • FixedHydrationGate no longer flashes its fallback when IndexedDB has already hydrated before first render.
v0.0.8Aug 11, 2026
@tsworldtech/flux-react
  • AddedFluxErrorBoundary, which catches data shape crashes in children and refetches through flux.invalidate().
v0.0.7Aug 10, 2026
@tsworldtech/flux-react
  • AddedCachedImg component backed by the core image IDB cache.
v0.0.6Aug 9, 2026
@tsworldtech/flux-react
  • AddeddynamicRoutePrefixes option on the Vite plugin.
v0.0.5Aug 8, 2026
@tsworldtech/flux-react
  • AddedFirst cut of fluxVitePlugin, reading dist/.vite/manifest.json in closeBundle to bake chunk hashes into the service worker.
v0.0.4Aug 7, 2026
@tsworldtech/flux-react
  • AddedHydrationGate and OfflineIndicator components.
v0.0.3Aug 6, 2026
@tsworldtech/flux-react
  • AddeduseFluxTime() hook for time aware UI that tracks cache freshness.
v0.0.2Aug 5, 2026
@tsworldtech/flux-react
  • AddeduseFlux() hook exposing the engine to components.
v0.0.1Jul 10, 2026
@tsworldtech/flux-react
  • AddedFirst private beta: FluxProvider.
v0.1.3Oct 19, 2026
@tsworldtech/flux-supabase
  • ChangedPeer dependency range widened to accept core 0.4.x, so projects can adopt encryption at rest without changing adapter versions.
v0.1.2Oct 14, 2026
@tsworldtech/flux-supabase
  • FixedThe connectivity aware fetch wrapper now flips back to online on the first successful request, not only on the browser's online event.
v0.1.1Oct 9, 2026
@tsworldtech/flux-supabase
  • FixedresolveAuthIntent() now treats a TOKEN_REFRESHED event with a null session while offline as unverified instead of a logout.
v0.1.0Oct 5, 2026
@tsworldtech/flux-supabase
  • ChangedThe adapter now conforms to the catch up and reconcile contract defined by core, so every adapter returns the same typed sync outcomes.
v0.0.9Oct 3, 2026
@tsworldtech/flux-supabase
  • FixedA catch up for a table with no rows now resolves as up to date instead of waiting for its backstop timer.
v0.0.8Oct 2, 2026
@tsworldtech/flux-supabase
  • AddedTyped sync outcomes from catch up: complete, up to date, past retention, or failed, so core can decide between delta, reconcile and refetch.
v0.0.7Oct 1, 2026
@tsworldtech/flux-supabase
  • FixedResubscribing a table after a dropped connection no longer registers a second postgres_changes handler.
v0.0.6Sep 30, 2026
@tsworldtech/flux-supabase
  • FixedA flux_sync_complete broadcast is now ignored unless this client asked for a catch up. The broadcast channel name is shared by everyone subscribed to a table, so applying another tab's or device's reply could regress local state or leak rows.
  • FixedA catch up requested while another one for the same table is already in flight is no longer silently dropped. It waits for the first to settle and then issues its own request, since the in flight reply only covers the anchors of the callers that made it.
v0.0.5Sep 29, 2026
@tsworldtech/flux-supabase
  • ChangedEvery flux channel on the same table now shares one postgres_changes subscription instead of opening one Supabase channel each. Adding a channel to a table that is already subscribed just catches that channel up.
  • AddedsyncMany(): catch up for many channels in as few requests as possible. Channels sharing a table are asked for once using the oldest anchor among them, and every table goes out in a single flux_request_delta_batch call, falling back to one flux_request_delta per table when the batch function isn't installed.
  • Changedreconcile() is now a plain flux_reconcile RPC with no broadcast round trip, sent in chunks of 5,000 ids, with concurrent calls per channel sharing one request. Requires the flux_reconcile SQL function.
  • FixedLive events now honour each flux channel's own event filter (INSERT, UPDATE, DELETE, or all). Catch up frames are intentionally not filtered, so a catch up stays complete.
v0.0.4Aug 29, 2026
@tsworldtech/flux-supabase
  • AddedcreateConnectivityAwareFetch(): a fetch wrapper with a 2.5s bounded timeout that flips to a known offline state on a real network failure, not just the browser's offline event.
  • AddedresolveAuthIntent(event, session) tells a confirmed logout apart from a null session your app can't yet verify because it's offline, so a flaky connection doesn't wipe a still valid session.
v0.0.3Aug 11, 2026
@tsworldtech/flux-supabase
  • Addedflux_request_delta based catch up per table, replacing a full refetch after a reconnect.
v0.0.2Aug 10, 2026
@tsworldtech/flux-supabase
  • FixedDELETE events now map the old record id correctly, so a deleted row is removed from the cache instead of left behind.
v0.0.1Jul 10, 2026
@tsworldtech/flux-supabase
  • AddedFirst private beta: Supabase Realtime postgres_changes mapped to FluxNormalizedEvent.
v0.0.6Oct 19, 2026
@tsworldtech/flux-socketio
  • ChangedPeer dependency range widened to accept core 0.4.x, so projects can adopt encryption at rest without changing adapter versions.
v0.0.5Oct 12, 2026
@tsworldtech/flux-socketio
  • AddedTyped sync outcomes from sync() and reconcile(), matching the contract defined by core and the Supabase adapter.
v0.0.4Sep 30, 2026
@tsworldtech/flux-socketio
  • FixedA second sync() on a channel that already has one in flight now waits for the first instead of overwriting it. The overwrite leaked the first request's listener and could replay the same rows twice.
  • FixedA handler that throws while a delta is being applied no longer leaves the sync() promise unresolved. Rows are delivered one at a time and a failure in one no longer aborts the rest.
  • Fixeddisconnect(), unsubscribe(), destroy(), and a dropped connection now resolve pending sync() and reconcile() calls immediately instead of waiting out their backstop timers.
  • FixedThe engine's catch up hook now fires once per channel and only while the socket is connected, where before it could fire on attach and again on connect. destroy() also removes the adapter's own connect and disconnect handlers from the socket.
  • Changedreconcile() now shares one run per channel and sends ids in chunks of 5,000, so a server sees one flux_reconcile_request per chunk for larger lists and must answer each one. Returned ids are coerced to strings.
  • ChangedDelta rows with an unrecognized op are dropped and CREATE is normalized to INSERT. The sync backstop is now 30 seconds (was 60), reconcile's is 8, and an empty delta logs at debug instead of warn.
v0.0.3Aug 11, 2026
@tsworldtech/flux-socketio
  • Addedsync() delta catch up over flux_sync_request and flux_sync_complete, and reconcile() for server confirmed deletion detection.
v0.0.2Aug 10, 2026
@tsworldtech/flux-socketio
  • FixedEvents for a channel with a colon in its name now split on the last colon only, so channel:event parsing no longer drops events.
v0.0.1Jul 10, 2026
@tsworldtech/flux-socketio
  • AddedFirst private beta: Socket.IO's channel:event convention mapped to FluxNormalizedEvent.
v0.0.6Oct 19, 2026
@tsworldtech/flux-sse
  • ChangedPeer dependency range widened to accept core 0.4.x, so projects can adopt encryption at rest without changing adapter versions.
v0.0.5Oct 12, 2026
@tsworldtech/flux-sse
  • AddedThe server side contract for the multiplexed stream is documented: the connection URL, the sync anchor parameter, the event envelope, and the reconcile endpoint.
v0.0.4Oct 5, 2026
@tsworldtech/flux-sse
  • ChangedThe adapter is now a single multiplexed stream only, with one EventSource carrying every channel. The per channel mode is removed.
v0.0.3Aug 11, 2026
@tsworldtech/flux-sse
  • FixedSync anchor is now always appended to the EventSource URL, previously skipped whenever the anchor was 0, which silently dropped cold boot backfill. Also added reconcile() via a configurable reconcileUrl endpoint, since SSE has no client to server channel to reuse for this.
v0.0.2Aug 10, 2026
@tsworldtech/flux-sse
  • ChangedReconnect backoff is now handled by core instead of the adapter, so every adapter follows the same retry schedule.
v0.0.1Jul 10, 2026
@tsworldtech/flux-sse
  • AddedFirst private beta: one EventSource per channel mapped to FluxNormalizedEvent.
v0.0.6Oct 19, 2026
@tsworldtech/flux-websocket
  • ChangedPeer dependency range widened to accept core 0.4.x, so projects can adopt encryption at rest without changing adapter versions.
v0.0.5Oct 12, 2026
@tsworldtech/flux-websocket
  • FixedA socket that closes while a SYNC_REQUEST or RECONCILE_REQUEST is pending now resolves that call immediately instead of waiting for its backstop timer.
v0.0.4Oct 5, 2026
@tsworldtech/flux-websocket
  • AddedTyped sync outcomes from the SYNC_REQUEST handshake, matching the contract defined by core and the Supabase adapter.
v0.0.3Aug 11, 2026
@tsworldtech/flux-websocket
  • Addedreconcile() request and response contract (RECONCILE_REQUEST and RECONCILE_COMPLETE frames).
v0.0.2Aug 10, 2026
@tsworldtech/flux-websocket
  • AddedSYNC_REQUEST and SYNC_COMPLETE handshake for per channel delta catch up on reconnect.
v0.0.1Jul 10, 2026
@tsworldtech/flux-websocket
  • AddedFirst private beta: raw WebSocket per channel with a JSON envelope mapped to FluxNormalizedEvent.

On the roadmap

Angular, Vue, and Svelte adapters are planned but not started. Each is a thin idiomatic layer over the same core engine documented above, built after a framework's earlier integrations have shipped and earned their keep. Nothing below has a version number yet.
@tsworldtech/flux-angularMonth 6

Signals adapter for Angular 16+, plain injectable service pattern for versions 14 to 15. Built after Next.js and React have shipped and earned.

@tsworldtech/flux-vueNot yet started

Queued alongside the Angular and Svelte adapters, on the same track: a thin idiomatic layer over the same core engine.

@tsworldtech/flux-svelteNot yet started

Queued alongside the Angular and Vue adapters, on the same track: a thin idiomatic layer over the same core engine.

Connection aware realtime throttlingMonth 12

Realtime throttling that adapts to the connection the user is on, for advanced enterprise compliance.

Powered by Flux