Skip to content

0.13.1

Latest
Compare
Choose a tag to compare
@cryptobench cryptobench released this 26 Nov 11:50

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.