v1.4.0
What's Changed
This release introduces our Ecosystems feature that allows you to create a custom ecosystem and onboard participants. Each wallet created is now scoped to a specific ecosystem. By default, the global trinsic ecosystem will still be used when creating a wallet if a custom ecosystem isn't specified.
Ecosystems are identified by a unique name that is passed during the process of registering for an ecosystem. These names are globally unique and will be bound to the email of the person that registers the ecosystem. For testing purposes, you can also create anonymous ecosystems without specifying an email or name, at which point we'll randomly generate a name for your ecosystem.
To create new ecosystem use the ProviderService.CreateEcosystem
endpoint.
To create a wallet or sign in to one within an existing ecosystem, pass the ecosystem name or id to the AccountService.SignIn
endpoint.
Breaking Changes
- Most endpoints will now use a single request/response object, instead of language specific types. This mostly affects the endpoints in the credential service.
- The endpoints
CreateEcosystem
andSignIn
now return aauth_token (string)
which can be saved and passed back to the user via the service options - You can now use the CLI to generate an API token for use with your server, and pass that token in your configuration. The CLI stores its data in
~/.trinsic/config.toml
file. Please remove any previous configurations of the CLI, as they will not work with the new version. - The
ServiceOptions
used to configure services now acceptAuthToken
field - The endpoint to
CreateProof
inCredentialService
doesn't require passing aRevealDocumentJson
. If empty, one will be automatically generated from the input proof. Additionally, this endpoint now supports passing either aProofDocumentJson
orItemId
to use for proof creation. This allows users to create proofs without first storing the proof in the wallet.
API Versioning Clarification
This is still a "rolling beta" release model. As such, the first production version will be v2.0.0
. While semantic versioning does not allow for breaking API changes in minor versions after 1.0.0
, Trinsic currently has an existing system in production that we consider as v1. This development is therefore considered "v2". This is why our target first production release for Ecosystems will be version 2.0. Until v2.0 is released, please assume that this is a 0.X.Y
release, and breaking changes can (and sometimes will) be published. Trinsic will clearly communicate these breaking changes in advance and work to mitigate any impact.
SDK Contributions
- Update new-release-checklist.md by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/378
- make release process more consistent, and set versions by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/379
- fix node web module import error by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/380
- fix push command release golang by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/381
- Fix compile bug in dotnet when packaging for browser by @tmarkovski in https://github.com/trinsic-id/sdk/pull/382
- Make gradle publish right by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/385
- Ts/vaccine demo by @lucasamonrc in https://github.com/trinsic-id/sdk/pull/386
- consolidated walkthrough by @michaeldboyd in https://github.com/trinsic-id/sdk/pull/383
- Dotnet doc build automatically by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/390
- Make all node tests work by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/387
- broken link fixes in the markdown and java reference material by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/389
- cli fix by @michaeldboyd in https://github.com/trinsic-id/sdk/pull/392
- Set CLI version to release version in yaml by @tmarkovski in https://github.com/trinsic-id/sdk/pull/393
- Auto Add prs and issues to project by @michaeldboyd in https://github.com/trinsic-id/sdk/pull/394
- start of all the ruby docs by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/391
- Dependabot alerts by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/398
- go doc updates with some dotnet doc updates as well. by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/400
- Fix PR/Issue assign to board permissions by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/403
- Update auto-add-issues-prs-to-project.yml by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/404
- code tabs fix by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/401
- Updated android and java install instructions by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/406
- go and typescript walkthrough support by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/407
- fixed links, added skeleton for account service by @michaeldboyd in https://github.com/trinsic-id/sdk/pull/409
- Account Service samples complete by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/410
- some react docs and missing imports/exports by @MichaelEdwardBlack in https://github.com/trinsic-id/sdk/pull/411
- Update cli version in wix package during bundling by @tmarkovski in https://github.com/trinsic-id/sdk/pull/414
- Assign milestone to PR by @tmarkovski in https://github.com/trinsic-id/sdk/pull/415
- fix dotnet test by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/413
- Build proto files on github actions by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/419
- Upload jar to release by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/426
- Node governance framework uri checks by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/423
- Improve build process - run all actions when
devops
changes, only download required binaries by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/427 - Update Swift instructions by @tmarkovski in https://github.com/trinsic-id/sdk/pull/429
- fix sdk jar release by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/428
- support for python 3.10 by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/405
- Make Ruby Build Reliably on Github Actions MacOS by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/430
- couple minor updates for M1 support by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/433
- Use correct method to encode request to vec in CLI by @tmarkovski in https://github.com/trinsic-id/sdk/pull/434
- make node tests run in typescript by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/435
- Create bug-report template by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/437
- Bump karma from 6.3.11 to 6.3.14 in /web by @dependabot in https://github.com/trinsic-id/sdk/pull/439
- Update bug-report.yml by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/438
- Figure out the new github issue template format by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/441
- Throw error if using protected profile by @tmarkovski in https://github.com/trinsic-id/sdk/pull/443
- Bump follow-redirects from 1.14.7 to 1.14.8 in /web by @dependabot in https://github.com/trinsic-id/sdk/pull/442
- Update DeleteItem endpoint and request object by @tmarkovski in https://github.com/trinsic-id/sdk/pull/446
- update download artifact to fix bugs @allibell by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/447
- Update delete item for browser, node, and CLI by @tmarkovski in https://github.com/trinsic-id/sdk/pull/448
DeleteItemRequest
exposed correctly by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/452- fix inconsistency in issue from template parameters by @michaeldboyd in https://github.com/trinsic-id/sdk/pull/451
- [dotnet] Endpoint and proto definitions update (breaking) by @tmarkovski in https://github.com/trinsic-id/sdk/pull/453
- Okapi blake3 hashing by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/462
- clean up unnecessary actions by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/461
- Use an options structure for construction by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/457
- [dotnet] Various updates based on issue #460 by @tmarkovski in https://github.com/trinsic-id/sdk/pull/463
- [Node] Updated API based on latest changes (breaking) by @tmarkovski in https://github.com/trinsic-id/sdk/pull/466
- [browser] Update SDK with changes from PR 460 by @tmarkovski in https://github.com/trinsic-id/sdk/pull/468
- Use blake3 hashing from okapi in Node and Browser by @tmarkovski in https://github.com/trinsic-id/sdk/pull/472
- Update CLI with proposed changes per 460 by @tmarkovski in https://github.com/trinsic-id/sdk/pull/475
- Updates to the golang SDK by @sethjback in https://github.com/trinsic-id/sdk/pull/473
- Sdk 460 update python, and generated proto files by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/467
- Fix RBS install on windows by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/477
- Update to Golang SDK by @sethjback in https://github.com/trinsic-id/sdk/pull/478
- [cli] Improve the error display from server and command errors, eliminate panics by @tmarkovski in https://github.com/trinsic-id/sdk/pull/476
- Allow Signin with Null Request by @sethjback in https://github.com/trinsic-id/sdk/pull/482
- [cli] API hardening, eliminate panics, results display, missing features by @tmarkovski in https://github.com/trinsic-id/sdk/pull/486
- Bump karma from 6.3.14 to 6.3.16 in /web by @dependabot in https://github.com/trinsic-id/sdk/pull/459
- More go and python fixes by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/483
- Fix tests to use user flows wrt authorizations by @tmarkovski in https://github.com/trinsic-id/sdk/pull/488
- node: remove passing ecosystem name in test by @tmarkovski in https://github.com/trinsic-id/sdk/pull/489
- web: align provider api with other sdks, fix tests by @tmarkovski in https://github.com/trinsic-id/sdk/pull/490
- [cli] Missing argument definition for config ecosystems by @tmarkovski in https://github.com/trinsic-id/sdk/pull/487
- make java, python, ruby, go not specify anonymous ecosystems by @fundthmcalculus in https://github.com/trinsic-id/sdk/pull/491
Full Changelog: trinsic-id/sdk@v1.3.0...v1.4.0