Skip to content

chore(deps): upgrade credo-ts to 0.7.5 - #511

Open
ajile-in wants to merge 1 commit into
mainfrom
aw/credo-ts-0-7-5-8fd990
Open

ajile-in wants to merge 1 commit into
mainfrom
aw/credo-ts-0-7-5-8fd990

Conversation

@ajile-in

@ajile-in ajile-in commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Upgrades Credo from 0.7.4 to 0.7.5 (patch release, no breaking changes).

What 0.7.5 changes

  • core: DCQL ldp_vc credential retrieval filters on ldp_vc queries instead of jwt_vc_json (fix); extractPresentationsWithDescriptorsFromSubmission only accepts submission descriptors whose path/path_nested.path resolve to the presentation's own credentials, other paths throw; @owf/mdoc pinned <0.8.3.
  • openid4vc: the OpenID4VP verifier rejects creating a request whose transactionData references credential ids not in the DCQL query or presentation definition.
  • didcomm: signature decorators with padded base64url or standard base64 are accepted.
  • askar, node, anoncreds, indy-vdr, tenants, question-answer: dependency bumps only.
  • No changes to X.509, KMS, SD-JWT VC, mdoc, or W3C v1/v2 APIs that matter here, and no removed or renamed exports.

Touches this controller: the DCQL fix (our core patch carried the same change), the stricter transactionData check on create-presentation-request (a request with unknown ids now fails instead of being created), and the PEX descriptor check on verification of external submissions.

Patches

Patch Result
@credo-ts+core Renamed to 0.7.5. DCQL ldp_vc hunk dropped (upstream now). Still carries: Ed25519 signature-suite preference by verification method type (DCQL and PEX), did:x509 SD-JWT VC issuers (x5c next to kid, issuer resolution and trust), W3cCredential/W3cPresentation no longer set id/expirationDate to undefined, VersionString widened to string.
@credo-ts+didcomm Renamed, applies unchanged. Adds messageType on forward messages.
@credo-ts+openid4vc Renamed, applies unchanged. Issuer notification endpoint (credo-ts#3215), not in 0.7.5.
polygon module, @digitalcredentials/jsonld* Untouched.

Dependencies

@credo-ts/push-notifications is still at 0.7.1 (latest, peer core ^0.5.0, unchanged behaviour). @openwallet-foundation/askar-nodejs, @sovio-id/credo-openbao-kms (peer core ^0.7.0) and @didx509/credo (peer core ^0.7.0) accept 0.7.5. @ayanworks/credo-polygon-w3c-module 2.1.0 still declares core/askar ^0.6.1 as before; the existing resolutions override it, so no change from 0.7.4. @peculiar/asn1-* resolutions untouched. Changeset is patch: no breaking change.

Verification

  • yarn install (lockfile updated), yarn validate (0 errors), yarn test (466 passed), yarn test:no-indy (9 passed), test:vc-jsonld and test:v1-status-roundtrip smoke scripts pass.
  • yarn tsoa: routes.ts unchanged; swagger.json only differs by info.version (2.3.2 on main vs 2.3.3), not committed.
  • docker build . succeeds.
  • Not run: test:bitstring-status-list (needs STATUS_LIST_SERVER_URL), test:integration (needs OpenBao).

Summary by CodeRabbit

  • Bug Fixes
    • Improved credential selection for presentation requests and corrected handling of Linked Data credentials in DCQL queries.
    • Fixed validation of OpenID4VP transaction data and padded DIDComm signatures.
    • Improved SD-JWT VC handling for DID issuers with certificate chains, including validation and verification.
    • Credential and presentation identifiers and expiration dates are now preserved when explicitly provided.
  • Updates
    • Updated Credo components to version 0.7.5.

Bump the nine pinned @credo-ts packages and the resolutions to 0.7.5.
Rename the core, didcomm and openid4vc patches to 0.7.5 and drop the
DCQL ldp_vc hunk from the core patch, which is part of 0.7.5.

Signed-off-by: Ajay Jadhav <ajay@ayanworks.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates agent-controller’s Credo dependencies from 0.7.4 to 0.7.5 and applies a DCQL LDP VC credential-selection fix. It also updates the release changeset, patch documentation reference, and OpenAPI document version.

Changes: Credo 0.7.5 update

Layer / File(s) Summary
DCQL LDP VC credential selection
patches/@credo-ts+core+0.7.5.patch
The DCQL query now selects type_values from ldp_vc credentials when building expandedTypes.
Dependency and release metadata
package.json, .changeset/credo-ts-0-7-5.md, docs/did-x509.md, src/routes/swagger.json
Credo dependencies and resolutions move to 0.7.5. The changeset documents the release, the DID-X.509 documentation references the 0.7.5 patch, and the OpenAPI version changes to 2.3.3.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

Suggested reviewers: shitrerohit, sagarkhole4, ankita-p17

Merge Risk: Minimal · up to 31ff0 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "chore(deps): upgrade credo-ts to 0.7.5" names the main change. The PR upgrades the pinned @credo-ts packages and their resolutions from 0.7.4 to 0.7.5, and the changeset, docs, and swagger …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "chore(deps): upgrade credo-ts to 0.7.5" names the main change. The PR upgrades the pinned @credo-ts packages and their resolutions from 0.7.4 to 0.7.5, and the changeset, docs, and swagger version bump support that upgrade. The title is concise, specific, and free of file lists or vague terms.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3cc10590-1b21-4689-82e7-3063b80cdca9
Commits

Reviewing files that changed from the base of the PR and between bb1b6cd and 31ff059.

Files ignored due to path filters: 1

  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing: 7

  • .changeset/credo-ts-0-7-5.md
  • docs/did-x509.md
  • package.json
  • patches/@credo-ts+core+0.7.5.patch
  • patches/@credo-ts+didcomm+0.7.5.patch
  • patches/@credo-ts+openid4vc+0.7.5.patch
  • src/routes/swagger.json
Files with no reviewable changes: 1

  • patches/@credo-ts+core+0.7.5.patch

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@sonarqubecloud

Copy link
Copy Markdown

@ajile-in ajile-in added this to the 2.4.0 milestone Nov 23, 2026
@ajile-in ajile-in self-assigned this Nov 23, 2026
@ajile-in ajile-in modified the milestones: 2.4.0, v2.3.3, v2.3.4 Nov 23, 2026

This branch has not been deployed

No deployments
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.

1 participant