data-client

Async State Management without the Management

APACHE-2.0 License

Downloads
44.4K
Stars
1.9K
Committers
37

Bot releases are visible (Hide)

data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • 93a08592c6: normalize/denormalize both take args array
  • e00fd0516c: denormalize() returns a symbol if invalid, otherwise the value
  • e00fd0516c: denormalizeCached returns { data, paths }
  • 0c7ca6310d: denormalize is now non-cached version.
    Use denormalizeCached for previous functionality.
  • 68a5944091: Require fetchedAt in meta

Minor Changes

  • 0c7ca6310d: Add validateInference()
  • 93a08592c6: Support Collections
  • 68a5944091: Add Entity.mergeMeta()
  • 93a08592c6: Support using args[] during normalization/denormalization
  • 93a08592c6: Entity.pk() has a fourth argument: args[]
  • 7910c901e7: Support schemas without denormalizeOnly and no denormalize method

Patch Changes

  • 9178a553cb: Improve normalize performance
  • 93f103e3af: Fully denormalize even when pk cannot be computed
  • a005bd06af: mergeMeta -> mergeMetaWithStore() for consistent naming
  • e75312c7ee: fix: Remove empty entity path from denormalize
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Updated dependencies [93a08592c6]
  • Updated dependencies [e00fd0516c]
  • Updated dependencies [0c7ca6310d]
  • Updated dependencies [93a08592c6]
  • Updated dependencies [68a5944091]
  • Updated dependencies [93a08592c6]
  • Updated dependencies [9178a553cb]
  • Updated dependencies [93a08592c6]
  • Updated dependencies [93f103e3af]
  • Updated dependencies [7910c901e7]
  • Updated dependencies [e00fd0516c]
  • Updated dependencies [0c7ca6310d]
  • Updated dependencies [68a5944091]
  • Updated dependencies [a005bd06af]
  • Updated dependencies [e75312c7ee]
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 93a08592c6: Support using args[] during normalization/denormalization
  • 0c7ca6310d: Rework Controller to use simplified denoramlize
  • e00fd0516c: Support schemas with denormalizeOnly (3.8+)

Patch Changes

  • Updated dependencies [93a08592c6]
  • Updated dependencies [e00fd0516c]
  • Updated dependencies [0c7ca6310d]
  • Updated dependencies [93a08592c6]
  • Updated dependencies [68a5944091]
  • Updated dependencies [93a08592c6]
  • Updated dependencies [9178a553cb]
  • Updated dependencies [93a08592c6]
  • Updated dependencies [0c7ca6310d]
  • Updated dependencies [6bd94947f3]
  • Updated dependencies [93f103e3af]
  • Updated dependencies [7910c901e7]
  • Updated dependencies [62f8b11188]
  • Updated dependencies [e00fd0516c]
  • Updated dependencies [0c7ca6310d]
  • Updated dependencies [68a5944091]
  • Updated dependencies [e00fd0516c]
  • Updated dependencies [a005bd06af]
  • Updated dependencies [e75312c7ee]
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 93a08592c6: enhance: Updated warning example with modern syntax
  • 93a08592c6: enhance: renderRestHook interceptors must be defined to warn about unmatched fetch
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • a46695be71: Legacy resources removed and replaced with rest-3 versions

Patch Changes

data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 1951401dbe: /new Controller.fetch() is 50% to 300% faster (cpu)
  • Updated dependencies [1951401dbe]
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 1951401dbe: Add denormalizeCached, denormalizeSimple exports. use denormalizeSimple when not providing a cache.
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 9157e9eba8: Fix: SSR previously would never unsuspend cache provider
    (NetworkManager.allSettled() must return undefined if nothing in flight)
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 9157e9eba8: Fix: SSR previously would never unsuspend cache provider
    (NetworkManager.allSettled() must return undefined if nothing in flight)
  • Updated dependencies [9157e9eba8]
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 9157e9eba8: renderRestHook.allSettled() sometimes returns undefined
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 775352c9ab: useController().fetch resolves to denormalized form
  • 775352c9ab: Add /next export for early adoption of breaking changes

Patch Changes

  • 54aad5e028: FIx ResultEntry with schema
  • Updated dependencies [54aad5e028]
  • Updated dependencies [775352c9ab]
  • Updated dependencies [775352c9ab]
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 54aad5e028: FIx ResultEntry with schema
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 775352c9ab: Add /next export for early adoption of breaking changes
  • 775352c9ab: Controller.fetch resolves to denormalized form and is fully typed

Patch Changes

  • 54aad5e028: FIx ResultEntry with schema
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 54aad5e028: Type RestEndpoint.update in constructor and .extends

Patch Changes

  • 775352c9ab: Add commonjs export for /next
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Updated dependencies [54aad5e028]
  • Updated dependencies [775352c9ab]
  • Updated dependencies [775352c9ab]
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • e1d43231f9: Add RestEndpoint in @rest-hooks/rest/next - has async getRequestInit and getHeaders

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • dbc4d0b843: Polling intervals double check cancellation before dispatching fetch
  • dbc4d0b843: allSettled() always returns an allsettled promise
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • dbc4d0b843: Polling intervals double check cancellation before dispatching fetch
  • Updated dependencies [dbc4d0b843]
  • Updated dependencies [dbc4d0b843]
data-client - @rest-hooks/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • dbc4d0b843: allSettled() always returns an allsettled promise