Skip to content

@rest-hooks/rest@6.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 May 22:40
· 1509 commits to master since this release
4dbfdb7

Minor Changes

  • 93a0859: Added RestEndpoint.paginated('cursor').
    Place the name of the pagination field instead of writing a function
  • e00fd05: Values() removes deleted members like Array
  • 93a0859: Add RestEndpoint collections extenders: push/unshift/assign/insert
  • 93a0859: Support using args[] during normalization/denormalization
  • 93a0859: Entity.pk() has a fourth argument: args[]
  • 93a0859: Add next/createResource: Uses Collections and has more options from RestEndpoint
    Migration PR of examples is a good example of how to migrate
  • 7910c90: Add INVALID symbol
  • 93a0859: Add Collections - entities but for Arrays or Values
  • e00fd05: Add schema.denormalizeOnly optimized path for normalizr 11+
  • 7910c90: Add schema.Invalidate (new name for Delete)

Patch Changes

  • 67e9eae: Use type widening in RestEndpoint and createResource constructors for non-generics
  • 93f103e: Values members are skipped if they are falsy
  • Updated dependencies [e00fd05]
  • Updated dependencies [a005bd0]
  • Updated dependencies [93f103e]
  • Updated dependencies [68a5944]
  • Updated dependencies [93a0859]
  • Updated dependencies [93a0859]
  • Updated dependencies [0c7ca63]
  • Updated dependencies [a005bd0]
  • Updated dependencies [7910c90]
  • Updated dependencies [93a0859]
  • Updated dependencies [e00fd05]
  • Updated dependencies [7910c90]
    • @rest-hooks/endpoint@3.8.0