unstale

npm / @owf/mdoc

@owf/mdoc

What changed in @owf/mdoc 0.10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

8 breaking5 security2 new APIs and options4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@owf/mdoc 0.1019 changes

Breaking changes 8

  • When certificate-chain validation is disabled, verification no longer fetches the MSO status or identifier list and reports a WARNING that status was not checked; trusted verifiers must call verifyStatus separately.

    0.10.0release notes

  • Holder.verifyDeviceRequest now needs crypto in its context.

    0.10.0release notes

  • An undecompressible CWT-format status list now throws InvalidRevocationListError instead of StatusListValidationError.

    0.10.0release notes

  • MdlError now extends IdentityError instead of Error, and its name is its class name.

    0.10.0release notes

  • Status and identifier lists are read within fetchLimits, which defaults to 16 MiB per list; previously, an identifier list response was read whole.

    0.10.0release notes

  • MediaTypes is renamed to MdocMediaTypes in @owf/mdoc.

    0.10.0release notes

  • ReaderAuth.verify now needs crypto in its context and checks a protected x5t, if present, against the reader certificate using SHA-256.

    0.10.0release notes

  • JWT-format revocation lists are verified with verifyStatusListJwt; malformed x5c and out-of-range idx now throw InvalidRevocationListError.

    0.10.0release notes

Security 5

  • IssuerAuth.verify checks a protected x5t when present; it must use SHA-256 and match the issuer certificate. An x5t is not required.

    0.10.0release notes

  • Verifiers that establish issuer trust themselves must call verifyStatus afterward to check status when certificate-chain validation is disabled.

    0.10.0release notes

  • Verification APIs accept a limit on how large an mdoc status list may inflate; it defaults to 16 MiB and bounds decompressed status-list memory use.

    0.10.0release notes

  • verifyStatusListToken accepts a decompressed-size limit for a status list.

    0.10.0release notes

  • @owf/cose exports verifyX5t to check a COSE structure's protected x5t against a certificate.

    0.10.0release notes

New APIs and options 2

  • DocRequestInfo accepts extensions and reads them with getExtension, including for the euWrprc registration certificate.

    0.10.0release notes

  • Issuer.sign, IssuerSignedBuilder.sign, and IsoMdocDcApi.createRequest's readerAuth option accept includeX5t to add a SHA-256 leaf-certificate x5t to the protected header; it is off by default.

    0.10.0release notes

Fixes and other changes 4

  • JARM accepts its Content-Type in any casing.

    0.10.0release notes

  • A Key Binding JWT accepts its typ in any casing and with the application/ prefix.

    0.10.0release notes

  • A registration certificate accepts its typ in any casing and with the application/ prefix.

    0.10.0release notes

  • When mdoc status cannot be verified, the failed check reason and default IssuerAuth.verify error now identify the status or identifier list and its URI.

    0.10.0release notes