Skip to content

Commit fdaccdb

Browse files
chore(release): cut wallet sdk version 4.0.0
# [4.0.0](v3.0.1...v4.0.0) (2024-09-13) ### Bug Fixes * anoncred verification and breaking changes missing ([#196](#196)) ([6b0fb55](6b0fb55)) * backup recovery was linking incorrectly dids with private keys ([#178](#178)) ([06e9a8f](06e9a8f)) * bitstring for revocation registry ([#188](#188)) ([22a2da9](22a2da9)) * DbConnection cannot be extended ([#169](#169)) ([82b03cc](82b03cc)) * e2e test broken after pull credential changed based on validUntil ([#158](#158)) ([f21df25](f21df25)) * gradle artifact signing ([#203](#203)) ([c5903ff](c5903ff)) * JWT proof ([#163](#163)) ([4e52aed](4e52aed)) * missed renaming ([c71741f](c71741f)) * renaming ([9585d1a](9585d1a)) * renaming reference issues ([3adb41f](3adb41f)) * restore process duplicates did peers ([#173](#173)) ([da747c5](da747c5)) * restore process from swift/ts jwe ([#175](#175)) ([b9571b2](b9571b2)) * Upgrade gradle ([#140](#140)) ([1e11da4](1e11da4)) * wrong casting KeyPair instead of PublicKey ([#139](#139)) ([7d0a5c9](7d0a5c9)) * zkp presentation could not be verified on the agent ([#157](#157)) ([3319dc4](3319dc4)) ### Features * Anoncreds verification ([#186](#186)) ([52c3895](52c3895)) * back up and restore ([#159](#159)) ([dcb10fd](dcb10fd)) * contactless presentation request ([#192](#192)) ([e03ebbc](e03ebbc)) * experimental opt-in for mediator live mode ([#150](#150)) ([0e30346](0e30346)) * **pollux:** add sdjwt capability ([#174](#174)) ([cd3baf8](cd3baf8)) * revocation notification event ([#148](#148)) ([e1753ec](e1753ec)) * support for mediator live mode (websocket) ([#147](#147)) ([823b8b3](823b8b3)) * verification from SDK ([#155](#155)) ([61720b8](61720b8)) * Verification JWT Revocation registry check ([#165](#165)) ([755a7ef](755a7ef)) ### BREAKING CHANGES * Pollux Module - `restoreCredential` now requires a third parameter `revoked`. - Removed: `createVerifiablePresentationJWT`, `createVerifiablePresentationAnoncred`, `getCredentialDefinition`, and `getSchema`. - Added new method: `processCredentialRequestSDJWT`. - `PolluxImpl` now 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` 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`. Signed-off-by: Cristian G <[email protected]> Signed-off-by: Allain Magyar <[email protected]>
1 parent c5903ff commit fdaccdb

File tree

2 files changed

+86
-1
lines changed

2 files changed

+86
-1
lines changed

Diff for: CHANGELOG.md

