diff --git a/CHANGELOG.md b/CHANGELOG.md index 91db8d9..b842010 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,36 @@ -# [0.17.0](https://github.com/AraBlocks/ara-contracts/compare/0.3.0...0.17.0) (2019-01-02) +# [0.18.0](https://github.com/AraBlocks/ara-contracts/compare/0.16.0...0.18.0) (2019-01-03) + + +### Bug Fixes + +* added quiet mode ganache ([525b781](https://github.com/AraBlocks/ara-contracts/commit/525b781)) +* attempting disabling quiet mode ([e1106df](https://github.com/AraBlocks/ara-contracts/commit/e1106df)) +* convert test AFS owner to new privatenet account ([a1513a3](https://github.com/AraBlocks/ara-contracts/commit/a1513a3)) +* downgrade truffle ([4460a39](https://github.com/AraBlocks/ara-contracts/commit/4460a39)) +* downgrade truffle ([5e16a60](https://github.com/AraBlocks/ara-contracts/commit/5e16a60)) +* forgot pk in constants, added new fixture ([c2de479](https://github.com/AraBlocks/ara-contracts/commit/c2de479)) +* lint ([7b55418](https://github.com/AraBlocks/ara-contracts/commit/7b55418)) +* lint ([ed2833f](https://github.com/AraBlocks/ara-contracts/commit/ed2833f)) +* PR comments ([f867ca4](https://github.com/AraBlocks/ara-contracts/commit/f867ca4)) +* update privatenet deploy account to accomodate mnemonic seed change ([70f055f](https://github.com/AraBlocks/ara-contracts/commit/70f055f)) +* update registry test paths ([6970052](https://github.com/AraBlocks/ara-contracts/commit/6970052)) +* update registry test paths ([c9d5904](https://github.com/AraBlocks/ara-contracts/commit/c9d5904)) +* updated test constants ([a6955c3](https://github.com/AraBlocks/ara-contracts/commit/a6955c3)) +* use dash instead of camel case in CLI ([10242bb](https://github.com/AraBlocks/ara-contracts/commit/10242bb)) + + +### Features + +* migrate privatenet works ([b04b009](https://github.com/AraBlocks/ara-contracts/commit/b04b009)) +* migrate privatenet works ([f11c93a](https://github.com/AraBlocks/ara-contracts/commit/f11c93a)) +* separate compilation and deployment ([9e806f1](https://github.com/AraBlocks/ara-contracts/commit/9e806f1)) +* separate compilation and deployment ([8a7f230](https://github.com/AraBlocks/ara-contracts/commit/8a7f230)) +* start ara factory ([2df8d59](https://github.com/AraBlocks/ara-contracts/commit/2df8d59)) +* wip ([9392b4c](https://github.com/AraBlocks/ara-contracts/commit/9392b4c)) + + + +# [0.16.0](https://github.com/AraBlocks/ara-contracts/compare/0.3.0...0.16.0) (2018-12-19) ### Bug Fixes @@ -8,63 +40,57 @@ * add jobID tohex ([f9ec4e2](https://github.com/AraBlocks/ara-contracts/commit/f9ec4e2)) * add return value to README ([e106b79](https://github.com/AraBlocks/ara-contracts/commit/e106b79)) * add version aliases ([74814a0](https://github.com/AraBlocks/ara-contracts/commit/74814a0)) -* added quiet mode ganache ([cfe0741](https://github.com/AraBlocks/ara-contracts/commit/cfe0741)) * address PR comments ([5505832](https://github.com/AraBlocks/ara-contracts/commit/5505832)) -* attempting disabling quiet mode ([a59a49b](https://github.com/AraBlocks/ara-contracts/commit/a59a49b)) * check the correct value ([c6a42d9](https://github.com/AraBlocks/ara-contracts/commit/c6a42d9)) * constants ([a26bed8](https://github.com/AraBlocks/ara-contracts/commit/a26bed8)) -* convert test AFS owner to new privatenet account ([9ab76e4](https://github.com/AraBlocks/ara-contracts/commit/9ab76e4)) +* **.npmignore:** revert bin/ and lib/ in npmignore ([392288e](https://github.com/AraBlocks/ara-contracts/commit/392288e)) * deploy standard during migration ([acefd34](https://github.com/AraBlocks/ara-contracts/commit/acefd34)) -* forgot pk in constants, added new fixture ([1948c63](https://github.com/AraBlocks/ara-contracts/commit/1948c63)) * increase timeout ([b09e898](https://github.com/AraBlocks/ara-contracts/commit/b09e898)) * issue [#85](https://github.com/AraBlocks/ara-contracts/issues/85) ([614ec5d](https://github.com/AraBlocks/ara-contracts/commit/614ec5d)) +* **.npmignore:** revert migrations, installed_contracts in ignore ([d5aef2d](https://github.com/AraBlocks/ara-contracts/commit/d5aef2d)) +* **build/*:** revert ABIs ([840cf83](https://github.com/AraBlocks/ara-contracts/commit/840cf83)) +* **constants.js:** lint it up ([c061587](https://github.com/AraBlocks/ara-contracts/commit/c061587)) +* **constants.js:** remove chainIds from address switch ([1a44cc3](https://github.com/AraBlocks/ara-contracts/commit/1a44cc3)) +* **constants.js:** revert privatenet addresses ([8e9ff24](https://github.com/AraBlocks/ara-contracts/commit/8e9ff24)) +* **migrations/2_deploy_contracts.js:** allow local truffle deployments ([0835298](https://github.com/AraBlocks/ara-contracts/commit/0835298)) +* **migrations/2_deploy_contracts.js:** fix undefined ctx in deploy ([13378e1](https://github.com/AraBlocks/ara-contracts/commit/13378e1)) +* **purchase.js:** accounted for budget == 0 for estimate ([#159](https://github.com/AraBlocks/ara-contracts/issues/159)) ([69dcf12](https://github.com/AraBlocks/ara-contracts/commit/69dcf12)) +* **scripts/test:** downgrade solc compiler for truffle ([fc762f0](https://github.com/AraBlocks/ara-contracts/commit/fc762f0)) * library tests ([7e20d63](https://github.com/AraBlocks/ara-contracts/commit/7e20d63)) -* lint ([7f9396c](https://github.com/AraBlocks/ara-contracts/commit/7f9396c)) -* lint ([bff4ded](https://github.com/AraBlocks/ara-contracts/commit/bff4ded)) -* lint ([4cdc00e](https://github.com/AraBlocks/ara-contracts/commit/4cdc00e)) -* lint ([0a5ff7d](https://github.com/AraBlocks/ara-contracts/commit/0a5ff7d)) -* lint ([94c0977](https://github.com/AraBlocks/ara-contracts/commit/94c0977)) -* lint ([08646ab](https://github.com/AraBlocks/ara-contracts/commit/08646ab)) * lint ([e4eceec](https://github.com/AraBlocks/ara-contracts/commit/e4eceec)) * lint ([95e9c7d](https://github.com/AraBlocks/ara-contracts/commit/95e9c7d)) * lint ([7d90f9e](https://github.com/AraBlocks/ara-contracts/commit/7d90f9e)) * lint ([c52b6ba](https://github.com/AraBlocks/ara-contracts/commit/c52b6ba)) +* lint ([7f9396c](https://github.com/AraBlocks/ara-contracts/commit/7f9396c)) +* lint ([bff4ded](https://github.com/AraBlocks/ara-contracts/commit/bff4ded)) +* lint ([0a5ff7d](https://github.com/AraBlocks/ara-contracts/commit/0a5ff7d)) +* lint ([08646ab](https://github.com/AraBlocks/ara-contracts/commit/08646ab)) +* lint ([4cdc00e](https://github.com/AraBlocks/ara-contracts/commit/4cdc00e)) * lint ([daf3f9d](https://github.com/AraBlocks/ara-contracts/commit/daf3f9d)) +* lint ([94c0977](https://github.com/AraBlocks/ara-contracts/commit/94c0977)) * local network support in constants ([a4b8f19](https://github.com/AraBlocks/ara-contracts/commit/a4b8f19)) * missed a variable ([33e4dac](https://github.com/AraBlocks/ara-contracts/commit/33e4dac)) * missed a word ([f1bd021](https://github.com/AraBlocks/ara-contracts/commit/f1bd021)) -* **.npmignore:** revert bin/ and lib/ in npmignore ([392288e](https://github.com/AraBlocks/ara-contracts/commit/392288e)) -* **.npmignore:** revert migrations, installed_contracts in ignore ([d5aef2d](https://github.com/AraBlocks/ara-contracts/commit/d5aef2d)) -* **build/*:** revert ABIs ([840cf83](https://github.com/AraBlocks/ara-contracts/commit/840cf83)) -* **constants.js:** lint it up ([c061587](https://github.com/AraBlocks/ara-contracts/commit/c061587)) -* **constants.js:** remove chainIds from address switch ([1a44cc3](https://github.com/AraBlocks/ara-contracts/commit/1a44cc3)) -* **constants.js:** revert privatenet addresses ([8e9ff24](https://github.com/AraBlocks/ara-contracts/commit/8e9ff24)) -* **migrations/2_deploy_contracts.js:** allow local truffle deployments ([0835298](https://github.com/AraBlocks/ara-contracts/commit/0835298)) -* **migrations/2_deploy_contracts.js:** fix undefined ctx in deploy ([13378e1](https://github.com/AraBlocks/ara-contracts/commit/13378e1)) -* rewards test ([4edec35](https://github.com/AraBlocks/ara-contracts/commit/4edec35)) -* **purchase.js:** accounted for budget == 0 for estimate ([#159](https://github.com/AraBlocks/ara-contracts/issues/159)) ([69dcf12](https://github.com/AraBlocks/ara-contracts/commit/69dcf12)) * pass in owner still for allowance, bump ara-identity to 0.30.x ([b152283](https://github.com/AraBlocks/ara-contracts/commit/b152283)) * remove async in promise ([733d17f](https://github.com/AraBlocks/ara-contracts/commit/733d17f)) * remove logs ([f23c4ed](https://github.com/AraBlocks/ara-contracts/commit/f23c4ed)) * remove owner being passed into ara-util.validate ([7cd9aad](https://github.com/AraBlocks/ara-contracts/commit/7cd9aad)) * remove unused verbose option ([584261f](https://github.com/AraBlocks/ara-contracts/commit/584261f)) * revert contracts/ ignore, ara-identity 0.34.x => 0.37.x ([73317cb](https://github.com/AraBlocks/ara-contracts/commit/73317cb)) +* rewards test ([4edec35](https://github.com/AraBlocks/ara-contracts/commit/4edec35)) * should fix travis ([68b67fc](https://github.com/AraBlocks/ara-contracts/commit/68b67fc)) * test order ([19c5d78](https://github.com/AraBlocks/ara-contracts/commit/19c5d78)) * test script ([7868e36](https://github.com/AraBlocks/ara-contracts/commit/7868e36)) -* travis ([79870a8](https://github.com/AraBlocks/ara-contracts/commit/79870a8)) -* **scripts/test:** downgrade solc compiler for truffle ([fc762f0](https://github.com/AraBlocks/ara-contracts/commit/fc762f0)) * tests ([387ac8c](https://github.com/AraBlocks/ara-contracts/commit/387ac8c)) +* **storage.js:** remove comment ([7302568](https://github.com/AraBlocks/ara-contracts/commit/7302568)) +* **storage.js:** remove storage falsy checks ([8bd3ced](https://github.com/AraBlocks/ara-contracts/commit/8bd3ced)) +* **test/token.js:** remove duplicate test ([9b041da](https://github.com/AraBlocks/ara-contracts/commit/9b041da)) * travis ([3cfc45b](https://github.com/AraBlocks/ara-contracts/commit/3cfc45b)) * travis ([2e20dbb](https://github.com/AraBlocks/ara-contracts/commit/2e20dbb)) +* travis ([79870a8](https://github.com/AraBlocks/ara-contracts/commit/79870a8)) * travis? ([db5a541](https://github.com/AraBlocks/ara-contracts/commit/db5a541)) * uncomment non-storage tests ([88d7890](https://github.com/AraBlocks/ara-contracts/commit/88d7890)) -* update privatenet deploy account to accomodate mnemonic seed change ([430d613](https://github.com/AraBlocks/ara-contracts/commit/430d613)) -* updated test constants ([0d8edce](https://github.com/AraBlocks/ara-contracts/commit/0d8edce)) * wrap bc events in promises ([510d235](https://github.com/AraBlocks/ara-contracts/commit/510d235)) -* **storage.js:** remove comment ([7302568](https://github.com/AraBlocks/ara-contracts/commit/7302568)) -* **storage.js:** remove storage falsy checks ([8bd3ced](https://github.com/AraBlocks/ara-contracts/commit/8bd3ced)) -* **test/token.js:** remove duplicate test ([9b041da](https://github.com/AraBlocks/ara-contracts/commit/9b041da)) ### Features @@ -73,11 +99,13 @@ * contracts storage interface ([123a701](https://github.com/AraBlocks/ara-contracts/commit/123a701)) * fixes [#140](https://github.com/AraBlocks/ara-contracts/issues/140) ([e56b76d](https://github.com/AraBlocks/ara-contracts/commit/e56b76d)) * getJobOwner ([5b0f8bf](https://github.com/AraBlocks/ara-contracts/commit/5b0f8bf)) -* **package.json:** added shipright cmd to version hook ([ca12fd3](https://github.com/AraBlocks/ara-contracts/commit/ca12fd3)) * index event parameters ([f5ceec8](https://github.com/AraBlocks/ara-contracts/commit/f5ceec8)) * rename commerce to ownership ([b2a60aa](https://github.com/AraBlocks/ara-contracts/commit/b2a60aa)) +* **package.json:** added shipright cmd to version hook ([ca12fd3](https://github.com/AraBlocks/ara-contracts/commit/ca12fd3)) * show help if command provided is not valid ([c9eea56](https://github.com/AraBlocks/ara-contracts/commit/c9eea56)) +* start ara factory ([906d14f](https://github.com/AraBlocks/ara-contracts/commit/906d14f)) * storage isEmpty wip ([04e643a](https://github.com/AraBlocks/ara-contracts/commit/04e643a)) +* wip ([d4bb1a8](https://github.com/AraBlocks/ara-contracts/commit/d4bb1a8)) * **purchase.js:** Added estimate opt for purchasing ([#154](https://github.com/AraBlocks/ara-contracts/issues/154)) ([cdb511a](https://github.com/AraBlocks/ara-contracts/commit/cdb511a)) * **rewards.js:** estimaate option for redeem rewards balance ([63ef04a](https://github.com/AraBlocks/ara-contracts/commit/63ef04a)) * **storage.js:** checking if an AFS has been committed to ([31f7d97](https://github.com/AraBlocks/ara-contracts/commit/31f7d97)) diff --git a/docs/CLI-README.md b/docs/CLI-README.md index 87dbce4..334d3dc 100644 --- a/docs/CLI-README.md +++ b/docs/CLI-README.md @@ -46,11 +46,18 @@ usage: act deploy: [-h] [--help] |-v, --version, -V|Show version number|| +#### Positionals +| Flag(s) | Description | Type | +|--|--|--| +|did|The DID of the AFS master account|string| + + + #### Subcommands | Subcommand | Description | |--|--| |act-deploy proxy|Deploy a proxy contract for | -|act-deploy standard|Deploy a new AFS standard | +|act-deploy standard|Deploy a new AFS standard| ### act-deploy proxy(1) @@ -62,7 +69,7 @@ Deploy a proxy contract for #### Usage ```sh -act-deploy proxy [options] +act-deploy proxy [options] ``` #### Options @@ -72,7 +79,8 @@ act-deploy proxy [options] |-contracts, -D, --debug||:*')| |-s, --secret|Shared secret for the keyring|| |-n, --network|Network name of the key for the DID resolver in the keyring [string]|| -|-u, --upgrade|Flag to indicate upgrade to || +|-v, --version, -V|Show version number|| +|-name, -u, --upgrade|[boolean]|>| |-f, --force|Bypass password input, must also pass in password.|| |-p, --password|Password for DID|| @@ -81,7 +89,7 @@ act-deploy proxy [options] | Flag(s) | Description | Type | |--|--|--| |did|The content DID for this proxy|string| -|V, version, v|The version name of the AFS standard to use with this proxy|string required| +|version-name|The version name of the AFS standard to use with this proxy|string required| @@ -90,12 +98,12 @@ act-deploy proxy [options] #### Abstract -Deploy a new AFS standard +Deploy a new AFS standard #### Usage ```sh -act-deploy standard [options] +act-deploy standard [options] ``` #### Options @@ -105,6 +113,7 @@ act-deploy standard [options] |-contracts, -D, --debug||:*')| |-s, --secret|Shared secret for the keyring|| |-n, --network|Network name of the key for the DID resolver in the keyring [string]|| +|-v, --version, -V|Show version number|| |-f, --force|Bypass password input, must also pass in password.|| |-p, --password|Password for DID|| @@ -113,7 +122,7 @@ act-deploy standard [options] | Flag(s) | Description | Type | |--|--|--| |did|The registry contract owner DID|string| -|V, version, v|The version name of the new AFS standard|string| +|version-name|The version name of the new AFS standard|string| |pathspec|Paths to the solidity dependencies(s) of AFS.sol|array required default: | diff --git a/package.json b/package.json index 00c8742..2a3fbff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ara-contracts", - "version": "0.17.0", + "version": "0.18.0", "description": "Ara Contract Module - DCDN and AFS blockchain integration.", "main": "index.js", "bin": {