Release Notes 08.05.2020

api-blockchain-core - Version 2.19.0

Features

  • add sourceIdentity as optional parameter for setDidDocumentOffline to explicitly parse the signing identity
  • add check in createOfflineProfile for company profile type to create two profiles otherwise only create one
  • add method fillProfile to fill empty profile
  • add method getRuntimeForIdentity to create a runtime for a specific identity
  • add methods setIdentityAccess, removeIdentityAccess and getIdentityAccessList for managing access to identities
  • A DID document’s @context and controller properties can now also be arrays
  • ensure support for Runtimes useIdentity flag in entire library
  • update following modules for useIdentity support
    • DigitalTwin
    • Onboarding
    • Payments (limited, will undergo further changes in future)
    • Verifications
    • Votings
  • addded EvanIdentity as authorization parameter to result of utils.getSmartAgentAuthHeaders (for usage sample have a look to edge-server-seed)
  • add Identity class and add functions for grant / remove access to act on behalf of identity
  • support identity salting for encryptionKey generation for createDefaultRuntime

Fixes

  • Fixed bug where a new DID document proof would incorporate the old proof and thus would make the document increasingly larger
  • Fixed bug for default DID documents that had a checksum case ethereumAddress property which made the proof validating mechanism fail
  • add startBlock argument to loadChannelFromBlockchain in Payments to avoid long running function calls
  • update tests to allow running tests via identity
  • include identity tests to automatic test runs
  • throw correct error message when running setVerificationAndVc without useIdentity runtime
  • use useIdentity flag for createOfflineProfile
  • pass password to createOfflineProfile to enable dataKey generation based on the users identity
  • checked node 13 compatibility
  • reset executor signer for runtime initialization with account that has no identity

dbcp - Version 1.11.2

Fixes

  • check Node.js 13 compatibility

generator-evan - Version 1.13.0

Features

  • add useIdentity support

Fixes

  • fix npx link-agents

Deprecations

  • remove business center generator and helper libraries
  • remove dapp generator

ui-dapp-browser - Version 3.0.2

Fixes

  • recreate ipfs-cache indexeddb on aborted event
  • add EVAN_CHAIN to config process.env
  • fix devMode check in iframe

ui-dapps - Version 4.1.0

Features

  • use new @evan.network/ui-dapp-browser
  • use activeIdentity
  • be able to use @evan.network/api-blockchain-core with identities
  • automatic useIdentity detection
  • dapps
    • add ui-session for handling logged in users
    • add olddappbrowser.evan dapp, to enable backwards compatibility
    • digital-twin-detail
      • add address to twin detail
    • add settings dapp
      • includes private / encryption key export
      • includes runtime config export
      • includes browser settings
  • core
    • add new sidebar / bottom bar design with active identity display
  • add DID Document section to profile DApp
  • libs
    • add vee-validate as dapp library (validate.vee.libs)
  • use identity for profile encryption salting
  • seperate payment.evan dapp
    • moved eve top up / eve sent to seperate dapp
    • payment channel handling and status display for ipfs payment channels

Fixes

  • Last transactions for twins created by identities are now appearing
  • fix old-dapp-browser createDefaultRuntime without initial created core runtime
  • fix profile design
  • fix login for rly old profiles

edge-server-2fi - Version 1.2.0

Fixes

  • enable useIdentity and use setVerificationAndVc instead of setVerification for finalize notary verification

edge-server-search - Version 1.1.0

Features

  • add EvanIdentity context to digital twin search

Fixes

  • Fixed twin search to escape special characters and use a smarter search method
  • Fixed twin addresses can be passed lowercased or checksum-cased to actions and actions will always return checksum case addresses
  • Twin search now supports internal transactions (for identity use cases)

edge-server-seed - Version 1.9.0

Features

  • add ensureIdentityAuth to middlwares/authentication to support authentication via identities by checking the EvanIdentity authentication header
  • add registerAuthMiddleware to SmartAgent class for enabling identity authentication with custom auth middlewares
  • remove requester information on default
  • add useIdentity and identity config support

smart-agent-faucet - Version 1.5.0

Features

  • create action now creates two empty profiles when compayProfile is set
  • add companyProfile parameter for createEmptyProfile in initializer and action
  • add skip parameter for createIdentityContract
  • when creating a profile keep existing identity if account already has one
  • add ONBOARDING_CAPTCHA_DISABLED env variable for local testing

smart-agent-onboarding - Version 1.2.0

Features

  • allow sending onboarding bmails without funds

Fixes

  • redirect email invitation to onboarding.vue.evan
  • don’t throw an error by sending zero eve