Skip to content

Releases: reactive/data-client

@data-client/rest@0.14.9

07 Aug 10:55
dc2bce0
Compare
Choose a tag to compare

Patch Changes

  • c263931 Thanks @ntucker! - Update README

  • 366c609 Thanks @ntucker! - Make NetworkError messages include more useful information

    Add URL so it's clear what is causing issues when response is
    not 'ok'

@data-client/react@0.14.9

07 Aug 10:55
dc2bce0
Compare
Choose a tag to compare

Patch Changes

@data-client/rest@0.14.8

30 Jul 11:32
2a9e742
Compare
Choose a tag to compare

Patch Changes

@data-client/react@0.14.8

30 Jul 11:32
2a9e742
Compare
Choose a tag to compare

Patch Changes

  • bad1fb9 Thanks @ntucker! - Update package description

  • Updated dependencies [bad1fb9]:

    • @data-client/core@0.14.8

@data-client/graphql@0.14.8

30 Jul 11:32
2a9e742
Compare
Choose a tag to compare

Patch Changes

@data-client/core@0.14.8

30 Jul 11:32
2a9e742
Compare
Choose a tag to compare

Patch Changes

@data-client/react@0.14.7

28 Jul 18:53
db59bfc
Compare
Choose a tag to compare

Patch Changes

  • aa4dac5 Thanks @ntucker! - useCache() logic simplification (no real change)

  • 0fac3ce Thanks @ntucker! - useDLE() deps list more specific to avoid extraneous re-computation

  • 8f827cf Thanks @ntucker! - Don't refetch if controller changes (should never happen)

@data-client/rest@0.14.6

26 Jul 11:56
2aaf110
Compare
Choose a tag to compare

Patch Changes

  • #3165 3fa9eb9 Thanks @ntucker! - Query can take Object Schemas

    This enables joining arbitrary objects (whose pk works with the same arguments.)

    class Ticker extends Entity {
      product_id = '';
      price = 0;
    
      pk(): string {
        return this.product_id;
      }
    }
    class Stats extends Entity {
      product_id = '';
      last = 0;
    
      pk(): string {
        return this.product_id;
      }
    }
    const queryPrice = new schema.Query(
      { ticker: Ticker, stats: Stats },
      ({ ticker, stats }) => ticker?.price ?? stats?.last,
    );
  • Updated dependencies [3fa9eb9]:

    • @data-client/endpoint@0.14.6

@data-client/react@0.14.6

26 Jul 11:56
2aaf110
Compare
Choose a tag to compare

Patch Changes

  • #3165 3fa9eb9 Thanks @ntucker! - Query can take Object Schemas

    This enables joining arbitrary objects (whose pk works with the same arguments.)

    class Ticker extends Entity {
      product_id = '';
      price = 0;
    
      pk(): string {
        return this.product_id;
      }
    }
    class Stats extends Entity {
      product_id = '';
      last = 0;
    
      pk(): string {
        return this.product_id;
      }
    }
    const queryPrice = new schema.Query(
      { ticker: Ticker, stats: Stats },
      ({ ticker, stats }) => ticker?.price ?? stats?.last,
    );
  • Updated dependencies [3fa9eb9]:

    • @data-client/core@0.14.6

@data-client/normalizr@0.14.6

26 Jul 11:56
2aaf110
Compare
Choose a tag to compare

Patch Changes

  • #3165 3fa9eb9 Thanks @ntucker! - Query can take Object Schemas

    This enables joining arbitrary objects (whose pk works with the same arguments.)

    class Ticker extends Entity {
      product_id = '';
      price = 0;
    
      pk(): string {
        return this.product_id;
      }
    }
    class Stats extends Entity {
      product_id = '';
      last = 0;
    
      pk(): string {
        return this.product_id;
      }
    }
    const queryPrice = new schema.Query(
      { ticker: Ticker, stats: Stats },
      ({ ticker, stats }) => ticker?.price ?? stats?.last,
    );