Skip to content

Releases: golemfactory/golem-js

v1.0.0

30 Nov 12:06
cb9828b
Compare
Choose a tag to compare

1.0.0 (2023-11-30)

Features

  • activities can last longer than 30 minutes (c2b5f2b)
  • add onActivityReady and deprecate beforeEach (bdfaa11)
  • added debug logging to WorkContext commands (82236ee)
  • executor: customize the behavior of startupTimeout with exitOnNoProposals flag (df87620)
  • executor: remove map and foreach (7ac21f3)
  • executor: throw an error when a task fails (65bfed5)
  • logger: removed table from all loggers (e935f5a)
  • remove undefined from executor.run return type (5fd263f)
  • remove input parameter from worker generic type (86ad2d9)
  • task executor emits lifecycle events through an EventEmitter (e9e6f33)
  • Depecated TaskExecutor.end and added TaskExecutor.shutdown as replacement (b6fe960)
  • task executor emits lifecycle events through an EventEmitter (07ec23f)
  • task executor's constructor is public (cbaaa7a)
  • work_context: added spawn method returning a RemoteProcess instance (542057d)
  • maxTaskRetries validation (#690) (9be65e8), closes #690

BREAKING CHANGES

  • The maxTaskRetries parameter cannot be less than zero. Setting the value to zero will cause the task not to be retried if an error occurs.
  • DemandOptions properties renamed: expiration got
    renamed to expirationSec and the value should be seconds instead of
    milliseconds, offerFetchingInterval to offerFetchingIntervalSec.
    The demand configuration will now throw an error if any of these values
    will not be a positive integer.
  • executor.run always returns the OutputType or rejects with an Error.
    undefined has been removed from the return type union.
  • worker type no longer takes two parameters
  • executor: executor.map and executor.foreach have been removed
  • executor: Executor no longer terminates itself on task error.
    Instead the run method re-throws the error.

v1.0.0-beta.9

29 Nov 12:20
f6e3988
Compare
Choose a tag to compare
v1.0.0-beta.9 Pre-release
Pre-release

1.0.0-beta.9 (2023-11-29)

Features

  • activities can last longer than 30 minutes (c2b5f2b)

BREAKING CHANGES

  • DemandOptions properties renamed: expiration got
    renamed to expirationSec and the value should be seconds instead of
    milliseconds, offerFetchingInterval to offerFetchingIntervalSec.
    The demand configuration will now throw an error if any of these values
    will not be a positive integer.

v1.0.0-beta.10

29 Nov 16:35
d4f6a75
Compare
Choose a tag to compare
v1.0.0-beta.10 Pre-release
Pre-release

1.0.0-beta.10 (2023-11-29)

Features

  • task executor's constructor is public (cbaaa7a)

v1.0.0-beta.8

28 Nov 21:08
9be65e8
Compare
Choose a tag to compare
v1.0.0-beta.8 Pre-release
Pre-release

1.0.0-beta.8 (2023-11-28)

Bug Fixes

Features

  • executor: customize the behavior of startupTimeout with exitOnNoProposals flag (9a746e2)

BREAKING CHANGES

  • The maxTaskRetries parameter cannot be less than zero. Setting the value to zero will cause the task not to be retried if an error occurs.

v1.0.0-beta.7

23 Nov 15:45
8487362
Compare
Choose a tag to compare
v1.0.0-beta.7 Pre-release
Pre-release

1.0.0-beta.7 (2023-11-23)

Features

  • remove undefined from executor.run return type (5fd263f)
  • remove input parameter from worker generic type (86ad2d9)

BREAKING CHANGES

  • executor.run always returns the OutputType or rejects with an Error.
    undefined has been removed from the return type union.
  • worker type no longer takes two parameters

v0.13.1

23 Nov 13:02
5c570c3
Compare
Choose a tag to compare

0.13.1 (2023-11-23)

Bug Fixes

  • dont terminate the executor for the user (#659) (5c570c3)

v0.13.0

23 Nov 11:32
dbd64a5
Compare
Choose a tag to compare

0.13.0 (2023-11-23)

Features

  • executor: customize the behavior of startupTimeout with exitOnNoProposals flag (9a746e2)

v1.0.0-beta.6

21 Nov 14:42
49297d9
Compare
Choose a tag to compare
v1.0.0-beta.6 Pre-release
Pre-release

1.0.0-beta.6 (2023-11-21)

Features

  • add onActivityReady and deprecate beforeEach (bdfaa11)

v1.0.0-beta.5

20 Nov 18:36
cd92e32
Compare
Choose a tag to compare
v1.0.0-beta.5 Pre-release
Pre-release

1.0.0-beta.5 (2023-11-20)

Bug Fixes

  • fixed issue with too long result polling interval leading to batch timeout (418874f)

Features

  • task executor emits lifecycle events through an EventEmitter (e9e6f33)

v1.0.0-beta.4

17 Nov 13:45
2420aff
Compare
Choose a tag to compare
v1.0.0-beta.4 Pre-release
Pre-release

1.0.0-beta.4 (2023-11-17)

Features

  • added debug logging to WorkContext commands (82236ee)
  • work_context: added runAndStream method for streaming command results (8201d33)
  • work_context: added spawn method returning a RemoteProcess instance (542057d)