Releases: TanStack/db
@tanstack/vue-db@0.0.86
@tanstack/trailbase-db-collection@0.1.54
@tanstack/svelte-db@0.1.53
@tanstack/solid-db@0.1.53
@tanstack/rxdb-db-collection@0.1.42
@tanstack/react-db@0.1.54
@tanstack/powersync-db-collection@0.1.14
@tanstack/electric-db-collection@0.2.11
Patch Changes
-
Type utils in collection options as specific type (e.g. ElectricCollectionUtils) instead of generic UtilsRecord. (#940)
-
fix: Add BigInt support to pg-serializer and fix error message for non-JSON-serializable values (#932)
- Added support for serializing BigInt values to strings in the
serializefunction - Fixed the error message when encountering unsupported types to handle values that cannot be serialized by
JSON.stringify(like BigInt), preventing a secondary error from masking the original issue
- Added support for serializing BigInt values to strings in the
-
Updated dependencies [
1d19d22,b3e4e80]:- @tanstack/db@0.5.10
@tanstack/db@0.5.10
Patch Changes
-
Type utils in collection options as specific type (e.g. ElectricCollectionUtils) instead of generic UtilsRecord. (#940)
-
Fix proxy to handle frozen objects correctly. Previously, creating a proxy for a frozen object (such as data from state management libraries that freeze their state) would throw a TypeError when attempting to modify properties via the proxy. The proxy now uses an unfrozen internal copy as the Proxy target, allowing modifications to be tracked correctly while preserving the immutability of the original object. (#933)
Also adds support for
Object.seal()andObject.preventExtensions()on proxies, allowing these operations to work correctly on change-tracking proxies.