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 - @data-client/[email protected]

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

Patch Changes

  • Updated dependencies [bf141cb5a5]
  • Updated dependencies [9788090c55]
  • Updated dependencies [9788090c55]
  • Updated dependencies [011cc20732]
data-client - @data-client/[email protected]

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

Patch Changes

  • Updated dependencies [bf141cb5a5]
  • Updated dependencies [87475a0cae]
data-client - @data-client/[email protected]

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

Minor Changes

  • bf141cb5a5: Removed deprecated Endpoint.optimisticUpdate -> use Endpoint.getOptimisticResponse
  • 011cc20732: Remove FetchShape compatibility.
    This removes support for the legacy hooks in 'rest-hooks' like useResource()

Patch Changes

  • 9788090c55: Fix Collection creates (like push, unshift) normalizing when no collections are in store
  • 9788090c55: Fix Collections handling single item with Union schema
  • Updated dependencies [bf141cb5a5]
  • Updated dependencies [9788090c55]
  • Updated dependencies [9788090c55]
  • Updated dependencies [011cc20732]
data-client - @data-client/[email protected]

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

Minor Changes

  • bf141cb5a5: Removed deprecated Endpoint.optimisticUpdate -> use Endpoint.getOptimisticResponse
  • 011cc20732: Remove FetchShape compatibility.
    This removes support for the legacy hooks in 'rest-hooks' like useResource()

Patch Changes

  • 9788090c55: Fix Collection creates (like push, unshift) normalizing when no collections are in store
  • 9788090c55: Fix Collections handling single item with Union schema
data-client - @data-client/[email protected]

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

Minor Changes

  • bf141cb5a5: Removed deprecated Endpoint.optimisticUpdate -> use Endpoint.getOptimisticResponse
  • bf141cb5a5: legacyActions were removed. use action imports directly
    New action types match previously exported newActions and have different form
    This will likely require updating any custom Managers
  • bf141cb5a5: Deprecations:
    • controller.receive, controller.receiveError
    • RECEIVE_TYPE
    • MiddlewareAPI.controller (MiddlewareAPI is just controller itself)
      • ({controller}) => {} -> (controller) => {}
  • bf141cb5a5: NetworkManager interface changed to only support new actions
    SubscriptionManager/PollingSubscription interfaces simplified based on new actions
  • bf141cb5a5: reducer -> createReducer(new Controller())
  • 9788090c55: Controller.fetch() returns denormalized form when Endpoint has a Schema
  • bf141cb5a5: resetAction requires a date
  • bf141cb5a5: state.lastReset must be number

Patch Changes

  • Updated dependencies [bf141cb5a5]
  • Updated dependencies [87475a0cae]
data-client - @data-client/[email protected]

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

Patch Changes

  • e8667914f1: Fix peerDeps range
data-client - @rest-hooks/[email protected]

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

Patch Changes

  • 73a2be1484: Proxy to @data-client

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

1.2.8 (2023-03-15)

💅 Enhancement

ðŸ“Ķ Package

1.2.7 (2023-03-02)

ðŸ“Ķ Package

1.2.6 (2023-02-11)

Note: Version bump only for package @rest-hooks/use-enhanced-reducer

1.2.5 (2023-01-30)

📝 Documentation

  • Update github organization to data-client (#2396) (45faab1)

1.2.4 (2023-01-14)

🐛 Bug Fix

  • Compatibility with React 18 StrictMode (e7174a3)

1.2.3 (2023-01-12)

ðŸ“Ķ Package

1.2.2 (2022-12-23)

ðŸ“Ķ Package

1.2.1 (2022-12-05)

ðŸ“Ķ Package

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

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

Patch Changes

  • 1517a5d2c8: Support more symbols in path args by ending name when encountered
  • 73a2be1484: Proxy to @data-client
data-client - @rest-hooks/[email protected]

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

Patch Changes

  • c8555807de: Minor performance improvements to normalization
  • 73a2be1484: Proxy to @data-client
data-client - @rest-hooks/[email protected]

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

Patch Changes

  • c8555807de: Minor performance improvements to normalization
  • 73a2be1484: Proxy to @data-client
data-client - @rest-hooks/[email protected]

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

Patch Changes

  • 73a2be1484: Proxy to @data-client
data-client - @rest-hooks/[email protected]

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

Patch Changes

  • 73a2be1484: Proxy to @data-client
data-client - @rest-hooks/[email protected]

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

Patch Changes

  • 73a2be1484: Proxy to @data-client
data-client - @rest-hooks/[email protected]

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

Patch Changes

  • c8555807de: Minor performance improvements to normalization
  • 73a2be1484: Proxy to @data-client
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

  • 33d55f9bf5: Remove false positive Resource.delete with 200 response type but empty text
data-client - @rest-hooks/[email protected]

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

Minor Changes

  • c8398fb1ca: Add 'optimistic' option to createResource()

Patch Changes

  • 03dda411e7: Non-nested Collections will infer
  • ad8cfea1b5: Resource.partialUpdate's body members should always be optional
  • acc1fdde9d: Improve type compatibility with TS 5.1 and undefined searchParams
  • 03dda411e7: Update createCollectionFilter's collectionKey type to reflect values are always strings
  • Updated dependencies [82de0b66dd]
  • Updated dependencies [03dda411e7]
  • Updated dependencies [03dda411e7]
data-client - @rest-hooks/[email protected]

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

Patch Changes

  • c8398fb1ca: Only use optimistic responses for endpoints with sideEffects
  • Updated dependencies [c8398fb1ca]
data-client - @rest-hooks/[email protected]

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

Patch Changes

  • 001e27adad: Export initialState and createReducer even with newer rest-hooks/react
  • Updated dependencies [c8398fb1ca]
data-client - @rest-hooks/[email protected]

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

Patch Changes

  • c8398fb1ca: Only use optimistic responses for endpoints with sideEffects