hyper-fetch

⚑ Fetching and realtime data exchange framework.

APACHE-2.0 License

Downloads
16K
Stars
1K
Committers
9

Bot releases are visible (Hide)

hyper-fetch - hyper-fetch-v5.7.5 Latest Release

Published by github-actions[bot] 5 months ago

5.7.5 (2024-05-23)

Bug Fixes

  • Update package.json to fix typescript issue (#88) (9fe13e5)
hyper-fetch - hyper-fetch-v5.7.4

Published by github-actions[bot] 9 months ago

5.7.4 (2024-01-12)

Bug Fixes

  • πŸ› Minor bux fix + test fixes (f1da22a)
hyper-fetch - hyper-fetch-v5.7.3

Published by github-actions[bot] about 1 year ago

5.7.3 (2023-10-12)

Bug Fixes

  • πŸ› Response mappers now affect the initial state on change (#75) (de4a2fe)
hyper-fetch - hyper-fetch-v5.7.2

Published by github-actions[bot] about 1 year ago

5.7.2 (2023-10-04)

Bug Fixes

  • use correct path for types in core package.json (#74) (c36a581)
hyper-fetch - hyper-fetch-v5.7.1

Published by github-actions[bot] about 1 year ago

5.7.1 (2023-07-26)

Bug Fixes

  • πŸ› Refreshing and revalidation fixes (05136cd)
hyper-fetch - hyper-fetch-v5.7.0

Published by github-actions[bot] about 1 year ago

5.7.0 (2023-07-26)

Features

  • 🎸 Added response mapping to the helper hooks (63c8546), closes #65
hyper-fetch - hyper-fetch-v5.6.0

Published by github-actions[bot] over 1 year ago

5.6.0 (2023-07-12)

Features

  • 🎸 Changed prop name from fetchOnMount to revalidate (ec95422)
hyper-fetch - hyper-fetch-v5.5.0

Published by github-actions[bot] over 1 year ago

5.5.0 (2023-07-07)

Features

  • 🎸 Interceptors removal methods (8107407), closes #62
hyper-fetch - hyper-fetch-v5.4.1

Published by github-actions[bot] over 1 year ago

5.4.1 (2023-06-27)

Bug Fixes

  • πŸ› codegen-openapi missing dependencies fix (0f1f1c1)
hyper-fetch - hyper-fetch-v5.4.0

Published by github-actions[bot] over 1 year ago

5.4.0 (2023-06-27)

Features

  • 🎸 Added possibility to change resulting file name (168211b)
  • 🎸 Added url option for cli (a370c65)
  • 🎸 Openapi Generator for HF + cli (3560037)
hyper-fetch - hyper-fetch-v5.3.0

Published by github-actions[bot] over 1 year ago

5.3.0 (2023-06-24)

Bug Fixes

Features

  • 🎸 Improved library defaults for the queueKeys (98a5b60)
hyper-fetch - hyper-fetch-v5.2.0

Published by github-actions[bot] over 1 year ago

5.2.0 (2023-06-23)

Features

  • 🎸 Added possibility to toggle mock for all client reqs (b99b8c0)
hyper-fetch - hyper-fetch-v5.1.2

Published by github-actions[bot] over 1 year ago

5.1.2 (2023-06-20)

Bug Fixes

  • πŸ› Backend adapter fix (2ae142e)
  • πŸ› moved http addition to adapter.server from bindings (07bbb01)
hyper-fetch - hyper-fetch-v5.1.1

Published by github-actions[bot] over 1 year ago

5.1.1 (2023-06-16)

Bug Fixes

  • πŸ› Fixed hook id matching (636ba6b)
  • πŸ› Fixed useListener dependencies (d298ec0)
  • πŸ› useCache lifecycle listeners (12f6a04)
hyper-fetch - hyper-fetch-v5.1.0

Published by github-actions[bot] over 1 year ago

5.1.0 (2023-06-14)

Features

  • 🎸 Added mocker toggling (ff1b5c7)
hyper-fetch - hyper-fetch-v5.0.2

Published by github-actions[bot] over 1 year ago

5.0.2 (2023-06-12)

Bug Fixes

  • πŸ› Added missing __key (734a3d7)
  • πŸ› Fix initial data types (2b8e52c)
  • πŸ› React types and utils fixes (08b00ea)
  • πŸ› Removed admin adapters from hyper-fetch/firebase package (2d85525)
  • πŸ› Separate firebase admin adapter to a separate subpackage (ed5eb0a)
hyper-fetch - hyper-fetch-v5.0.1

Published by github-actions[bot] over 1 year ago

5.0.1 (2023-06-08)

Bug Fixes

  • πŸ› Fix React18 double fetching (ffb569f)
hyper-fetch - hyper-fetch-v5.0.0

Published by github-actions[bot] over 1 year ago

5.0.0 (2023-06-08)

βš”οΈ New Realtime Connectors

  • Added new realtime connectors with the following features:
    • Ability to directly change cache by update or set methods
    • Easier way to invalidate cache from listeners

🧨 Firebase, Graphql, Axios adapters

  • Added adapters for Firebase, GraphQL, and Axios with the following capabilities:
    • Firebase: Admin, Firestore, and Realtime adapters for both node and browser
    • GraphQL: Simple GraphQL adapter with tags parsing, compatible with both node and browser
    • Axios: Supercharged Axios adapter for both node and browser

πŸͺ„ Sockets Improvements

  • Implemented major improvements to sockets with the following enhancements:
    • Added adapter bindings to simplyfy adapter creation process
    • Introduced parameters support for both listeners and emitters
    • Improved types to indicate the state of instances
    • Split the default adapter into WebSocket and SSE adapters
    • Listeners now consume options object
    • Emitters now consume options object
    • Possibility to set onData hook to listeners
    • New interface for handling websockets acknowledgements

Other changes:

  • πŸ‘ΎΒ β€Revalidate” names changed into β€œinvalidate” for core and β€œrefetch” for react
  • πŸ—―οΈ Added setEndpointMapper for client to allow parsing graphql DocumentNodes
  • πŸ‹πŸ»β€β™‚οΈ Method setAdapter can return new Client instance now and inherit it’s types
  • πŸͺ’Β Emitter acknowledge event now pass parameters as single object

Bug Fixes

  • πŸ› Constraints fix for firestore browser adapter (2b1aaa5)
  • πŸ› Fixed internal issues with endpoint prop change (78ba22d)
  • πŸ› Fixed setAdapter types (5c363f1)
  • πŸ› onlyOnce option marked optional, remove unsub from extra (2beb2a7)
  • πŸ› Types fixes (e4fb176)

Features

  • 🎸 Added Cache update method, provided callbacks to setter (89d8227)
  • 🎸 Added EndpointMapper and parsing gql Document (ae3e566)
  • 🎸 Added firebase sockets error handling (98271c8)
  • 🎸 Added GraphQl adapter (59413bb)
  • 🎸 Added query constraints typecheck (a21aa84)
  • 🎸 Added socket bindings defaults (724bf5d)
  • 🎸 Added SocketAdapter type, extra type and fixes (efe3b15)
  • 🎸 Adjusted the structure and naming (ad88ae6)
  • 🎸 Adjustments to the bindings and types (cf2983f)
  • 🎸 Axios adapter (3b81cdd)
  • 🎸 Axios adapter draft (37904cc)
  • 🎸 Changed revalidation into refetch/invalidate (b192ef6)
  • 🎸 Changed revalidation into refetch/invalidate (a01fdb7)
  • 🎸 Created realtime sockets adapter (1550791)
  • 🎸 Firebase adapter config setup (cf2e674)
  • 🎸 Firebase realtime sockets admin adapter (54b325f)
  • 🎸 Firestore Sockets Admin (1ec5a95)
  • 🎸 Improved createRequest types (163d65a)
  • 🎸 Improved Firebase adapters (00f17bb)
  • 🎸 Listener and Emitter API changes (770859b)
  • 🎸 Mocker improvements (1165675)
  • 🎸 mocker totalUploaded, totalDownloaded (e3a2be4)
  • 🎸 Socket command instances name changed to endpoint (b6616c6)
  • 🎸 Structure improvements (60716c3)

BREAKING CHANGES

  • 🧨 'name' property in sockets instances of Emitter or Listener is no longer
    valid and it is changed to 'endpoint' instead
  • 🧨 Listener and Emitter API changes
  • 🧨 Renamed hooks interfaces elements
hyper-fetch - hyper-fetch-v4.0.2

Published by github-actions[bot] over 1 year ago

4.0.2 (2023-05-25)

Bug Fixes

  • πŸ› Response for callbacks (c3e2c45)
hyper-fetch - hyper-fetch-v4.0.1

Published by github-actions[bot] over 1 year ago

4.0.1 (2023-05-24)

Bug Fixes

  • πŸ› Fixes adapter payload processing (8453bba), closes #51