Skip to content

Latest commit

 

History

History
108 lines (76 loc) · 2.61 KB

File metadata and controls

108 lines (76 loc) · 2.61 KB

@digitalcredentials/ezcap Changelog

6.1.0 - 2026-03-23

Added

  • Add TypeScript type definitions.

6.0.0 - 2025-10-18

Changed

5.1.0 - 2025-09-03

Added

  • Add support for binary blob objects to request().

5.0.0 - 2025-08-27

Changed

  • BREAKING: Fork from @digitalbazaar/ezcap@4.1.0
  • Update to use DCC versions of http-client and jsigs.

4.1.0 - 2024-01-01

Changed

  • Updated dependencies:
    • @digitalbazaar/http-client@4.
    • uuid@9.
  • Set node.js engines recommendation to 18+.

4.0.1 - 2023-12-22

Fixed

  • Fix bug that prevented some invocation targets from being attenuated using query params.

4.0.0 - 2022-10-25

Changed

  • BREAKING: Use @digitalbazaar/zcap@9 and jsonld-signatures@11.

3.0.1 - 2022-06-09

Changed

  • Mark ZcapClient as a class in the docs.

3.0.0 - 2022-06-09

Changed

  • BREAKING: Convert to module (ESM).
  • BREAKING: Require Node.js >=14.
  • BREAKING: Require Web Crypto API. Older browsers and Node.js 14 users need to install an appropriate polyfill.
  • Update dependencies.
  • Lint module.

2.0.6 - 2022-04-17

Fixed

  • Get default allowedActions from capability to be delegated.

2.0.5 - 2022-04-17

Fixed

  • Fix allowedActions default in delegate. Now allowedActions will properly use the parent zcap's allowed actions if it is not provided.

2.0.4 - 2022-03-07

Fixed

  • Add check for controller in ZcapClient.delegate API.

2.0.3 - 2022-02-23

Fixed

  • Ensure zcap delegation time is after parent.

2.0.2 - 2022-02-15

Fixed

  • Add missing helper function to get delegation proofs.

2.0.1 - 2022-01-11

Changed

  • Updated dependencies.

2.0.0 - 2022-01-11

Added

  • Allow expires to be a Date instance.

Changed

  • BREAKING: Use zcap@7.
  • BREAKING: Use urn:uuid: by default for delegated zcaps.
  • BREAKING: Rename targetDelegate param to controller to match the property name that the value will be assigned to in the delegated zcap.

Removed

  • BREAKING: Remove url parameter from delegate() to reduce confusion over usage. Now capability and / or invocationTarget must be specified.
  • BREAKING: Remove support for capability invocation targets that are objects and not strings. This reduces optionality to simplify.

1.0.0 - 2021-07-22

Added

  • Initial release, see individual commits for history.