Skip to content

Releases: Dentity-Development/dentity-enterprise-sdk

v1.14.0

27 Mar 21:54
79e6cb3
Compare
Choose a tag to compare

What's Changed

Full Changelog: trinsic-id/sdk@v1.13.0...v1.14.0

v1.13.0

16 Nov 22:24
7660016
Compare
Choose a tag to compare

What's Changed

New Features

Documentation/Samples

Bugfixes/Minor Improvements

Internal Improvements

Full Changelog: trinsic-id/sdk@v1.12.0...v1.13.0

v1.12.0

13 Oct 17:40
4e3d2ab
Compare
Choose a tag to compare

What's Changed

New Features

Language-Specific Changes

SDK-Wide Changes

Documentation/Samples

Internal Improvements

Read more

v1.11.0

24 Apr 13:26
a13ba63
Compare
Choose a tag to compare

What's Changed

New Features

Language-Specific Changes

SDK-Wide Changes

Documentation/Samples

Internal Improvements

Full Changelog: trinsic-id/sdk@v1.10.0...v1.11.0

v1.10.0

03 Mar 19:22
07636c1
Compare
Choose a tag to compare

New Features

New Features

Language-Specific Changes

SDK-Wide Changes

  • Trust Registry GetMembershipStatus: Renamed governance_framework_uri to framework_id and removed x509_cert parameter
    • Note: This is a compile-time breaking change
      • framework_id accepts a governance framework URI as well as an ID; simply adopt the new field name
      • x509_cert was unsupported and has been removed from the SDK contract
    • Copied Protos from server by @mewmba in https://github.com/trinsic-id/sdk/pull/1280

Documentation/Samples

Internal Improvements

Full Changelog: trinsic-id/sdk@v1.9.0...v1.10.0

v1.9.0

03 Feb 13:49
31366f1
Compare
Choose a tag to compare

New features

  • Experimental Added a file management service to help you upload attachments to verifiable credentials
  • Experimental Added a role management service, for specifying wallet roles
    Added Wallet.DeleteWallet allowing you to delete wallets (as provider, or as wallet owner)
  • Experimental Templates: Added annotations to TemplateField, allowing you annotation options for customizing order, file metadata and more (more documentation coming soon)
  • Templates: Added field type: URI
  • CreateProof: Added the option to specify attributes to reveal via revealAttributes: ["attributeName"] rather than making a complete JSON-LD compliant reveal document
  • CreateProof: Added a nonce to derive the proof with. If not provided we will generate one. You can use this nonce to verify the proof has not been re-used.
  • SendRequest: Added the ability to automatically send a notification to a wallet holder when a credential has been sent.
  • All methods that lookup a wallet now allow this via it's id, public did or email.
  • Upgrading DIDs: Added did:indy and did:sov allowing you to upgrade to Danube, SovrinBuilder, SovrinStaging, Sovrin, IdUnion, IdUnionTest, IndicioTest, IndicioDemo, Indicio Indy ledgers

Deprecations

  • Deprecating: VerifiableCredential.Issue has been deprecated, use VerifiableCredential.IssueFromTemplate instead.
  • Deprecating Provider.UpdateEcosystem and Provider.GetPublicEcosystemInfo - you can now configure your ecosystem through our Dashboard
  • Deprecating Invitation code account registration (never implemented)
  • Deprecating Invitation flow (never implemented)
  • Removed List and Revoke Device methods (never implemented)
  • Deprecating GenerateToken and GetEventToken and Authorization request (never implemented)

SDK-Wide Changes

Language-Specific Changes

Documentation/Samples

Bugfixes/Minor Improvements

Internal Improvements

Read more

v1.8.0

23 Sep 18:05
245dc20
Compare
Choose a tag to compare

What's Changed

Read more

v1.7.0

01 Aug 20:54
9f2b668
Compare
Choose a tag to compare

What's Changed

Language-Specific Changes

  • You can now explicitly import the browser-only dependencies in typescript by: `import "@trinsic/sdk/browser"

Other SDK-wide Changes

Version Information Metadata

Sending specific metadata: okapi version, SDK version, SDK language. We only use this information for security/obsolescence purposes.

Documentation and Samples

Protobuf/gRPC Updates

Bugfixes/Minor Improvements

Internal Improvements

Full Changelog: trinsic-id/sdk@v1.6.0...v1.7.0

v1.6.0

29 Jun 16:43
d61232c
Compare
Choose a tag to compare

What's Changed

Language-Specific Changes

Key Changes for Typescript

With the move from grpc-ts to ts-proto, the syntax of creating a protobuf object has significantly changed. This is a compile time change, not an over-the-wire change. Rather than using a verbose Java-style builder pattern, the new format takes advantage of typescripts interfaces and type coercion.

  • For instance, to insert an item into a wallet:
// Was this
const insertResponse = await walletService.insertItem(new InsertItemRequest()
        .setItemJson(issueResponse.getSignedDocumentJson()));
// And is now this
let insertResponse = await trinsic.wallet().insertItem(
    InsertItemRequest.fromPartial({
        itemJson: issueResponse.signedDocumentJson,
    })
);
  • If you are defining every field on the object, you can skip the [CLASSNAME].fromPartial() call as shown here:
// Was this
const issueResponse = await credentialService.issueCredential(new IssueRequest()
    .setDocumentJson(JSON.stringify(unsignedDocument)));
// And is now this
let issueResponse = await trinsic.credential().issueCredential({
    documentJson: JSON.stringify(unsignedDocument),
});

Other methods are similar. While for these cases the savings isn't much, for objects with large numbers of fields being set, the code is much cleaner.

Key Changes for Java

In preparation for some backend work, we have moved Java from container classes (with inconsistent names) to singular classes inside each file. For instance, what was AccountOuterClass.AccountProfile is now AccountProfile and can be directly imported. This allows for .* imports of the relevant namespace, rather than explicitly defining the container class. This is a compile-time breaking change, not a runtime one. The VaccineDemo.java before and after


Single SDK Service

We have added a single wrapper, TrinsicService, which you can import and use in lieu of instanting each individual service (and trying to keep the AuthToken consistent among them). For now, the existing AccountService/WalletService/etc are simply wrapped. In the future, this API cleanup will also handle channel reuse to reduce resource consumption.

New Login Flow

We've changed the login flow to increase security and reduce developer confusion.

Previously, a call to SignIn would return an auth token string, which may or may require a call to Unprotect.

Now, simply call Login, followed by LoginConfirm, which will return an auth token string.

We have also added a helper method, LoginAnonymous, which you can use to create and login to an anonymous account (not tied to an email/phone number, and requiring no authentication). This is mainly useful for automated testing and prototyping.

The old flow is deprecated, and will be removed in a future release.

Webhooks

We have added support for Webhooks, wherein our services can call out to a REST endpoint which you provide and define.

Click here for more information on implementing webhook functionality.

New Language Support - Dart!

We have added beta support for Dart (and Android Flutter) with 1.6.0. Currently, the package is not published on dart pub, but this will be coming later. For now, you can import the required SDK package directly from github via pubspec.yaml as shown below:

dependencies:
  # Other dependencies here
  trinsic_dart:
    git:
      url: https://github.com/trinsic-id/sdk.git
      path: dart

Documentation and Samples

Protobuf / gRPC Updates

Single Service Access / Webhooks / New Signin Flow

Bugfixes / Minor Improvements

Read more

v1.5.0

09 May 17:32
3bbfc0d
Compare
Choose a tag to compare

What's Changed

New Contributors

Read more