Skip to content

Latest commit

 

History

History
158 lines (115 loc) · 5.56 KB

CHANGELOG.md

File metadata and controls

158 lines (115 loc) · 5.56 KB

Release Notes

The DID Auth SIOP typescript library is still in an alpha state at this point. Please note that the interfaces might still change a bit as the software still is in active development.

v0.3.1 - 2023-05-17

Bugfix release, fixing RPBuilder export and a client_id bug when not explicitly provided to the RP.

  • Fixed:
    • Changed RPBuilder default export to a named export
    • Fix #54. The client_id took the whole registration object, instead of the client_id in case it was not provided explicitly
  • Updated:
    • SSI-types have been updated to the latest version.

v0.3.0 - 2023-04-30

This release contains many breaking changes. Sorry for these, but this library still is in active development, as reflected by the major version still being 0. A lot of code has been refactored. Now certain classes have state, instead of passing around objects between static methods.

  • Added:
    • Allow to restrict selecting VCs against Formats not communicated in a presentation definition. For instance useful for filtering against a OID4VP RP, which signals support for certain Formats, but uses a definition which does not include this information
    • Allow to restrict selecting VCs against DID methods not communicated in a presentation definition. For instance useful for filtering against a OID4VP RP, which signals support for certain DID methods, but uses a definition which does not include this information
    • Allow passing in submission data separately from a VP. Again useful in a OID4VP situation, where presentation submission objects can be transferred next to the VP instead if in the VP
    • A simple session/state manager for the RP side. This allows to find back definitions for responses coming back in. As this is a library the only implementation is an in memory implementation. It is left up to implementers to create their persistent implementations
    • Added support for new version of the spec
    • Support for JWT VC Presentation Profile
    • Support for DID domain linkage
  • Removed:
    • Several dependencies have been removed or moved to development dependencies. Mainly the cryptographic libraries have been removed
  • Changed:
    • Requests and responses now contain state and can be instantiated from scratch/options or from an actual payload
    • Schema's for AJV are now compiled at build time, instead of at runtime.
  • Fixed:
    • JSON-LD contexts where not always fetched correctly (Github for instance)
    • Signature callback function was not always working after creating copies of data
    • React-native not playing nicely with AJV schema's
    • JWT VCs/VPs were not always handled correctly
    • Submission data contained several errors
    • Holder was sometimes missing from the VP
    • Too many other fixes to list

v0.2.14 - 2022-10-27

  • Updated:
    • Updated some dependencies

v0.2.13 - 2022-08-15

  • Updated:
    • Updated some dependencies

v0.2.12 - 2022-07-07

  • Fixed:
    • We did not check the proper claims in an AuthResponse to determine the key type, resulting in an invalid JWT header
    • Removed some remnants of the DID-jwt fork

v0.2.11 - 2022-07-01

  • Updated:
    • Update to PEX 1.1.2
    • Update several other deps
  • Fixed:
    • Only throw a PEX error in case PEX itself has flagged the submission to be in error
    • Use nonce from request in response if available
    • Remove DID-JWT fork as the current version supports SIOPv2 iss values

v0.2.10 - 2022-02-25

  • Added:
    • Add default resolver support to builder

v0.2.9 - 2022-02-23

  • Fixed:
    • Remove did-jwt dependency, since we use an internal fork for the time being anyway

v0.2.7 - 2022-02-11

  • Fixed:
    • Revert back to commonjs

v0.2.6 - 2022-02-10

  • Added:
    • Supplied withSignature support. Allowing to integrate withSignature callbacks, next to supplying private keys or using external custodial signing with authn/authz

v0.2.5 - 2022-01-26

  • Updated:
    • Update @sphereon/pex to the latest stable version v1.0.2
    • Moved did-key dep to dev dependency and changed to @digitalcredentials/did-method-key

v0.2.4 - 2022-01-13

  • Updated:
    • Update @sphereon/pex to latest stable version v1.0.1

v0.2.3 - 2021-12-10

  • Fixed:

    • Check nonce and did support first before verifying JWT
  • Updated:

    • Updated PEX dependency that fixed a JSON-path bug impacting us

v0.2.2 - 2021-11-29

  • Updated:
    • Updated dependencies

v0.2.1 - 2021-11-28

  • Updated:
    • Presentation Exchange updated to latest PEX version 0.5.x. The eventual Presentation is not a VP yet (proof will be in next minor release)
    • Update Uni Resolver client to latest version 0.3.3

v0.2.0 - 2021-10-06

v0.1.1 - 2021-09-29

  • Fixed:
    • Packaging fix for the did-jwt fork we include for now

v0.1.0 - 2021-09-29

This is the first Alpha release of the DID Auth SIOP typescript library. Please note that the interfaces might still change a bit as the software still is in active development.