Releases: golemfactory/golem-sdk-react
Releases · golemfactory/golem-sdk-react
Release list
v4.0.0
4.0.0 (2024-07-24)
The react SDK has been updated to use the new @golem-sdk/golem-js version 3.0 and @golem-sdk/task-executor version 2.0
Features
- a new
useAllocationhook has been added to help with managing new or existing allocations.
BREAKING CHANGES
- the
useExecutorhook now uses the same options as the new 2.0 task executor. See the full breakdown of all changes here @golem-sdk/task-executorand@golem-sdk/golem-jsare now peer dependencies, and should be installed separately, alongside this package. See the README for new installation instructions
v3.0.1
v3.0.0
3.0.0 (2024-02-13)
Features
- debit-notes: remove debit notes hooks (7c203a6)
- provider: allow using provider without yagna app-key (39fff12)
- useInvoice: allow searching for invoices with the new InvoiceProcessor (d2a61e2)
- useYagna: allow changing basePath with
useYagna(503fb6d)
BREAKING CHANGES
- debit-notes: The
useDebitNotesanduseHandleDebitNotehooks were removed - provider: YagnaProvider can now be used without a yagna app-key.
The key can now be set using theuseYagnahook.
v2.0.0
2.0.0 (2023-11-14)
Bug Fixes
- useExecutor and useTask now both return error as 'any' or null (321a15d)
Features
- hooks now consistently expose error information, added
errorproperty (9251c42) - useTask now also provides error information in case one was encountered (115c0cd)
BREAKING CHANGES
- removed
isErrorproperty from hook return values