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
* Manifest creation helper by approxit in https://github.com/golemfactory/yapapi/pull/1103
Minor Features
* Add Api Configuration by lucekdudek in https://github.com/golemfactory/yapapi/pull/1064
Fixes
* run `goth` in a separate virtual environment by shadeofblue in https://github.com/golemfactory/yapapi/pull/1106
* fix the manifest helper by shadeofblue in https://github.com/golemfactory/yapapi/pull/1115
* fix goth nightly discord notification trigger by lucekdudek in https://github.com/golemfactory/yapapi/pull/1119
* fix goth nightly notification trigger by lucekdudek in https://github.com/golemfactory/yapapi/pull/1121
* re-enable VPN related tests by pwalski in https://github.com/golemfactory/yapapi/pull/1127
* fix test_yacat by lucekdudek in https://github.com/golemfactory/yapapi/pull/1128
* fix the aliasing in the manifest parser by shadeofblue in https://github.com/golemfactory/yapapi/pull/1129
* fix streaming batch by johny-b in https://github.com/golemfactory/yapapi/pull/1074
* fix exception on network node removal by shadeofblue in https://github.com/golemfactory/yapapi/pull/1139
Maintenance
* use `prerelease: true` and the testing config for goth by shadeofblue in https://github.com/golemfactory/yapapi/pull/1045
* update README.md to correctly reflect what is Golem by VanDavv in https://github.com/golemfactory/yapapi/pull/1056
* bump poetry version for github workflows to 1.2.2 by lucekdudek in https://github.com/golemfactory/yapapi/pull/1082
* remove deprecated set-output from github workflows by lucekdudek in https://github.com/golemfactory/yapapi/pull/1084
* fix goth runner no compatibility after adding new goth runners to the pool by lucekdudek in https://github.com/golemfactory/yapapi/pull/1099
* unified task runner scripts by approxit in https://github.com/golemfactory/yapapi/pull/1086
* add `build-essentials` to the platform deps by shadeofblue in https://github.com/golemfactory/yapapi/pull/1114
* remove unused requirements by shadeofblue in https://github.com/golemfactory/yapapi/pull/1140
**Full Changelog**: https://github.com/golemfactory/yapapi/compare/0.10.1...0.11.0