+85
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,88 @@
1+
# [4.0.0](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/compare/v3.0.1...v4.0.0) (2024-09-13)
2+
3+
4+
### Bug Fixes
5+
6+
* anoncred verification and breaking changes missing ([#196](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/196)) ([6b0fb55](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/6b0fb55a0e7d2ac594679ad101c3868162df6d62))
7+
* backup recovery was linking incorrectly dids with private keys ([#178](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/178)) ([06e9a8f](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/06e9a8f7caa000510d9a994a2188d0c56e6cb763))
8+
* bitstring for revocation registry ([#188](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/188)) ([22a2da9](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/22a2da9e5444a4f19a47601779cdcc9efe3ea7a1))
9+
* DbConnection cannot be extended ([#169](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/169)) ([82b03cc](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/82b03cc0215cb79d0dd0b3142a457a1df754d192))
10+
* e2e test broken after pull credential changed based on validUntil ([#158](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/158)) ([f21df25](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/f21df258b9488631d699bfe38c4842176ebf688d))
11+
* gradle artifact signing ([#203](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/203)) ([c5903ff](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/c5903ff8908c0e2d102f5222cc6e7fbc53cacacd))
12+
* JWT proof ([#163](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/163)) ([4e52aed](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/4e52aed77aeddaeb1f15e345a1384374b9a2591e))
13+
* missed renaming ([c71741f](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/c71741f50ed0d2074cf24964f6c8a4db7f0793a3))
14+
* renaming ([9585d1a](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/9585d1abc731c0441fbb232d6f2d768c14c46bb2))
15+
* renaming reference issues ([3adb41f](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/3adb41f0acf45b396e8a9aee54408209b4e54a6a))
16+
* restore process duplicates did peers ([#173](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/173)) ([da747c5](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/da747c5991e75d27a7eccc0c0078631ed6da1696))
17+
* restore process from swift/ts jwe ([#175](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/175)) ([b9571b2](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/b9571b2ef532edb00d012c1ca6cf1fb3689cec69))
18+
* Upgrade gradle ([#140](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/140)) ([1e11da4](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/1e11da40c20480848a069c306f80839bf5659741))
19+
* wrong casting KeyPair instead of PublicKey ([#139](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/139)) ([7d0a5c9](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/7d0a5c96788a01c5acb59e441be5f0a8c5c0ab5e))
20+
* zkp presentation could not be verified on the agent ([#157](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/157)) ([3319dc4](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/3319dc455013080639a81b28993ce53333e3b91e))
21+
22+
23+
### Features
24+
25+
* Anoncreds verification ([#186](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/186)) ([52c3895](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/52c3895cccbfb3a86477e040dd26515d7e2b430c))
26+
* back up and restore ([#159](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/159)) ([dcb10fd](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/dcb10fd48bcb9fd3d93f284736605e656538ab0d))
27+
* contactless presentation request ([#192](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/192)) ([e03ebbc](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/e03ebbc1380752a1030d6c00bbe984b5658fdd48))
28+
* experimental opt-in for mediator live mode ([#150](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/150)) ([0e30346](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/0e30346b7dd9516a5e5625dfec4a003ad8e408cb))
29+
* **pollux:** add sdjwt capability ([#174](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/174)) ([cd3baf8](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/cd3baf89325a90c6086f67aa97a2a54a64b6691c))
30+
* revocation notification event ([#148](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/148)) ([e1753ec](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/e1753ec597e0295c434303ed8898324d92744372))
31+
* support for mediator live mode (websocket) ([#147](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/147)) ([823b8b3](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/823b8b36177c9b2e939b245b0758f3c448884cf5))
32+
* verification from SDK ([#155](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/155)) ([61720b8](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/61720b87368afab0bca7a45adf9448e28b4dea15))
33+
* Verification JWT Revocation registry check ([#165](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/issues/165)) ([755a7ef](https://github.com/hyperledger/identus-edge-agent-sdk-kmp/commit/755a7efbd5cd982fd180cac70356a9a3ada4d5e4))
34+
35+
36+
### BREAKING CHANGES
37+
38+
* Pollux Module
39+
- `restoreCredential` now requires a third parameter `revoked`.
40+
- Removed: `createVerifiablePresentationJWT`, `createVerifiablePresentationAnoncred`, `getCredentialDefinition`, and `getSchema`.
41+
- Added new method: `processCredentialRequestSDJWT`.
42+
- `PolluxImpl` now implements `processCredentialRequestSDJWT`.
43+
- Pollux methods `parseCredential` and `processCredentialRequestAnoncreds` now accept `linkSecret: String` instead of `linkSecret: LinkSecret`.
44+
45+
ConnectionManager
46+
- `ConnectionManager` is now an interface, and `ConnectionManagerImpl` is the new implementation.
47+
- `ConnectionManager` construct now requires a Pollux instance.
48+
49+
Edge Agent (formerly PrismAgent)
50+
- The constructor now requires a new parameter: `AgentOptions`.
51+
- `PrismAgent` renamed to `EdgeAgent`.
52+
- `preparePresentationForRequestProof` now expects a `Credential` of type T, where T can be `Credential` or `ProvableCredential`.
53+
54+
JWT Verifiable Credential
55+
- The `JWTVerifiableCredential` constructor replaces the parameter `credentialStatus: VerifiableCredentialTypeContainer` with `credentialStatus: CredentialStatus`.
56+
57+
Pluto Module
58+
- `getDIDPrivateKeysByDID` and `getDIDPrivateKeyByID` now return `Flow<List<StorablePrivateKey?>>`.
59+
- New method added: `getAllPrivateKeys`.
60+
- `PlutoImpl` deprecated `storeCredentialMetadata(name: String, metadata: CredentialRequestMeta)` and replaced it with `storeCredentialMetadata(name: String, linkSecretName: String, json: String)`.
61+
62+
Apollo Module
63+
- `restorePrivateKey(storablePrivateKey: StorablePrivateKey): PrivateKey` changed to `restorePrivateKey(restorationIdentifier: String, privateKeyData: String): PrivateKey`.
64+
65+
DbConnection
66+
- `DbConnection` is now an interface.
67+
- `DbConnectionImpl` is the new instance used for DB connections.
68+
69+
Presentation Submissions
70+
- `createPresentationSubmission` parameter `presentationDefinitionRequest: PresentationDefinitionRequest` changed to `presentationDefinitionRequestString: String`, and the return type changed to `String`.
71+
- New methods added: `createJWTPresentationSubmission`, `createAnoncredsPresentationSubmission`, and `getSchema`.
72+
- `createPresentationDefinitionRequest` now returns a `String`.
73+
74+
OutOfBandInvitation
75+
- New constructor parameters: `attachments`, `createdTime`, and `expiresTime`.
76+
77+
Module Renaming
78+
- `AtalaPrismSDK` renamed to `EdgeAgentSDK`.
79+
- Package name changed from `io.iohk.atala.prism.walletsdk` to `org.hyperledger.identus.walletsdk`.
80+
- `publishedMavenId` changed from `io.iohk.atala.prism.walletsdk` to `org.hyperledger.identus`.
81+
- Namespace changed from `org.hyperledger.identus.walletsdk` to `org.hyperledger.identus`.
82+
83+
Signed-off-by: Cristian G <[email protected]>
84+
Signed-off-by: Allain Magyar <[email protected]>
85+
186
# [3.0.0](https://github.com/input-output-hk/atala-prism-wallet-sdk-kmm/compare/v2.6.0...v3.0.0) (2024-03-05)
287

388

Diff for: gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 3.0.0
1+
version = 4.0.0
22
org.gradle.jvmargs = -Xmx3072M -Dkotlin.daemon.jvm.options="-Xmx3072M"
33
kotlin.code.style = official
44
android.useAndroidX = true

0 commit comments

Comments
 (0)