Skip to content

Releases: trinsic-id/sdk

v1.14.0

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

What's Changed

Full Changelog: 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

  • feat: Multi ecosystem lookup in Trinsic Connect (#3011) * Imple by @mewmba in #1576
  • Get wallet from external identity (#2898) * find wallet from ex by @mewmba in #1551
  • IDVSession Selective Disclosure (#3004) by @mewmba in #1570

Documentation/Samples

Bugfixes/Minor Improvements

Internal Improvements

  • build(deps): bump crypto-js from 4.1.1 to 4.2.0 in /examples/verify-cred-oidc by @dependabot in #1565

Full Changelog: 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

  • Resend code service (#2114) by @mewmba in #1397
  • IDVSession backend work (#2597) Co-authored-by: Scott Phillip by @mewmba in #1466
  • feat: Add ConnectService by @fundthmcalculus in #1468
  • Trinsic connect UI and backend state machine (#2675) * Moving s by @mewmba in #1471
  • feat: Remove deprecated endpoints and AccountService (#2812) by @mewmba in #1521

Language-Specific Changes

SDK-Wide Changes

  • Mark account service as deprecated & remove broken samples by @geel9 in #1388
  • Replace provider string field in ExternalIdentity with enum by @mewmba in #1400
  • feat: Move Ecosystem color configuration to dashboard code (#215 by @mewmba in #1404
  • email deprecation by @mewmba in #1405
  • Simplify Trust Registries (#2207) by @mewmba in #1420
  • Remove deprecated SearchRegistry endpoint (#2264) by @mewmba in #1422
  • feat: OIDC Email Return URL Backend (#2235) * spike: Login conf by @mewmba in #1427
  • Fix/search registry by @fundthmcalculus in #1428
  • API for credential issuance with interaction (credential offer) by @mewmba in #1429
  • Verification Templates Initial Pass by @mewmba in #1433
  • feat: Did Web Document construction backend (#2386) by @mewmba in #1443
  • fix: Mark VerificationTemplate(s) as experimental (#2433) by @mewmba in #1446
  • feat: did:web endpoints rename, validate key ownership (#2407) by @mewmba in #1445
  • fix: Obsolete experimental attribute by @fundthmcalculus in #1447
  • fix: VerificationTemplate delete, and return (#2438) * fix: V by @mewmba in #1448
  • feat: Dashboard verification templates editor (#2417) * Setup v by @mewmba in #1450
  • fix: Minor tweaks on update VT backend (#2445) * fix: Minor twe by @mewmba in #1451
  • Cryptosuite factory, bbs legacy, bbs, eddsa (#2426) * did:web by @mewmba in #1452
  • Remove deprecated SignIn() API call (#2483) * Remove deprecated by @mewmba in #1453
  • feat: remove storing verification templates as schema.json fil by @mewmba in #1463
  • Add ListSessions SDK endpoint (#2840) by @mewmba in #1523

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

  • refactor: Deprecate webhooks by @mewmba in #1302
  • Templates: UpdateTemplate endpoint; title and description support; addition of FieldOrdering, AppleWalletOptions, and UriData by @mewmba in #1317
  • feat: Remove SignIn from SDKs and update tests by @fundthmcalculus in #1316
  • Fix usage of invalid : character in template names by @geel9 in #1324
  • Simpler model for AppleWalletOptions SecondaryFields and AuxiliaryFields by @mewmba in #1325
  • fix: Mark all has_more properties for continuation tokens as has_more_results (Copied Protos from Server) by @mewmba in #1360
  • Wallet API updates - docs, missing endpoint (#1965) by @mewmba in #1365
  • Remove oberon pok scheme + okapi dependency for dotnet, rust, typescript by @tmarkovski in #1363
  • proto: Mark all deprecated items with a due date (#1978) by @mewmba in #1369
  • fix: Send ecosystem information with WalletConfiguration by @mewmba in #1379

Documentation/Samples

Internal Improvements

  • tests: Remove webhook tests that fail after deprecating webhook functionality by @janpieterz in #1308
  • Bump golang.org/x/net from 0.0.0-20201021035429-f5854403a974 to 0.7.0 in /go by @dependabot in #1310
  • Bump golang.org/x/net from 0.0.0-20200822124328-c89045814202 to 0.7.0 in /samples/go by @dependabot in #1309
  • Generated Protos for main by @github-actions in #1323
  • fix: Correct proto generation file paths by @fundthmcalculus in #1321
  • Mark endpoints with empty Request arguments as such by @mewmba in #1329
  • Generated Protos for main by @github-actions in #1332
  • Generated Protos for mewmba-generated-protos by @github-actions in #1331
  • Bump webpack from 5.74.0 to 5.76.0 in /samples/grpc-web by @dependabot in #1337
  • chore(deps): update dependency webpack to 5.76.0 [security] by @renovate in #1336
  • Bump webpack from 5.74.0 to 5.76.0 in /web by @dependabot in #1335
  • Generated Protos for 1834-protoc-gen-sdk-actions by @github-actions in #1322
  • Minor WalletService comments by @mewmba in #1345
  • build: Mewmba create PR action by @fundthmcalculus in #1347
  • Generated protos for by @github-actions in #1362
  • build: Commit proto changes back to current branch by @fundthmcalculus in #1357
  • Generated protos for by @github-actions in #1364
  • build: prettier format the typescript code by @fundthmcalculus in #1373
  • fix: Correct broken infrastructure test working directory by @janpieterz in #1377
  • Add wallet description to dashboard (#2012) by @mewmba in #1381

Full Changelog: v1.10.0...v1.11.0

v1.10.0

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

New Features

New Features

  • Added use_verifiable_presentation parameter to CreateProof endpoint to wrap the created proof in a Verifiable Presentation

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 #1280

Documentation/Samples

Internal Improvements

Full Changelog: 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

  • Clarify named ecosystem policy by @geel9 in #815
  • New docs navigation style by @geel9 in #814
  • Remove duplicated authors footer by @geel9 in #821
  • Update sdk-change.md by @fundthmcalculus in #824
  • Special handling of map<> proto types in documentation by @geel9 in #863
  • Update authentication documentation by @geel9 in #826
  • Docs navigation.sections feature by @geel9 in #827
  • Further updates to Reference -> Overview by @geel9 in #830
  • Fork codeinclude plugin to enable fail-on-not-found functionality by @geel9 in #832
  • Fix Go/Java samples; re-add WalletService.Search() Go interface by @geel9 in #833
  • Implement custom tab sync logic by @geel9 in #834
  • Add documentation for IssuerIsSigner verification check by @geel9 in #848
  • Walkthrough CreateEcosystem changes; add ecosystem_id argument to all loginAnonymous methods by @geel9 in #871
  • OIDC Docs: Improved Configuration section, document missing parameters, title for code block by @geel9 in #879
  • Automatically host preview version of docs for PRs by @geel9 in #890
  • OIDC Documentation: Improved Samples section, link to OIDC Libraries by @geel9 in #891
  • Fix typo in Standards document by @geel9 in #894

Protobuf/gRPC Updates

Bugfixes/Minor Improvements

Internal Improvements

Full Changelog: 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