Skip to content

@rest-hooks/react@8.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Jul 22:40
· 1434 commits to master since this release
c05c406

Release announcement and upgrade guide

Major Changes

  • bf141cb: Removed deprecated Endpoint.optimisticUpdate -> use Endpoint.getOptimisticResponse
  • bf141cb: Deprecations:
    • controller.receive, controller.receiveError
    • RECEIVE_TYPE
    • MiddlewareAPI.controller (MiddlewareAPI is just controller itself)
      • ({controller}) => {} -> (controller) => {}
  • 54019cb: Remove DispatchContext, DenormalizeCacheContext (previously deprecated)
  • bf141cb: NetworkManager interface changed to only support new actions
    SubscriptionManager/PollingSubscription interfaces simplified based on new actions
  • 9788090: Controller.fetch() returns denormalized form when Endpoint has a Schema

Minor Changes

  • 54019cb: Add INVALID to __INTERNAL__
  • bf141cb: createFetch, createReceive, createReceiveError removed from __INTERNAL__
    These were previously deprecated.

Patch Changes