Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: next major release #1284

Merged
merged 62 commits into from
Apr 2, 2024
Merged

chore: next major release #1284

merged 62 commits into from
Apr 2, 2024

Conversation

mirceanis
Copy link
Member

@mirceanis mirceanis commented Oct 25, 2023

New features in this release:

#1239 - use IPFS CID for identifying credentials/presentations and messages in the data-store
#1259 - add hash to credential columns in the DB for querying
#1261 - reuse key conversion code from did-jwt
#1242 - update ethersjs to v6
#1218 - querying DIDs by alias no longer depends on the provider
#1268 - added ability to check which credential formats can be used for an issuer/credential combination
#1282 - add DIDComm coordinate-mediation v3 support
#1318 - use dynamic schemas for plugins
#1316 - implement Multikey support
#1331 - allow verifiers to use all verification methods that match
#1332 - align did:key to spec
#1334 - use blockchainAccountId from any DID method
#1340 - Improve DIDComm Service compatibility
#1344 - forward DID resolution options to the resolver
#1345 - remove revocable and send options from credential create command
#1347 - remove interactive prompting on CLI execute command
#1365 - address edge case when getting DIDDoc component

…ntial IDs (#1239)

BREAKING CHANGE: going forward credentials and presentations will have a new ID format in the database. If you are relying on the IDs assigned internally by `@veramo/data-store` to work with your credentials, you will have to recompute them using the `@veramo/utils#computeEntryHash` method.
BREAKING CHANGE: now using ethers v6 as a dependency which may need extra attention when merging. The output of `eth_signTransaction` algorithms may be slightly different as transactions are by default infered as type 1 (EIP1559)
…ovider (#1218)

fixes #1215

BREAKING CHANGE: The behavior of `DIDManager` has changed when working with `alias`. It is mostly ignoring `provider` unless it is used to create new identifiers. `AbstractDIDStore` APIs have been adapted and implementations have changed.
# Conflicts:
#	__tests__/localJsonStoreAgent.test.ts
* test(credential-eip712): fix test vector containing 22 byte null address instead of 20
#1283)

* feat(did-comm): returnMessage from sendDIDCommMessage() when available

BREAKING CHANGE: the return type of `IDIDComm.sendDIDCommMessage()` has changed from a string representing the transport ID to an object that may include a `returnMessage` property along with a `transportId` property.
@codecov-commenter
Copy link

codecov-commenter commented Nov 1, 2023

Codecov Report

Attention: Patch coverage is 90.52453% with 112 lines in your changes are missing coverage. Please review.

Project coverage is 89.95%. Comparing base (3dfc601) to head (ab16cbd).
Report is 3 commits behind head on main.

Files Patch % Lines
packages/did-comm/src/didcomm.ts 83.75% 32 Missing ⚠️
packages/did-provider-key/src/resolver.ts 91.33% 24 Missing ⚠️
...ackages/did-provider-peer/src/peer-did-provider.ts 64.40% 21 Missing ⚠️
packages/utils/src/did-utils.ts 76.59% 11 Missing ⚠️
...d-comm/src/protocols/trust-ping-message-handler.ts 57.14% 9 Missing ⚠️
...es/credential-eip712/src/agent/CredentialEIP712.ts 88.23% 4 Missing ⚠️
packages/did-comm/src/transports/transports.ts 92.50% 3 Missing ⚠️
.../protocols/coordinate-mediation-message-handler.ts 66.66% 2 Missing ⚠️
packages/remote-server/src/messaging-router.ts 50.00% 2 Missing ⚠️
packages/utils/src/jwk-did-utils.ts 33.33% 2 Missing ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1284      +/-   ##
==========================================
+ Coverage   84.92%   89.95%   +5.02%     
==========================================
  Files         167      176       +9     
  Lines       18120    27695    +9575     
  Branches     2036     2200     +164     
==========================================
+ Hits        15388    24912    +9524     
- Misses       2732     2783      +51     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

mirceanis and others added 7 commits November 1, 2023 21:07
…3.0 (#1282)

Implement coordinate mediation from v3 (https://didcomm.org/coordinate-mediation/3.0/)
 - add recipient update
 - add recipient update response
 - add recipient query
 - add recipient
add grant or deny control mechanism
 - add default logic
 - add TODO for injection of grant/deny mechanism logic
add datastore for:
 - mediation
 - recipient did
 - mediation policy
define types:
 - IDataStore
 - IMediation
 - IMediationPolicy
 - IRecipientDid
add tests for new functionality
 - modify mediate test suite
 - add recipient update test suite
 - add recipient query test suite
documentation:
 - add documentation on introduced methods
cli:
 - add mediate allow-from command
 - add mediate deny-from command
 - add mediate list
 - add mediate remove

---------

Co-authored-by: Paul Parker
* refactor: ensure v3 mediation protocol is correctly exported
* refactor: cli mediate feedback on no mediation manager plugin configured
* docs: add additional help text to the mediate cli help page
…ableCredentialsByClaims` (#1299)

fixes #1285

Co-authored-by: Mirko Mollik <[email protected]>
mirceanis and others added 10 commits January 22, 2024 09:57
fixes #1254

BREAKING CHANGE: The `plugin.schema.json` files are now generated as `plugin.schema.ts`.
* remove references to the JSON build output for plugin schemas
* export the schemas from each package

relates to #1318 / #1317 / #1315
…ods (#1331)

The `VeramoLdSignature.getSupportedVerificationType()` can now return `string[]` as well as `string`

fixes #1329
replace transmute resolvers with local implementation

fixes #1330
BREAKING CHANGE: The `getChainIdForDidEthr` method has been renamed to `getChainId`
@mirceanis mirceanis added this to the v6 milestone Feb 22, 2024
renovate bot and others added 7 commits February 22, 2024 14:12
* fix(did-comm): support services defined as arrays, including shorthand form
* feat(did-comm): sendMessage now uses all transports and endpoints that match
* fix(did-provider-peer): add options for creating a did:peer from known private keys
* fix(did-comm): update `message.to` to an array of recipients

BREAKING CHANGE: the DIDComm Message structure has changed. The message can now specify multiple recipients in the `to` property.
using Debug instead of `console.log` for logging, so that the console can be used for stdout.

fixes #1281
@nickreynolds nickreynolds marked this pull request as ready for review April 2, 2024 04:44
@nickreynolds nickreynolds merged commit 9d10562 into main Apr 2, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.