Releases: golemfactory/golem-js
Releases · golemfactory/golem-js
v1.0.0
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
fromexecutor.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 addedTaskExecutor.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 toexpirationSec
and the value should beseconds
instead of
milliseconds
,offerFetchingInterval
toofferFetchingIntervalSec
.
The demand configuration will now throw an error if any of these values
will not be a positive integer. executor.run
always returns theOutputType
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 therun
method re-throws the error.
v1.0.0-beta.9
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 toexpirationSec
and the value should beseconds
instead of
milliseconds
,offerFetchingInterval
toofferFetchingIntervalSec
.
The demand configuration will now throw an error if any of these values
will not be a positive integer.
v1.0.0-beta.10
v1.0.0-beta.8
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
1.0.0-beta.7 (2023-11-23)
Features
- remove
undefined
fromexecutor.run
return type (5fd263f) - remove input parameter from worker generic type (86ad2d9)
BREAKING CHANGES
executor.run
always returns theOutputType
or rejects with an Error.
undefined
has been removed from the return type union.- worker type no longer takes two parameters
v0.13.1
v0.13.0
v1.0.0-beta.6
v1.0.0-beta.5
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)