Skip to content

v0.14.0

Choose a tag to compare

@nguyer nguyer released this 22 Mar 18:48
992ed8a

Summary

firefly_explorer

Breaking Changes and Migrations

  • FIR-9 Enhanced Identity API - custom identities and DID support
    • New namespaced API endpoints to manage identities within a namespace:
      • POST /api/v1/namespaces/identities - async broadcast, with confirm=true option for sync
      • GET /api/v1/namespaces/identities - collection of identities within namespace
      • GET /api/v1/namespaces/identities/{iid} - individual identity
      • GET /api/v1/namespaces/identities/{iid}/did - generated DID document
      • GET /api/v1/namespaces/identities/{iid}/verifiers - collection of keys
    • New non-namespaced endpoint is provided to look up identities by DID:
      • GET /api/v1/network/identities/{did} - efficient cached DID to identity resolution
    • Minor changes to existing APIs
      • GET /api/v1/network/organizations - now returns identity object
      • GET /api/v1/network/nodes - now returns identity object
      • GET /api/v1/status - now returns the did of the local organization
      • The identity field in nodes/orgs has been removed (used to contain the signing key)
      • The did field from identity is newly available on nodes and orgs
    • Existing node and organization identities are migrated to the new identity API
      • No migration support for non-root organizations, as the FIR-9 security model requires a verification transaction from the parent organization that is not available.
      • Existing root organization and node objects are migrated
      • New nodes joining a network can process previously published organization and node identities
      • All organizations now represented as an identity in the ff_system namespace with special types org and node
  • Operation type strings have been updated for consistency:
    • blockchain_pin_batch - previously blockchain_batch_pin
    • dataexchange_send_batch - previously dataexchange_batch_send
    • dataexchange_send_blob - previously dataexchange_blob_send
    • sharedstorage_upload_batch - previously sharedstorage_batch_broadcast
    • sharedstorage_upload_blob - new
    • sharedstorage_download_batch - new
    • sharedstorage_download_blob - new
  • Blockchain events
    • The /api/v1/contracts/subscriptions endpoint has been renamed to /api/v1/contracts/listeners
    • The /messages/{msgid}/operations endpoint has been removed
    • Events of type blockchain_event are now type blockchain_event_received
  • The Ethereum plugin now expects a different input format to generate a FireFly Contract Interface from an Ethereum ABI. Please see the docs for full details.
  • The Public Storage plugin interface has been renamed to Shared Storage. The FireFly core config should be updated to replace publicstorage with sharedstorage as a root key. This release of FireFly is still backwards compatible with the old config key.

Updated Dependencies

What's Changed

Full Changelog: v0.13.1...v0.14.0