data-client

Async State Management without the Management

APACHE-2.0 License

Downloads
44.4K
Stars
1.9K
Committers
37

Bot releases are hidden (Show)

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

Published by ntucker about 3 years ago

2.0.1 (2021-09-14)

Note: Version bump only for package @rest-hooks/core

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

Published by ntucker about 3 years ago

7.0.0 (2021-09-08)

Note: Version bump only for package @rest-hooks/test

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

Published by ntucker about 3 years ago

2.0.0 (2021-09-08)

Note: Version bump only for package @rest-hooks/endpoint

data-client - [email protected]

Published by ntucker about 3 years ago

6.0.0 (2021-09-08)

⚠ ðŸ’Ĩ BREAKING CHANGES

Obvious and straightforward

  • Importing directly from hidden files is no longer supported
  • Node>=12
  • store is 100% POJO; Entity construction occurs during denormalization
    • if the store internals were relied upon previously, this will change the members

Name/interface changes

  • Entity.fromJS() -> Entity.process() to customize normalization init

Export removals (change import to another package)

  • Removed exports from 'rest-hooks': NestedEntity, schemas, isEntity, Entity, Resource, SimpleResource, SchemaDetail, SchemaList, Method, FlatEntity, SimpleRecord
    • use @rest-hooks/legacy, or @rest-hooks/rest instead

Minor/unlikely to impact

  • buildInferredResult removed. use inferResults instead
  • useError() will no longer create synthetic errors for missing entities
  • Rest Hooks 4 invalidIfStale behavior completely removed
  • Removed: SyntheticError (untriggerable since https://github.com/coinbase/rest-hooks/pull/938)
  • PollingSubscription: any errors are 'soft'
  • @rest-hooks/endpoint: no default errorPolicy, therefore all errors are 'hard'
  • @rest-hooks/rest: 500s are 'soft', else 'hard'

🚀 Features

  • Add errorPolicy to endpoint options (#971) (836f05b)
  • FixtureEndpoint & renderRestHook resolverFixtures (#1027) (bbb69e9)
  • Use 'exports' package.json member (#955) (7e9d39f)

💅 Enhancement

🐛 Bug Fix

📝 Documentation

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

Published by ntucker about 3 years ago

2.0.0 (2021-09-08)

🐛 Bug Fix

📝 Documentation

2.0.0-beta.6 (2021-09-06)

💅 Enhancement

2.0.0-beta.5 (2021-08-25)

💅 Enhancement

2.0.0-beta.4 (2021-08-22)

🐛 Bug Fix

  • Cannot update a component while rendering a different component (#1130) (0003388)

2.0.0-beta.3 (2021-08-21)

💅 Enhancement

🐛 Bug Fix

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

⚠ ðŸ’Ĩ BREAKING CHANGES

  • Importing directly from hidden files is no longer supported
  • Node>=12
  • Removed: SyntheticError (untriggerable since https://github.com/coinbase/rest-hooks/pull/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'
  • Rest Hooks 4 invalidIfStale behavior completely removed
  • buildInferredResult removed. use inferResults instead
  • fromJS() -> process() to customize init
  • normalize results in POJO rather than instances
  • FlatEntity, SimpleRecord removed (use @rest-hooks/legacy)
  • peerDep @rest-hooks/endpoint > 2
  • Removed exports from 'rest-hooks': NestedEntity, schemas, isEntity, Entity, Resource, SimpleResource, SchemaDetail, SchemaList, Method
    • use @rest-hooks/legacy, or @rest-hooks/rest instead
  • useError() will no longer create synthetic errors for missing entities

🚀 Features

  • Add errorPolicy to endpoint options (#971) (836f05b)
  • FixtureEndpoint & renderRestHook resolverFixtures (#1027) (bbb69e9)
  • Use 'exports' package.json member (#955) (7e9d39f)

💅 Enhancement

🐛 Bug Fix

📝 Documentation

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

Published by ntucker about 3 years ago

3.0.0 (2021-09-08)

🐛 Bug Fix

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

Published by ntucker about 3 years ago

8.0.0 (2021-09-08)

🐛 Bug Fix

8.0.0-beta.2 (2021-09-06)

💅 Enhancement

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

⚠ ðŸ’Ĩ BREAKING CHANGES

  • Importing directly from hidden files is no longer supported
  • Node>=12
  • 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

  • Allow normalizing entities that are just ids (#1002) (377391f)
  • Use 'exports' package.json member (#955) (7e9d39f)

💅 Enhancement

📝 Documentation

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

Published by ntucker about 3 years ago

3.0.0 (2021-09-08)

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

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

Published by ntucker about 3 years ago

1.5.0 (2021-09-08)

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

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

Published by ntucker about 3 years ago

1.0.0 (2021-09-08)

Note: Version bump only for package @rest-hooks/experimental

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

Published by ntucker about 3 years ago

0.1.1 (2021-09-08)

📝 Documentation

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

Published by ntucker about 3 years ago

0.5.0 (2021-09-08)

🚀 Features

  • Mark compatibility with upcoming versions (#959) (72da158)
data-client - @rest-hooks/[email protected]

Published by ntucker about 3 years ago

7.5.1 (2021-09-08)

🐛 Bug Fix

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

Published by ntucker about 3 years ago

6.2.1 (2021-09-08)

💅 Enhancement

  • Warn users if they are missing Suspense boundary (#1169) (4e83a48)
data-client - [email protected]

Published by ntucker about 3 years ago

5.3.4 (2021-09-08)

Note: Version bump only for package rest-hooks

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

Published by ntucker about 3 years ago

1.2.4 (2021-09-08)

Note: Version bump only for package @rest-hooks/endpoint

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

Published by ntucker about 3 years ago

1.5.4 (2021-09-08)

💅 Enhancement

  • Warn users if they are missing Suspense boundary (#1169) (4e83a48)

🐛 Bug Fix

data-client - [email protected]

Published by ntucker about 3 years ago

6.0.0-beta.6 (2021-09-06)

📝 Documentation

data-client - [email protected]

Published by ntucker about 3 years ago

0.0.1-beta.2 (2021-09-06)

Note: Version bump only for package benchmark

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

Published by ntucker about 3 years ago

7.0.0-beta.3 (2021-09-06)

💅 Enhancement

  • Warn users if they are missing Suspense boundary (#1169) (ccf819a)