0.11.0
Changelog
The main feature of yapapi 0.11 is the addition of the manifest creation helper. It can be used to deploy those payloads that require a manifest but don't require a manifest signature - e.g. vm payloads using outgoing network connections that are whitelisted on provider nodes.
Deploying such payloads should be almost as straightforward as those that don't require manifests.
Example usage:
import base64
import json
from yapapi.payload import vm
from yapapi.payload.manifest import Manifest
async def generate_manifest():
manifest_obj = await Manifest.generate(
"05270a8a938ff5f5e30b0e61bc983a8c3e286c5cd414a32e1a077657",
outbound_urls=["http://bor.golem.network"]
)
manifest = json.dumps(manifest_obj.dict(by_alias=True))
payload = await vm.manifest(
base64.b64encode(manifest.encode("utf-8")).decode("ascii"),
capabilities=["vpn", "manifest-support"]
)
...
Major Features
Minor Features
- Add Api Configuration by @lucekdudek in #1064
Fixes
- run
goth
in a separate virtual environment by @shadeofblue in #1106 - fix the manifest helper by @shadeofblue in #1115
- fix goth nightly discord notification trigger by @lucekdudek in #1119
- fix goth nightly notification trigger by @lucekdudek in #1121
- re-enable VPN related tests by @pwalski in #1127
- fix test_yacat by @lucekdudek in #1128
- fix the aliasing in the manifest parser by @shadeofblue in #1129
- fix streaming batch by @johny-b in #1074
- fix exception on network node removal by @shadeofblue in #1139
Maintenance
- use
prerelease: true
and the testing config for goth by @shadeofblue in #1045 - update README.md to correctly reflect what is Golem by @VanDavv in #1056
- bump poetry version for github workflows to 1.2.2 by @lucekdudek in #1082
- remove deprecated set-output from github workflows by @lucekdudek in #1084
- fix goth runner no compatibility after adding new goth runners to the pool by @lucekdudek in #1099
- unified task runner scripts by @approxit in #1086
- add
build-essentials
to the platform deps by @shadeofblue in #1114 - remove unused requirements by @shadeofblue in #1140
Full Changelog: 0.10.1...0.11.0