Releases: golemfactory/yapapi
Releases · golemfactory/yapapi
0.13.1
Release Notes - yapapi v0.13.1
New Features
- Added support for Partner Scheme outbound access in dapp-runner
- Added support for Partner Scheme outbound in Yapapi
Changes
Node Descriptor Support
- Added new
node_descriptor
field to manifest requests - When using node descriptor:
- Only manifest is required (no signature/cert needed).
- Node descriptor must be provided as a dictionary
- Added new partner scheme example in external/external-api-request
Simplified Manifest Handling
- Automatic base64 encoding for manifest-related files
- No need to manually encode manifest, signature, or certificate files
- Accepts both string and bytes input
- Automatically detects and preserves existing base64 encoding
# Before:
manifest = base64.b64encode(open("manifest.json", "rb").read()).decode()
manifest_sig = base64.b64encode(open("manifest.sig", "rb").read()).decode()
# Now:
manifest = open("manifest.json", "rb").read() # or just pass the file contents directly
manifest_sig = open("manifest.sig", "rb").read()
Breaking Changes
None. All changes are backward compatible.
0.13.0
0.13.0a0
0.12.0
What's Changed
- Service serialization and deserialization by @shadeofblue in #1136
- Service API suspend / resume + a modified
webapp
example by @shadeofblue in #1137 - add
golem.resume_network
method by @shadeofblue in #1143 - Scx1332/golem registry integration by @scx1332 in #1138
- fix the signature of the emitted ServiceStateChanged event to match t… by @shadeofblue in #1145
Full Changelog: 0.11.0...0.12.0
0.12.0-alpha.1
What's Changed
- fix the signature of the emitted ServiceStateChanged event to match t… by @shadeofblue in #1145
Full Changelog: 0.12.0-alpha.0...0.12.0-alpha.1
0.12.0-alpha.0
What's Changed
- Blue/serialize dirty by @shadeofblue in #1136
- Service API suspend / resume + a modified
webapp
example by @shadeofblue in #1137 - 0.11 to master by @shadeofblue in #1142
- add
golem.resume_network
method by @shadeofblue in #1143 - Scx1332/golem registry integration by @scx1332 in #1138
Full Changelog: 0.11.0...0.12.0-alpha.0
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
0.11.0-alpha.0
What's Changed
- 0.10 to master by @shadeofblue in #1040
- use
prerelease: true
and the testing config for goth by @shadeofblue in #1045 - Workflow to add new issues to SDK team board by @mateuszsrebrny in #1031
- Update README.md to correctly reflect what is Golem by @VanDavv in #1056
- 0.10 to master by @shadeofblue in #1065
- Add Api Configuration by @lucekdudek in #1064
- 0.10 to master by @shadeofblue in #1078
- 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
- run
goth
in a separate virtual environment by @shadeofblue in #1106 - add
build-essentials
to the platform deps by @shadeofblue in #1114 - Manifest creation helper by @approxit in #1103
- 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-enabling 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
- 0.10 to master by @shadeofblue in #1135
New Contributors
Full Changelog: 0.10.1...0.11.0-alpha.0
0.10.1
What's Changed
-
- bump goth to 0.14 by @shadeofblue in #1077
- update the default payment network to
goerli
by @shadeofblue in #1133 - fixed allocation creation by @prekucki in #1134
Full Changelog: 0.10.0...0.10.1
0.10.1-alpha.1
What's Changed
Full Changelog: 0.10.1-alpha.0...0.10.1-alpha.1