Skip to content

v2.0.0

Compare
Choose a tag to compare
@NSeydoux NSeydoux released this 03 Nov 10:47
· 535 commits to main since this release
2d23b3b

Breaking change

  • getAccessRequestFromRedirectUrl and getAccessGrantFromRedirectUrl no longer
    pick up VC passed by value, and only support passing by IRI. This is for security
    reasons, as passing a VC by value in the IRI leaks information. This removes a
    behavior that has been deprecated in v0.5.0. This change doesn't affect you if
    you are using the query parameters accessors (getAccessRequestFromRedirectUrl
    and getAccessGrantFromRedirectUrl).

New features

  • getAccessRequestFromRedirectUrl and getAccessGrantFromRedirectUrl now accept URL
    objects as well as plain strings.
  • approveAccessRequest now accepts a null expiration date override, resulting
    in the expiration date from the Access Request not being applied to the Access Grant.

This release also includes dependencies update.