Releases: golemfactory/yapapi
Releases · golemfactory/yapapi
0.7.0-alpha.0
0.7.0-alpha.0
433 Eros
Changelog
Enhancements
- Report activity termination by the provider (#587)
- Retry some Activity API calls that fail due to recoverable GSB errors (#587)
Bugfixes
- Reduce the number of files kept open by the
gftp
storage provider (requires yagna 0.7.3, with older versions this fix is d
isabled) (#543) - Fix a warning message displayed when no offers are found within 20s to include correct upper bound for task / service expira
tion (180 min instead of 30 min) (#582) - Update fallback URL for VM image repository (#565)
- If a service instance stops in
starting
state due to a signal, don't spawn another instance instead (#547)
Integration test updates and fixes
0.6.3-alpha.1
Add semantic-version to dependencies, bump version to 0.6.3-alpha.1
0.6.3-alpha.0
Bump version to 0.6.3-alpha.0 (#589)
Roswell
Changelog
Features
- Respawn instances that failed in
starting
state (#509) - Support for filtering provider offers by "golem.inf.cpu.threads" (#508)
Bugfixes
- Error handling in
Services._run_instance()
(#498) - Reduce the number of log entries related to confirmed proposals (#505)
- Fix the constraints filter generation for an empty list of constraints (#524)
- Throw errors raised in batch.prepare() into command generator (#530)
- Handle
aiohttp.ClientOSError
in agreement-related Market API calls (#535) - Remove a stale import (#528)
Integration test updates and fixes
0.6.2-alpha.0
Bump version to 0.6.2-alpha.0 (#526)
Eastern 66
Fixes
- Handle activity creation failures in spawn_instance (#458)
- Repeat Payment API calls on timeout errors (#473)
- Close async generators created by Executors on Golem shutdown (#482)
Minor changes
- Align logs datetime format with yagna - add milliseconds and a TZ offset (#463)
Updates and fixes to the examples
- Remove unneeded constants from the simple-service-poc example (#462)
- Fix import path to Service class in the hello-service example (#471)
- Replace NamedTemporaryFile usage in yacat example (#488)
- Add default value to yacat keyspace (#490)
Integration test updates
0.6.1-alpha.0
Close async generators created by Executors on Golem shutdown (#482)
Computing-Tabulating-Recording Co
Changelog
Major changes
- Make
Golem
class the new entrypoint for the API, extract common parts into an the internal_Engine
(#365) - Add
yapapi.service
- new high-level API for Services (#383)
Additonal features
- Enable using asynchronous task iterators as sources of tasks (#360)
- Add support for execution script output capturing (with optional blocking) (#367)
- Add
WorkContext.terminate()
method (#411) - Allow parametrization of
WorkContext.start()
(#409) - New example: Simple Service POC (#303)
- New examples: minimal batch and minimal service (#421)
Fixes
- Update versions for some dependencies to fix
poetry
solver issues (#395) - Fix passing command errors from the engine to worker functions (#394)
- Wait for instance tasks before shutting down a
Cluster
(#423) - Always cancel
process_invoices_job
when shutting down theGolem
engine (#452) - Silence
asyncio.CancelledError
when awaiting the just-cancelled task (#449)
Documentation updates
- Adjust
README.md
to changes in the API (#451) - Add missing docstrings for public classes and methods (#416)
- Add a docstring for the
Golem
class (#447) - Add some comments to the
SmartQueue
(#357) - fix
DemandBuilder
example usage (#382)
Other updates
- Refactor
yacat
example to use the updated API (#403) - Blender example: do not overwrite blender example debug logs (#361)
- Replace
message
in events.CommandExecuted withstdout
andstderr
(#379) - Immediately terminate agreement after service instance finishes (#420)
- Move
Golem
andJob
fromyapapi.executor.__init__
toyapapi.golem
(#431) - Move some modules from
yapapi/executor
toyapapi/
(#434) - Make the default
Service.run()
await indefinitely instead of yieldingNone
in a loop (#448) - Make summary logger the default event consumer (#428)
- Use
devnet-beta.2
as the default subnet in examples (#413)
Internal changes
- Make
find_offers()
anExecutor
method; handle offer proposals concurrently (#306) - Refactor
SmartQueue
to work correctly with asynchronous task iterators (#399) - Enable multiplexing of command batches and control signals in the services' state handler (#408)
Integration testing
0.6.0-alpha.1
Update project version to 0.6.0-apha.1 (#453)