·
3068 commits
to master
since this release
3.0.0-beta.0 (2021-06-30)
⚠ 💥 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
- Add errorPolicy to endpoint options (#971) (836f05b)
- Normalize merges entities, entitymeta, indexes (#915) (bd21d8c)
- Use 'exports' package.json member (#955) (7e9d39f)
💅 Enhancement
- Different babel targets for cjs and umd builds (#989) (f054814)
- Entities normalize to POJO (#940) (75ebdfe)
- Remove 'fallback' package.json exports (#992) (dc95f9d)
- SimpleResource is deprecated (#991) (cf5c0bf)