Skip to content

Commit

Permalink
chore(release): 2.0.0 [skip ci]
Browse files Browse the repository at this point in the history
## [2.0.0](v1.2.1...v2.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](1a291c2))
* add diddocument resolution and caching to credential resolver ([19f5708](19f5708))
* add option to verify all claims ([4199ea8](4199ea8))
* add status check for role credential ([a1f83e2](a1f83e2))
* add support for old DID format ([d10b875](d10b875))
* add support for siwe ([677201a](677201a))
* add tests ([ec68e2f](ec68e2f))
* add token payload validation ([cfde615](cfde615))
* add validation check for siwe message uri ([a17ad4b](a17ad4b))
* code refactoring ([2d25f40](2d25f40))
* enabling http keep-alive for the CacheServerClient ([#325](#325)) ([d449709](d449709))
* export external dependencies ([0ab1f14](0ab1f14))
* login strategy login to ssi-hub with siwe ([c816b1c](c816b1c))
* return reason for failed authorisation ([0249a25](0249a25))
* return valid and invalid roles after authentication ([c9aabb8](c9aabb8))
* update authenticate to handle login via siwe ([0dbc1c3](0dbc1c3))
* update logging ([30dd250](30dd250))
* update tests ([b5a0436](b5a0436))
* update tests to validate credential status ([22340f4](22340f4))
* verify hierarchy of issuers for credential ([c160e19](c160e19))

### Bug Fixes

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

### Documentation

* add contract addr references and seq diagram ([2c6225d](2c6225d))
* add use case example for loginstrategy ([c1e8e66](c1e8e66))
* **README:** add section about token payload structure ([7783e36](7783e36))
* update active maintainers ([b32124e](b32124e))
* update class documentation ([35ce549](35ce549))
* update docs for loginstrategy ([b5c9afe](b5c9afe))
* update readme ([ff781a8](ff781a8))
  • Loading branch information
semantic-release-bot committed Mar 21, 2023
1 parent a8fd473 commit 70f22d8
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 1 deletion.
77 changes: 77 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,80 @@
## [2.0.0](https://github.com/energywebfoundation/passport-did-auth/compare/v1.2.1...v2.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](https://github.com/energywebfoundation/passport-did-auth/commit/1a291c2db1c197d2230a4f1a662623a34fdac067))
* add diddocument resolution and caching to credential resolver ([19f5708](https://github.com/energywebfoundation/passport-did-auth/commit/19f570849953d09307c67caefc8f79bc32bb9aea))
* add option to verify all claims ([4199ea8](https://github.com/energywebfoundation/passport-did-auth/commit/4199ea84b46a77e4316893419cbb60afec60f0ad))
* add status check for role credential ([a1f83e2](https://github.com/energywebfoundation/passport-did-auth/commit/a1f83e2d8f2ebc50613b348723214159b68e9122))
* add support for old DID format ([d10b875](https://github.com/energywebfoundation/passport-did-auth/commit/d10b87536750a1745fb99eb5d0b2d4c53ed23030))
* add support for siwe ([677201a](https://github.com/energywebfoundation/passport-did-auth/commit/677201a08680497e5a0dfc3489bdc772b19a43a4))
* add tests ([ec68e2f](https://github.com/energywebfoundation/passport-did-auth/commit/ec68e2f08c2772ca8cf18f73a94ce18c6ce63522))
* add token payload validation ([cfde615](https://github.com/energywebfoundation/passport-did-auth/commit/cfde615ca2f4e3e22c8a8fa1b2204d5ad0c23961))
* add validation check for siwe message uri ([a17ad4b](https://github.com/energywebfoundation/passport-did-auth/commit/a17ad4b012a05c9a0e8f21e963f2b4e19f9260fc))
* code refactoring ([2d25f40](https://github.com/energywebfoundation/passport-did-auth/commit/2d25f405176b2022663bbcd4b9a2507d05a4ee8b))
* enabling http keep-alive for the CacheServerClient ([#325](https://github.com/energywebfoundation/passport-did-auth/issues/325)) ([d449709](https://github.com/energywebfoundation/passport-did-auth/commit/d449709879a362566f1e054e0ff6199866559c8e))
* export external dependencies ([0ab1f14](https://github.com/energywebfoundation/passport-did-auth/commit/0ab1f146ffb8de317677ebd5d4522e2fc88f6ce3))
* login strategy login to ssi-hub with siwe ([c816b1c](https://github.com/energywebfoundation/passport-did-auth/commit/c816b1cc767d2fffdeecc9d8e92f02e84d3e96cc))
* return reason for failed authorisation ([0249a25](https://github.com/energywebfoundation/passport-did-auth/commit/0249a256ed4f351d9262bc4cfa2639b28b788655))
* return valid and invalid roles after authentication ([c9aabb8](https://github.com/energywebfoundation/passport-did-auth/commit/c9aabb8e1a9d154d3d946ee4f2380dc8a1bd55bb))
* update authenticate to handle login via siwe ([0dbc1c3](https://github.com/energywebfoundation/passport-did-auth/commit/0dbc1c3a0c0d01946dd0844ab855951d63fa6ca0))
* update logging ([30dd250](https://github.com/energywebfoundation/passport-did-auth/commit/30dd2509ddf2eba90a6959eda4f67868ae0eb3b9))
* update tests ([b5a0436](https://github.com/energywebfoundation/passport-did-auth/commit/b5a04369dc022c415e36106ae94de08e93318cad))
* update tests to validate credential status ([22340f4](https://github.com/energywebfoundation/passport-did-auth/commit/22340f45c29f37ffa0c5d3c762aa5100c79817b9))
* verify hierarchy of issuers for credential ([c160e19](https://github.com/energywebfoundation/passport-did-auth/commit/c160e19e2cf8eed68d73e3022f8bceec07a4f8be))


### Bug Fixes

* add additional filters to off-chain claim filtering ([#303](https://github.com/energywebfoundation/passport-did-auth/issues/303)) ([77ff339](https://github.com/energywebfoundation/passport-did-auth/commit/77ff339663d600ca707e4c8c7d66dd7004fd83a5))
* add chainName to LoginStrategyOptions and set on cache client config ([7c0baec](https://github.com/energywebfoundation/passport-did-auth/commit/7c0baecf95cdc5d3d5a53c015f5e7ac5c6cc2c72))
* add validation for accepted roles against uniqueroles ([418ef93](https://github.com/energywebfoundation/passport-did-auth/commit/418ef93157d809d9eca54cc0bdb5940ccb6f81e6))
* apply formatting ([a984f7b](https://github.com/energywebfoundation/passport-did-auth/commit/a984f7bd77617a23d74cbc2044062206f9602eab))
* check for expiration date ([b50f337](https://github.com/energywebfoundation/passport-did-auth/commit/b50f337c23db92fe23dd7f8e9548d3a5eeec88a4))
* code lint error ([210ae06](https://github.com/energywebfoundation/passport-did-auth/commit/210ae0665641d367260528576be974534eb7e911))
* code linting error ([2053da1](https://github.com/energywebfoundation/passport-did-auth/commit/2053da157724c971f6232666f5e58661cd162aa3))
* code refactoring ([1f2bfcc](https://github.com/energywebfoundation/passport-did-auth/commit/1f2bfcc7f2d9218a7a361eb71de19a75625a408b))
* compare stringified roles ([16166f1](https://github.com/energywebfoundation/passport-did-auth/commit/16166f1c5bbc169bfadeeed8d4e16ed4180d60b5))
* correct comment ([3e23acd](https://github.com/energywebfoundation/passport-did-auth/commit/3e23acdeb94ddc845d5947098cd039daabc10707))
* downgrade didstore to v0.7.1-alpha.816.0 ([c7eae95](https://github.com/energywebfoundation/passport-did-auth/commit/c7eae9557df9b26b08da278701505023a0cc4676))
* error validation ([8bb5f1e](https://github.com/energywebfoundation/passport-did-auth/commit/8bb5f1e91bbc6701ce627b20dd997873d2d9e9e6))
* export types ([4b69c1b](https://github.com/energywebfoundation/passport-did-auth/commit/4b69c1b21c3b468a1c21a579a7c78d0dc85c617b))
* fetching off-chain claims from did document ([#304](https://github.com/energywebfoundation/passport-did-auth/issues/304)) ([a4c6999](https://github.com/energywebfoundation/passport-did-auth/commit/a4c699960d6dbbf75dc95b94bab906bd09eed6ef))
* filter claims before verification ([b1a2d24](https://github.com/energywebfoundation/passport-did-auth/commit/b1a2d242111aaa9c8817b0de970c950a38446797))
* fixing a bug when DIDs with no roles are always accepted ([fbe6c71](https://github.com/energywebfoundation/passport-did-auth/commit/fbe6c71c6d2538d465ed8fb743cdbac7d16b2d47))
* omit invalid claims in off-chain claims ([3568244](https://github.com/energywebfoundation/passport-did-auth/commit/35682440a499d7d6f977ee984e43979c77a17e93))
* read role from correspondig resolver ([cf1173b](https://github.com/energywebfoundation/passport-did-auth/commit/cf1173b3bb8f32970a1ebe07c9856373a2b218ee))
* refactor role def resolution ([af4fc31](https://github.com/energywebfoundation/passport-did-auth/commit/af4fc31cd9152280c1b4608ccee8934f1b82e460))
* resolve conflicts ([62a8b6d](https://github.com/energywebfoundation/passport-did-auth/commit/62a8b6dded417be044080f7b7d4cb1be45d63c6c))
* set ipfs headers ([d09a054](https://github.com/energywebfoundation/passport-did-auth/commit/d09a054e85bbc6821aed4e0d378f030e29801fac))
* update did with chain name for siwe verification ([53a8215](https://github.com/energywebfoundation/passport-did-auth/commit/53a821552d15aeba1138147a91795fd44b9bab05))
* update implementation specific to jsonwebtoken ([775212a](https://github.com/energywebfoundation/passport-did-auth/commit/775212ab384460553686fa93963304c0f4fd0be8))
* update package-lock.json ([3b96cfa](https://github.com/energywebfoundation/passport-did-auth/commit/3b96cfa63c2f15a2c5267e05f55e111ce95f1236))
* update variable decalration name ([958ad3c](https://github.com/energywebfoundation/passport-did-auth/commit/958ad3c7db4380313a2f1488358d6ba0640133f2))
* upgrade dependencies ([189d258](https://github.com/energywebfoundation/passport-did-auth/commit/189d258c53894c6f350dcad4401d094989516f75))
* use chainid from siwe payload ([0308638](https://github.com/energywebfoundation/passport-did-auth/commit/0308638a78fa6938e760d612cc0f7bbb0d6a737f))
* use jwtsignoptions for test cases ([48ac9b5](https://github.com/energywebfoundation/passport-did-auth/commit/48ac9b5c202ae56b5eea70e0a8ed7573395ddae6))
* use type siwemessage ([2895345](https://github.com/energywebfoundation/passport-did-auth/commit/2895345f97cacdefa89683031d7ca1055a117547))
* validate if claimType exists ([3ba5e3f](https://github.com/energywebfoundation/passport-did-auth/commit/3ba5e3fee7caa981eef240e596057d2b3bda8fee))


### Documentation

* add contract addr references and seq diagram ([2c6225d](https://github.com/energywebfoundation/passport-did-auth/commit/2c6225dea66543f976e569de561aa249c00ad254))
* add use case example for loginstrategy ([c1e8e66](https://github.com/energywebfoundation/passport-did-auth/commit/c1e8e666fdf6ce856128d6ba08c9020dedbb4545))
* **README:** add section about token payload structure ([7783e36](https://github.com/energywebfoundation/passport-did-auth/commit/7783e36860f0f36d0eb8773d107f7bee332cf2ca))
* update active maintainers ([b32124e](https://github.com/energywebfoundation/passport-did-auth/commit/b32124e86a3a39b6c636f240f13b2fce7fd36d7e))
* update class documentation ([35ce549](https://github.com/energywebfoundation/passport-did-auth/commit/35ce54954bcca71959f405b50cbc64de0f39916b))
* update docs for loginstrategy ([b5c9afe](https://github.com/energywebfoundation/passport-did-auth/commit/b5c9afe56b7ebcdf6ca7853c34f1b60d5c74e1ff))
* update readme ([ff781a8](https://github.com/energywebfoundation/passport-did-auth/commit/ff781a86fdc6803dc6b30367b4487009bf7ac3e2))

## [2.0.0-alpha.30](https://github.com/energywebfoundation/passport-did-auth/compare/v2.0.0-alpha.29...v2.0.0-alpha.30) (2023-03-14)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "passport-did-auth",
"version": "2.0.0-alpha.30",
"version": "2.0.0",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 70f22d8

Please sign in to comment.