Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@ewf-devops ewf-devops released this 21 Mar 05:33

2.0.0 (2023-03-21)

⚠ BREAKING CHANGES

  • ipfs url replaced by ipfs params object
  • initialise loginstrategy with includeallroles property to filter claims
  • ens registry must be set for LoginStrategy

Features

  • add cache to resolvers (1a291c2)
  • add diddocument resolution and caching to credential resolver (19f5708)
  • add option to verify all claims (4199ea8)
  • add status check for role credential (a1f83e2)
  • add support for old DID format (d10b875)
  • add support for siwe (677201a)
  • add tests (ec68e2f)
  • add token payload validation (cfde615)
  • add validation check for siwe message uri (a17ad4b)
  • code refactoring (2d25f40)
  • enabling http keep-alive for the CacheServerClient (#325) (d449709)
  • export external dependencies (0ab1f14)
  • login strategy login to ssi-hub with siwe (c816b1c)
  • return reason for failed authorisation (0249a25)
  • return valid and invalid roles after authentication (c9aabb8)
  • update authenticate to handle login via siwe (0dbc1c3)
  • update logging (30dd250)
  • update tests (b5a0436)
  • update tests to validate credential status (22340f4)
  • verify hierarchy of issuers for credential (c160e19)

Bug Fixes

  • add additional filters to off-chain claim filtering (#303) (77ff339)
  • add chainName to LoginStrategyOptions and set on cache client config (7c0baec)
  • add validation for accepted roles against uniqueroles (418ef93)
  • apply formatting (a984f7b)
  • check for expiration date (b50f337)
  • code lint error (210ae06)
  • code linting error (2053da1)
  • code refactoring (1f2bfcc)
  • compare stringified roles (16166f1)
  • correct comment (3e23acd)
  • downgrade didstore to v0.7.1-alpha.816.0 (c7eae95)
  • error validation (8bb5f1e)
  • export types (4b69c1b)
  • fetching off-chain claims from did document (#304) (a4c6999)
  • filter claims before verification (b1a2d24)
  • fixing a bug when DIDs with no roles are always accepted (fbe6c71)
  • omit invalid claims in off-chain claims (3568244)
  • read role from correspondig resolver (cf1173b)
  • refactor role def resolution (af4fc31)
  • resolve conflicts (62a8b6d)
  • set ipfs headers (d09a054)
  • update did with chain name for siwe verification (53a8215)
  • update implementation specific to jsonwebtoken (775212a)
  • update package-lock.json (3b96cfa)
  • update variable decalration name (958ad3c)
  • upgrade dependencies (189d258)
  • use chainid from siwe payload (0308638)
  • use jwtsignoptions for test cases (48ac9b5)
  • use type siwemessage (2895345)
  • validate if claimType exists (3ba5e3f)

Documentation

  • add contract addr references and seq diagram (2c6225d)
  • add use case example for loginstrategy (c1e8e66)
  • README: add section about token payload structure (7783e36)
  • update active maintainers (b32124e)
  • update class documentation (35ce549)
  • update docs for loginstrategy (b5c9afe)
  • update readme (ff781a8)