1.0.1 (2020-12-18)
Bug Fixes
- core: Improve identity lookup speed (#230) (b2f6332), closes #229
- daf-resolver: import cross-fetch in universal-resolver.ts (#303) (57be4ea), closes #302
- OpenAPI name, version and x-methods (#301) (cbad7c0)
- daf-did-jwt: Fix parsing of JWT with missing
typ
in header (#293) (48e4c60), closes #291 - daf-did-jwt: Fix verification of EdDSA JWTs (#289) (b97f2a3), closes #288
- daf-express: Fix behavior of CLI HTTPS server behind proxy (#292) (3c39484)
- daf-resolver: Fixed daf-resolver configuration (#298) (dfcf32a), closes #205
- message-handler: Rewire promise rejections as
Error
objects (#300) (04446d4), closes #294 - Add replyTo & replyUrl to message (c6cbd30)
- Allow empty issuers in sdr credential request (453a51c)
- allow to pass in a custom registry address (c785167), closes /github.com/decentralized-identity/ethr-did-resolver/blob/develop/src/ethr-did-resolver.js#L187
- Another missing await (b924f92)
- babel running out of memory when running jest (92e285e)
- Big value handling (#167) (39a76b6)
- Changing some copy in CLI (ed2c044)
- Checking if credentialSubject is array (2f83192)
- Claim value nullable (4cb85b2)
- CLI (86b6f9e)
- CLI graphql typeDefs and resolvers (88626d3)
- CLI sdr flow (f630b76)
- CLI SDR flow (eb31f43)
- CLI sqlite and pg deps (31fc85a)
- Create identities from required issuers to resolve gql queries (b93d7ad)
- Creating VC (f8caa6a)
- Credential id type (39d8d18)
- CredentialStatus field type (40e97a6)
- Daf REST headers type (b22c540)
- Daf-elem-did missing peer deps (747b8f9)
- Daf-libsodium debug (babbfe6)
- Daf-rest overrides (0d6c031)
- DataStoreORM claim subject (e332dcc)
- DataStoreORM interface (719959a)
- DataStoreORM messagesQuery (be2badb)
- DataStoreORM saving claims (281b493)
- DB migrations (14b578e)
- Deps for daf-rest (564f2ba)
- Disable schema validation by default (#278) (7bb77cd), closes #255 #275
- Disable schemaValidation in CLI default config (#280) (8785a5b), closes #278 #275 #255
- Ethr-did debug (688595f)
- Example queries (5933e50)
- Expiration Date (c7212f9)
- export context (99fd267)
- export context (f6265f9)
- Failing CI (1264b99)
- Failing CI (53b114e)
- Failing CI (f910731)
- Failing CI (3f31953)
- fixes failing audience query tests (40408dc)
- Fixing replyTo types (bd9d606)
- Generating message.id if not set (5ce04e5)
- Generating message.id if not set (fabf5f6)
- GetIdentityProviders (d1bdbc2)
- GraphQL orderBy (bb06094)
- handle jwt messages correctly in daf-url in browser environments (db26132)
- IdentityController for web-did (a829991)
- IdentityManager (1f2da11)
- IdentityManager (32a1c03)
- IdentityProvider WIP (feec69e)
- IdentityStore (53eb972)
- IdentityStore saving services (9a35ee9)
- IHandleMessage interface (0ab68fd)
- IIdentityManager interface (b6d1e36)
- IKeyManager arg types (f79967e)
- Import DID support for daf-react-native-libsodium (#257) (e290482)
- JSON schema for W3CCredential (#287) (543615f)
- JWT verification with multiple audiences (dbbb85f)
- Keeping app specific payload fields (24ad82a)
- KeyManagerSignEthTX (c936a00)
- Local copy of W3C types (29c6b0e)
- Message handler chain (58b0629)
- MessageHandler (21a78e3)
- MessageHandler chain (198a33a)
- Missing await (9c36f84)
- Missing dependency (773dbb2)
- OpenAPI schema (2ef0bc7)
- OpenAPI types dep for daf-rest (63e7565)
- Optional dependency of daf-elem-did (8c733b8)
- Pass ethr-did registry param down to the identity controller (a0a2a98)
- Plugin schemas (1fedaa5)
- React example SDR (b741e72)
- React-graphql using new api (fe53366)
- Remove daf-data-store from packages (f3bc819)
- Remove dup (82629e1)
- Remove postinstall (2577983)
- Remove postinstall (9fad446)
- Remove static Credential.credentialStatus (f9a06af)
- Remove static Credential.credentialStatus (719fddc)
- Removing daf-data-store from examples (7c74e18)
- Removing EcdsaSignature type (3e3a684)
- Removing uuid from id (df12094)
- Resolver debug info (5a32a63)
- Resolver tests (65b3ff0)
- resolvers and handlers didn't match schema (85c38a2)
- Rest client error handling (b871a39)
- Saving DIDComm message (7d0201e)
- SDR GQL reason (ae23c88)
- Sdr helper function types (602a672)
- SDR message handler replyTo (f04920f)
- SDR only for sdr message type (b77c5c7)
- Setting credentialSubject last (b832b7c)
- TAgent definition (ce1af94)
- Test daf-did-jwt (d6383c7)
- Test daf-url (12e2c1e)
- Throwing errors for non existing entities (a48e7ef)
- Translating issuanceDate to nbf (51f0eff)
- Type error and CORS error in react-app example (#258) (9f7dac4)
- Types (c35e452)
- Types for IW3c (56cf141)
- Uniresolver config (8dbdae1)
- Updated examples: pass dbConnection to Agent (d84872d)
- Use baseUrl in CLI server (7b18ac6)
- Use the first audience did for message.to (c71eec7)
- Using cross-fetch in did-comm (2a931ff)
- Valid OpenApi v3 schema (32175c3)
- Version takes only two parameters (5951fe4)
- W3c message createdAt (59656f8)
- W3c tests (2bc4084)
- deps: enable verification of ES256K signatures with default did:ethr: docs (2e1bd33)
- Adding sub in sdr gql (45bb8bf)
- Adding id to serviceMessagesSince (45bb45b)
- Adding profileImage (1063057)
- Adding tag in VP (c154015)
- Adding tag to vc/vp (3c876a9)
- Allow version changes (3096edb)
- Await crypto_sign_keypair (c97ba6b)
- Await in IdentityProvider and KMS (a5b36d9)
- Await in listDids (94c759c)
- Bug in findCredentialsByFields (e9f263a)
- Building (60f3777)
- Catching edge case (3c1a935)
- Check if file exists (89f604f)
- Claim hash (d00b9c6)
- CLI defaultPath (20b70d9)
- Cli VP (3db8186)
- CLI VP type is VerifiablePresentation (1558555)
- Copy (9cbff8a)
- Corrected dependency (5c0768e)
- Credential creation (7ddac1f)
- Data store await for meta data (5d96401)
- Debug info (b49cac9)
- Debug info in daf-node-sqlite3 (b0b5b70)
- Decoding base64 keys (04bb839)
- Decrypting (db07fdb)
- Deduplicating messages (eda582b)
- Default TGE with WebSocket support (23ebcea)
- Dependencies (531a51f)
- Deps (0d29fbb)
- Deps (a230eba)
- Eager relations (da07cb2)
- Eager relations (9938384)
- Ethr-did identity provider web3Provider (a5d6af2)
- Ethr-did toEthereumAddress (7335390)
- Ethr-did TTL = 1 year (fa6b6c5)
- EventEmmiter (dc52b55)
- Example (dcf46d6)
- Example deps (fc01968)
- Examples (9887732)
- Examples (e4581e1)
- Express example (1c33310)
- Fetching credentials for SDR (e91668e)
- Find Messages (5234c54)
- Fix credential select (6c5f9e9)
- Fix multi query wrapper component (e2b5056)
- Fix rendering route sidepanels (7c10ce9)
- GQL export (63b9c23)
- GQL export (eacc969)
- GQL newMessage data field (48181b9)
- GQL return raw while validating message (53573bc)
- Handle raw message in cli (53ffa0d)
- Hiding explore item (14211c5)
- Id-hub example (7198e23)
- Identity.isManaged (38ad11e)
- IdentityStore provider (88cdd5a)
- Initializing DB before any action (7b5959e)
- IssuanceDate is mandatory (38edef6)
- Latest message timestamps (048974b)
- Loading URLs that have a hostname (2e65531)
- Message sub can be null (6599296)
- Mixup with pk and sk (e9b912f)
- Moved did-resolver to devDeps (3ae8c1c)
- Moving dependency (3296b23)
- NewMessage mutation (3c9428e)
- Ordering in latestMessageTimestamps (fca9995)
- React native deps (bda41bc)
- React native peerDependencies (a18482b)
- Readme (7b598cb)
- Readme (385739c)
- Referenced project (801d2c6)
- Remove auto ci beta release (936b7d1)
- Remove debug info (a7753dd)
- Remove duplicate JWTs from VP Fixes #48 (f24ffea)
- Remove unused ws (55e0fcb), closes #91
- Removing action handler (4371bcd)
- Removing context entities (1a5c4c9)
- Removing daf-sodium-fs and encryptionmanager (1ea064d)
- Removing dependency (af5c76a)
- Removing dependency (4318e80)
- Removing deps (8db9286)
- Removing DIDComm-js (94f8975)
- Removing duplicate saveMessage (ab2c6a0)
- Removing encryption key manager (65ba8a2)
- Removing gql from web-demo (c3676f0)
- Removing MessageMetaData entity (353449c)
- Renaming to sender and receiver (bf33a2d)
- Resolver config (2fdba37)
- Running local cli (8609019)
- SDR findCredentialsByFields iss (6838d04)
- Selective disclosure gql resolver (f4ec808)
- ServiceManager and AbstractServiceController (284badc)
- Sign auth token for every sync query (2a978cb)
- TG subscribtion (5334fc6)
- TG subscription (a389612)
- TG subscription connection params (b7b79d8)
- Unifying debug messages (efb4f3b)
- Using local version of DIDComm lib (d09a326)
- package: SDR query subject ID type (5867c2d)
- Return empty array for empty threads (fdb1e54)
- Returning newMessage sender & receiver (72bfb60)
- SDR can have empty to field (108f22c)
- TG findEdges fromDID (dc63238)
- TGE subscribtion query (17863a2)
- Typescript types (72c1899)
- Typo (0a47c70)
- Unit tests (d764531)
- ValidateMessage can throw an error (d00dcdd), closes #10
- VC / VP hash (d4fa78f)
- Version bump (00f0d2f)
- Version bump (d374d73)
- Version bump (2829540)
- Version bump (b474df8)
- Version bump (b28e17f)
- VP aud (bc9f498)
- VP type is VerifiablePresentation (d59c2b8)
- W3C VP subject is aud (991e64b)
- Wait for messages to be validated (717b285)
Code Refactoring
- Rename Identity to Identifier (#308) (7812e51)
- daf-cli: Refactor CLI command palette (#304) (a5a0670), closes #264
- Refactor and add inline documentation to daf-w3c package (f0e2cb9)
Features
- ActionSendDIDComm (49e6841)
- Add event system to agent (#262) (9a6747e)
- Add GraphQL IdentityManager methods (189a218)
- Add port option to cli server (4f66a38)
- add removeKey, removeService methods to ethr-did-provider (#310) (faccca6), closes #144
- Add version cmd to cli (64069e9)
- Added credentialType to the Claim (45a4da2)
- Added id and tag fields (0b62eaa)
- Added identityManagerGetIdentityByAlias (43d0817)
- Added identityManagerImportIdentity (ea7ba3a)
- Added identityManagerSetAlias (a2bd513)
- Added IIdentityManagerGetIdentitiesArgs (1e0c9aa)
- Added keyManagerGetKeyManagementSystems (9741462)
- Added save to GQL handleMessage (be23418)
- Adding createProfilePresentation (ae5e73f)
- Adding ethr-did gas and ttl config (d910b14)
- Adding some key manager methods (ec6645d)
- Agent dbConnection constructor option (e3dfc2f)
- API key / Bearer token support in CLI (45e7591)
- Authorized agent methods (53f9454)
- Beta of daf-elem-did (fe286e3)
- Bump version (63dd12d)
- Bump version (cf659c0)
- Changed DID type from ID to String (55ccdd4)
- CLI config (5a3391e)
- CLI create-config (ec96204)
- CLI Data explorer (fb7d155)
- CLI execute object type (e04b0ee)
- CLI execute uses OpenApi (mvp) (cb310dd)
- CLI handling ngrok errors (eed46d4)
- CLI server homepage template (ac9cf52)
- CLI upgraded to the latest API (b440dd1)
- Constructing agent from YAML config (7a2498f)
- Credential Status in data model (24e2d5d)
- daf-elem-did (62776c2)
- Daf-express overrides (31a0970)
- Daf-react-native-libsodium (dbec780)
- Daf-rest & daf-express (9c9a597)
- DB Migration CredentialStatus (44fd36d)
- Debug agent.execute (fb58ddc)
- Default IdentityProvider (39f2e39)
- Default IdentityProvider (3334f6e)
- Docker image and docker-compose example (84ddcad)
- Dynamic OpenAPI schema (f12236b)
- enable CORS in daf-cli server by default (#284) (aca46b3)
- Enable setting headers to DAF DID Comm (#239) (03f3dbb)
- Encrypting private keys with SecretBox (8833931)
- Encrypting private keys with SecretBox (b8cbdd4)
- ENV support in yml config (1dee7b2)
- Exporting findCredentialsForSdr (ef1c973)
- Express router (4b8c3d6)
- Generate plugin schema (#277) (c90473a)
- Generating OpenAPI schema (broken) (e319c41)
- Generating plugin schemas (d4450cd)
- GQL count queries (9e859c1)
- Gql Not operator (dd624c2)
- GraphQL client settings: apiUrl, apiKey (9b1fd12)
- GraphQL KeyManager (2b092e9)
- GraphQL message handler (10d31cc)
- GraphQL methods (6446f2d)
- GraphQL w3c (967b916)
- Handling credentials in SDR message (32d4a2c)
- Identity provider for did:web (9b20fb1)
- Identity provider for did:web (ba030bf)
- Identity saveDate updateDate (e845a84)
- Multiple audience dids (eaa1a40)
- Network config for daf-resolver (5efd82c)
- Query credentials for did (a39f956)
- Remote methods example (9e61006)
- release: Fix package descriptions and trigger new minor release (#233) (e67f4da)
- release: Trigger a new minor release (#234) (7c905e1)
- REST api handling incoming msg (372cd25)
- Activity feed (50bc5d5)
- Add JWT output for credential.ts and sdr.ts in cli (c16dea6)
- Add whitelisted issuers in SDR (f486f07)
- Added actionSignVc mutation (4ef9a15)
- Added actionSignVp mutation (7cedec1)
- Added daf-did-jwt (22898d4)
- Added data-explorer to daf-cli (eebe040)
- Added react-native-async-storage (1270740)
- Adding daf-ethr-did-local-storage (f73b435)
- Adding daf-random (f362f6b)
- Adding daf-react-native-libsodium (6446411)
- Adding list of messages (72dca61)
- All ethr Identity Providers updated (552c967)
- Breaking. New did management interfaces (c384159)
- Bump minor version (npm conflicts) (67b77af)
- Bump minor version (npm conflicts) (34cefc2)
- cli identity management improvements (489b5e9)
- Create + Send SDR request (d87127b)
- Create and send VP from CLI (c7e1360)
- daf-cli credential sending, receiving (7ca187e)
- daf-cli identity-manager (8f89979)
- daf-debug (ff8d66b)
- daf-did-comm (2ee986f)
- daf-ethr-did-fs (c2e8024)
- Daf-ethr-did-fs using experimental interface (cecffd8)
- daf-ethr-did-react-native (20a47d5)
- daf-react-native-sqlite3 (cdcb5ac)
- daf-resolver, daf-resolver-universal (2b2c00f)
- daf-selective-disclosure (7bbcf12)
- daf-sodium-fs (42b5d19)
- daf-trust-graph (2ba3c4f)
- daf-w3c (b0da9ae)
- Data deduplication (c5c10b1)
- Data-store upgrade (c4c0810)
- Delet identity and conditions (37ca91e)
- Entities (7f1c85f)
- Ethr-did export/import (0f8ab11), closes #105
- Example expressjs (3b79989)
- Example id-hub (9187906)
- Experimentation (134a812)
- Experiments with KeyStore IdentityStore (cca8825)
- Fetching URL to get the message payload (72596e4)
- FS dids backed by jwk (7a93f7c)
- FS IdentityStore (a2521e0)
- FS KMS (1bcf4c1)
- Global state for identity (06ff655)
- GQL queries WIP (b581061)
- GQL queries WIP (698aca4)
- GQL query to get latest service messages (8061fbe)
- GraphQL queries for entities (9faa883)
- GraphQL queries for entities (0581795)
- Graphql server in CLI (70890bd)
- IdentityController, KeyStore (e86fec4)
- IdentityStore and KeyStore in daf-core (238539c)
- IdentityStore docs (190b505)
- Initial dashboard layout (31b69a8)
- Issue credential rewired (1351a56)
- LatestClaimValue method (8df54b8)
- List known identities in connections view (784c29b)
- Loading indicator (a463e40)
- Message object with validation (8bf6a9d)
- Metamask Identity Controller (720b52c)
- Method dataStoreORMGetIdentities (7952fbb)
- Method identityManagerGetOrCreateIdentity (0155389)
- More queries (30ac032)
- More queries (29bf414)
- Moving DID Doc management to the provider (b6bd930)
- New DID management interfaces (9599e2a)
- New Identity TS and GraphQL interfaces (3f8ff1c)
- New Identity TS and GraphQL interfaces (a36d691)
- Ngrok support in CLI (56c464d)
- OpenAPI server in CLI (ccdd6a7)
- Optional polling interval (f03aad6)
- Optionally add permissions to gql resolvers (0d5b212)
- pass along authentication metadata into handlers (199426b)
- Passing keyStore to Identity object (dafcac2)
- Provide link to DID document (1578c1c)
- PublicProfile VP in CLI server (6d6b710)
- Publishing serviceEndpoint to DID Doc (a9fb385)
- Query for single credential by id(hash) (1283ce5)
- Registry config (fe2ebc6)
- Reinstate
credentialStatus
as top level attribute (4b17689) - Reinstate
credentialStatus
as top level attribute (8347b1f) - Removing daf-debug (a1ebe1d)
- Removing examples from workspaces (5cf7343)
- Removing GraphQL support (3646aab)
- Removing profile service CLI (dc93089)
- Renamed Core to Agent (f2c79b6)
- Renaming MessageValidator to MessageHandler (586b43c)
- Respond to SDR request (8aafc6b)
- REST API example (0102582)
- Return the txHash in addPublic key (c56ada2)
- Sample auth (ef30a6e)
- Saving message and VC meta data (1928125)
- SDR helper and specs (c00b5c1)
- SDR validation (12ff8eb)
- Selective Disclosure Request (9afe0c5)
- Sending encrypted DIDComm messages (2f12513)
- Server / Client example (f757b7e)
- Server config (b3b9639)
- Set default did as first (cc9332c)
- Setup routing and layout templates (19236cd)
- Show credentials on connections (84abfa0)
- Show gravatar for did (f537372)
- Show Request in sidepanel (d930b92)
- SignCredentialJwt returns Credential (8aefe92)
- Simple login flow (8d6042a)
- Simpler create VC/VP (#309) (172c908)
- TypeORM wip (27e4ab2)
- Unique (with hash) VC/VP in ORM results (bcfc3e8)
- Universal resolver unit tests (8b92d1c)
- Update readme (39a3261)
- Updated architecture diagram (dafa3c0)
- Updated entities (00db341)
- Updated lock file (c46ecf2)
- Updating docs (86ba15c)
- Updating examples to the new API (13c7e3b)
- URL message validator (7e516e4)
- Use handleMessage instead of validateMessage (75fb74a)
- Using agent created from YAML config (ce2960c)
- Using data store (c2b76fd)
- Using DIDComm for encryption (02fefa9)
- Using EventEmitter instead of pubsub-js (5d50acf)
- Using OpenAPI schema in rest & express (80d0bad)
- Validating all plugin method arguments (2c868f7)
- Validating returnType (c7d1ef3)
- Validation in SDR response (fab06d2)
- Version bump (5f8c0fe)
- Version bump (f482187)
- Version bump (c981add)
- Version bump (4fd60a9)
- Web DID path (multi user) support (#282) (08996bd)
- WIP (f491371)
BREAKING CHANGES
-
This rename affects almost all the Identity management API
Please look for IDIDManager.ts
in daf-core/src/types
to see the new method names.
Functionality is the same but some renaming is required if already in use.
-
refactor: Rename Identity to Identifier
-
fix: Integration tests
-
refactor: WebDIDProvider
-
refactor: EthrDIDProvider
-
refactor: DIDStore
-
refactor: Resolver
-
refactor: DidManagerFind
-
refactor: DidManagerFind
-
refactor: DidManagerGet
-
refactor: DidManagerCreate
-
refactor: DidManagerGetOrCreate
-
refactor: DidManagerImport
-
refactor: DidManagerDelete
-
refactor: KeyManager
-
refactor: DefaultDID
-
refactor: IDIDManager
-
refactor: IDIDManager.ts
-
daf-cli: This refactor changes the CLI list of commands. Run daf --help
to get the latest options.
The same actions are possible, but under different (simpler) names and subcommands.
-
daf-resolver: The configuration for daf-resolver has changed to be less opinionated. It requires a did-resolver#Resolver
that can be configured with whichever DID methods your agent needs.
Co-authored-by: Mircea Nistor mirceanis@gmail.com
- the
IW3c
type and W3c
class have been renamed to
ICredentialIssuer
and CredentialIssuer
fix(deps): update did-resolver
and did-jwt
libs for all packages to maintain type consistency
- database schema change required to accept large claims
- DB Schema change
- Introducing TypeORM - support for more databases
Deprecating some packages.
- Introducing TypeORM - support for more databases
Deprecating some packages.
- new interfaces for IdentityManager
AbstractIdentityController AbstractIdentityProvider
AbstractIdentityStore AbstractIdentity
AbstractKeyManagementSystem AbstractKey AbstractKeyStore