Skip to content

@rest-hooks/[email protected]

Pre-release
Pre-release

Choose a tag to compare

@ntucker ntucker released this 12 Jul 07:04
· 3320 commits to master since this release
9c80a80

2.0.0-beta.1 (2021-07-12)

⚠ 💥 BREAKING CHANGES

    • Importing directly from hidden files is no longer supported
  • Node>=12
    • Removed: SyntheticError (untriggerable since #938)
  • @rest-hooks/rest: 500s are 'soft', else 'hard'
  • PollingSubscription: any errors are 'soft'
  • @rest-hooks/endpoint: no default errorPolicy, therefore all errors are
    'hard'
    • fromJS() -> process() to customize init
  • normalize results in POJO rather than instances
  • FlatEntity, SimpleRecord removed (use @rest-hooks/legacy)
  • peerDep @rest-hooks/endpoint > 2

🚀 Features

💅 Enhancement

📝 Documentation