Skip to content

Releases: golemfactory/golem-sdk-react

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 24 Jul 12:02
5caa2d4

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 useAllocation hook has been added to help with managing new or existing allocations.

BREAKING CHANGES

  • the useExecutor hook now uses the same options as the new 2.0 task executor. See the full breakdown of all changes here
  • @golem-sdk/task-executor and @golem-sdk/golem-js are now peer dependencies, and should be installed separately, alongside this package. See the README for new installation instructions

v3.0.1

Choose a tag to compare

@github-actions github-actions released this 27 Feb 15:34

3.0.1 (2024-02-27)

Bug Fixes

  • updated dependencies for new task-executor repo (#17) (f917c8d)

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Feb 13:58
eb8e1ae

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 useDebitNotes and useHandleDebitNote hooks were removed
  • provider: YagnaProvider can now be used without a yagna app-key.
    The key can now be set using the useYagna hook.

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 11:54
abe1e6a

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 error property (9251c42)
  • useTask now also provides error information in case one was encountered (115c0cd)

BREAKING CHANGES

  • removed isError property from hook return values

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 26 Oct 10:55
9d6e925

1.0.2 (2023-10-26)

Bug Fixes

  • deps: use golem-js 0.12.0 in the react package (1314e32)

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 04 Oct 10:18

1.0.1 (2023-10-04)

Bug Fixes

  • add missing README.md file - cheers! (b4caccb)

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 10:12

1.0.0 (2023-10-04)

Features

  • export ExecutorOptions type useExecutor hook (3c82c9b)
  • init package (15117d4)
  • initial react package: (ef0ba1e)
  • prefix all swr keys with same value (7da3ddd)
  • rename GolemProvider to YagnaProvider (e2ea351)
  • useHandleDebitNote hook (67b211d)
  • useHandleInvoice hok (d6b02e8)