Skip to content

v4.0.0

Latest
Compare
Choose a tag to compare
@mkbreuningIOHK mkbreuningIOHK released this 16 Sep 07:20
· 7 commits to main since this release
fdaccdb

What's Changed

Breaking Changes

Pollux Module

  • restoreCredential now requires a third parameter revoked.
  • createVerifiablePresentationJWT, createVerifiablePresentationAnoncred, getCredentialDefinition, and getSchema have been removed.
  • New method added: processCredentialRequestSDJWT.
  • PolluxImpl implements processCredentialRequestSDJWT.
  • Pollux methods parseCredential and processCredentialRequestAnoncreds now accept linkSecret: String instead of linkSecret: LinkSecret.

ConnectionManager

  • ConnectionManager is now an interface, and ConnectionManagerImpl is the new implementation.
  • ConnectionManager construct now requires a Pollux instance.

Edge Agent (formerly PrismAgent)

  • The constructor now requires a new parameter: AgentOptions.
  • PrismAgent renamed to EdgeAgent.
  • preparePresentationForRequestProof now expects a Credential of type T, where T can be Credential or ProvableCredential.

JWT Verifiable Credential

  • The JWTVerifiableCredential constructor replaces the parameter credentialStatus: VerifiableCredentialTypeContainer with credentialStatus: CredentialStatus.

Pluto Module

  • getDIDPrivateKeysByDID and getDIDPrivateKeyByID now return Flow<List<StorablePrivateKey?>>.
  • New method added: getAllPrivateKeys.
  • PlutoImpl deprecated storeCredentialMetadata(name: String, metadata: CredentialRequestMeta) and replaced it with storeCredentialMetadata(name: String, linkSecretName: String, json: String).

Apollo Module

  • restorePrivateKey(storablePrivateKey: StorablePrivateKey): PrivateKey changed to restorePrivateKey(restorationIdentifier: String, privateKeyData: String): PrivateKey.

DbConnection

  • DbConnection is now an interface.
  • DbConnectionImpl is the new instance used for DB connections.

Presentation Submissions

  • createPresentationSubmission parameter presentationDefinitionRequest: PresentationDefinitionRequest changed to presentationDefinitionRequestString: String, and the return type changed to String.
  • New methods added: createJWTPresentationSubmission, createAnoncredsPresentationSubmission, and getSchema.
  • createPresentationDefinitionRequest now returns a String.

OutOfBandInvitation

  • New constructor parameters: attachments, createdTime, and expiresTime.

Module Renaming

  • AtalaPrismSDK has been renamed to EdgeAgentSDK.
  • Package name changed from io.iohk.atala.prism.walletsdk to org.hyperledger.identus.walletsdk.
  • publishedMavenId changed from io.iohk.atala.prism.walletsdk to org.hyperledger.identus.
  • Namespace changed from org.hyperledger.identus.walletsdk to org.hyperledger.identus.

New Contributors

Full Changelog: v3.0.0...v4.0.0