github TanStack/db @tanstack/db@0.0.5

latest releases: @tanstack/trailbase-db-collection@0.1.12, @tanstack/svelte-db@0.1.12, @tanstack/vue-db@0.0.45...
3 months ago

Patch Changes

  • Collections must have a getId function & use an id for update/delete operators (#134)

  • the select operator is not optional on a query, it will default to returning the whole row for a basic query, and a namespaced object when there are joins (#148)

  • the keyBy query operator has been removed, keying withing the query pipeline is now automatic (#144)

  • update d2ts to to latest version that improves hashing performance (#136)

  • Switch to Collection options factories instead of extending the Collection class (#145)

    This refactors ElectricCollection and QueryCollection into factory functions (electricCollectionOptions and queryCollectionOptions) that return standard CollectionConfig objects and utility functions. Also adds a createCollection function to standardize collection instantiation.

Don't miss a new db release

NewReleases is sending notifications on new releases.