-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Changed package name from `ocapld` to `@digitalbazaar/zcapld`.
- Loading branch information
Showing
9 changed files
with
157 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
# ocapld ChangeLog | ||
|
||
### Note | ||
- **BREAKING**: Changed package name from `ocapld` to `@digitalbazaar/zcapld`. | ||
- See the [`zcapld` changelog](./CHANGELOG.md) for newer changes. | ||
|
||
## 2.0.0 - 2020-04-02 | ||
|
||
### Changed | ||
- **BREAKING**: An `invocationTarget` must be specified in all delegations. | ||
- Improve test coverage. | ||
|
||
### Fixed | ||
- Properly validate `allowedAction` in capabilities. | ||
|
||
### Added | ||
- Add verification of `expires` as a core feature. | ||
- Add the ability to specificy a `maxChainLength` when verifying capability | ||
delegations. | ||
- Add an optional `allowTargetAttenuation` flag which allows the | ||
`invocationTarget` of a delegation chain to be increasingly restrictive | ||
based on a hierarchical RESTful URL structure. | ||
|
||
## 1.8.0 - 2020-02-14 | ||
|
||
### Changed | ||
|
||
- Use jsonld-signatures@5. | ||
|
||
## 1.7.0 - 2020-02-07 | ||
|
||
### Added | ||
- Implement validation for embedded capabilities in `capabilityChain`. | ||
|
||
## 1.6.1 - 2020-01-30 | ||
|
||
### Fixed | ||
- Adjust the parameters to `inspectCapabilityChain` to support more general | ||
use cases. See in-line documentation for parameter details. | ||
|
||
## 1.6.0 - 2020-01-29 | ||
|
||
### Added | ||
- Add an optional `inspectCapabilityChain` parameter to `CapabilityDelegation` | ||
and `CapabilityInvocation`. `inspectCapabilityChain` must be an async | ||
function used to check the capability chain. It can, for instance, be used | ||
to find revocations related to any of the capabilities in the chain. | ||
|
||
## 1.5.1 - 2020-01-29 | ||
|
||
### Fixed | ||
- Address issues in `verifyCapabilityChain` helper that resulted in some | ||
proofs not being properly verified. | ||
|
||
## 1.5.0 - 2020-01-09 | ||
|
||
### Added | ||
- Support multiple values for `expectedTarget` and `expectedRootCapability` | ||
for use cases such as where capabilities are given for reading/writing | ||
any item in a collection instead of only individual items. | ||
|
||
## 1.4.0 - 2019-10-08 | ||
|
||
### Changed | ||
- Use [email protected] Use with support for Node 12 native Ed25519 | ||
crypto. | ||
|
||
## 1.3.1 - 2019-08-11 | ||
|
||
### Fixed | ||
- Handle case where a capability lists list multiple | ||
controllers/invokers/delegators. | ||
|
||
## 1.3.0 - 2019-07-17 | ||
|
||
### Added | ||
- Add `expectedRootCapability` to allow a root capability to | ||
specify an `invocationTarget` different from its `id`. This | ||
allows zcaps to be used to manage authority for resources | ||
that cannot express their own zcap authority information | ||
such as binary files or resources that use JSON or JSON-LD | ||
but, for whatever reason, cannot express `controller`, | ||
`invoker`, `delegator`, or key information. | ||
|
||
## 1.2.1 - 2019-06-29 | ||
|
||
### Fixed | ||
- Check `allowedAction` against expected `capabilityAction`. | ||
- Fix expected action check. | ||
- Fix capability chain check. | ||
- Ensure root caps are dereferenced and have a valid target. | ||
- Handle case where `invocationTarget` is an object. | ||
|
||
## 1.2.0 - 2019-05-17 | ||
|
||
### Added | ||
- Support `controller` on capabilities as `delegator` and `invoker`. | ||
|
||
### Changed | ||
- Update webpack and babel. | ||
- Switch to eslint. | ||
|
||
## 1.1.0 - 2019-03-27 | ||
|
||
### Changed | ||
- Upgrade jsonld-signatures to version 4. | ||
|
||
## 1.0.2 - 2019-01-03 | ||
|
||
### Fixed | ||
- Change jsonld-signatures to a regular dependency. | ||
|
||
## 1.0.1 - 2019-01-03 | ||
|
||
### Fixed | ||
- Distribute webpack built dist files. | ||
|
||
## 1.0.0 - 2019-01-03 | ||
|
||
### Changed | ||
- Use webpack 'externals' for jsonld and jsonld-signatures. | ||
|
||
## 0.1.0 - 2019-01-02 | ||
- Initial release. | ||
- See git history for changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# ocapld ChangeLog | ||
# @digitalbazaar/zcapld ChangeLog | ||
|
||
### Changed | ||
- **BREAKING**: Changed package name from `ocapld` to `@digitalbazaar/zcapld`. | ||
- Resetting version to `1.0.0`. | ||
- **BREAKING**: Only support Node.js >=12. | ||
- Update dependencies. | ||
- Use new `@digitalbazaar/ed25519-signature-2018` and | ||
|
@@ -14,122 +16,6 @@ | |
- **BREAKING**: Remove `bitcore-message` dependency. It's for a specialized use | ||
case. | ||
|
||
## 2.0.0 - 2020-04-02 | ||
|
||
### Changed | ||
- **BREAKING**: An `invocationTarget` must be specified in all delegations. | ||
- Improve test coverage. | ||
|
||
### Fixed | ||
- Properly validate `allowedAction` in capabilities. | ||
|
||
### Added | ||
- Add verification of `expires` as a core feature. | ||
- Add the ability to specificy a `maxChainLength` when verifying capability | ||
delegations. | ||
- Add an optional `allowTargetAttenuation` flag which allows the | ||
`invocationTarget` of a delegation chain to be increasingly restrictive | ||
based on a hierarchical RESTful URL structure. | ||
|
||
## 1.8.0 - 2020-02-14 | ||
|
||
### Changed | ||
|
||
- Use jsonld-signatures@5. | ||
|
||
## 1.7.0 - 2020-02-07 | ||
|
||
### Added | ||
- Implement validation for embedded capabilities in `capabilityChain`. | ||
|
||
## 1.6.1 - 2020-01-30 | ||
|
||
### Fixed | ||
- Adjust the parameters to `inspectCapabilityChain` to support more general | ||
use cases. See in-line documentation for parameter details. | ||
|
||
## 1.6.0 - 2020-01-29 | ||
|
||
### Added | ||
- Add an optional `inspectCapabilityChain` parameter to `CapabilityDelegation` | ||
and `CapabilityInvocation`. `inspectCapabilityChain` must be an async | ||
function used to check the capability chain. It can, for instance, be used | ||
to find revocations related to any of the capabilities in the chain. | ||
|
||
## 1.5.1 - 2020-01-29 | ||
|
||
### Fixed | ||
- Address issues in `verifyCapabilityChain` helper that resulted in some | ||
proofs not being properly verified. | ||
|
||
## 1.5.0 - 2020-01-09 | ||
|
||
### Added | ||
- Support multiple values for `expectedTarget` and `expectedRootCapability` | ||
for use cases such as where capabilities are given for reading/writing | ||
any item in a collection instead of only individual items. | ||
|
||
## 1.4.0 - 2019-10-08 | ||
|
||
### Changed | ||
- Use [email protected] Use with support for Node 12 native Ed25519 | ||
crypto. | ||
|
||
## 1.3.1 - 2019-08-11 | ||
|
||
### Fixed | ||
- Handle case where a capability lists list multiple | ||
controllers/invokers/delegators. | ||
|
||
## 1.3.0 - 2019-07-17 | ||
|
||
### Added | ||
- Add `expectedRootCapability` to allow a root capability to | ||
specify an `invocationTarget` different from its `id`. This | ||
allows zcaps to be used to manage authority for resources | ||
that cannot express their own zcap authority information | ||
such as binary files or resources that use JSON or JSON-LD | ||
but, for whatever reason, cannot express `controller`, | ||
`invoker`, `delegator`, or key information. | ||
|
||
## 1.2.1 - 2019-06-29 | ||
|
||
### Fixed | ||
- Check `allowedAction` against expected `capabilityAction`. | ||
- Fix expected action check. | ||
- Fix capability chain check. | ||
- Ensure root caps are dereferenced and have a valid target. | ||
- Handle case where `invocationTarget` is an object. | ||
|
||
## 1.2.0 - 2019-05-17 | ||
|
||
### Added | ||
- Support `controller` on capabilities as `delegator` and `invoker`. | ||
|
||
### Changed | ||
- Update webpack and babel. | ||
- Switch to eslint. | ||
|
||
## 1.1.0 - 2019-03-27 | ||
|
||
### Changed | ||
- Upgrade jsonld-signatures to version 4. | ||
|
||
## 1.0.2 - 2019-01-03 | ||
|
||
### Fixed | ||
- Change jsonld-signatures to a regular dependency. | ||
|
||
## 1.0.1 - 2019-01-03 | ||
|
||
### Fixed | ||
- Distribute webpack built dist files. | ||
|
||
## 1.0.0 - 2019-01-03 | ||
|
||
### Changed | ||
- Use webpack 'externals' for jsonld and jsonld-signatures. | ||
|
||
## 0.1.0 - 2019-01-02 | ||
- Initial release. | ||
- See git history for changes. | ||
### Previous ocapld ChangeLog | ||
- This package was renamed from `ocapld`. | ||
See the [`ocapld` changelog](./CHANGELOG-ocapld.md) for earlier changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
{ | ||
"name": "ocapld", | ||
"name": "@digitalbazaar/zcapld", | ||
"version": "2.0.1-0", | ||
"description": "Linked Data Capabilities reference implementation.", | ||
"homepage": "https://github.com/digitalbazaar/ocapld.js/", | ||
"homepage": "https://github.com/digitalbazaar/zcapld", | ||
"author": { | ||
"name": "Digital Bazaar, Inc.", | ||
"email": "[email protected]", | ||
"url": "https://digitalbazaar.com/" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/digitalbazaar/ocapld.js" | ||
"url": "https://github.com/digitalbazaar/zcapld" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/digitalbazaar/ocapld.js/issues/" | ||
"url": "https://github.com/digitalbazaar/zcapld/issues/" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"main": "lib/index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.