New features
- Add
getReputation
methods toColonyClient
andColonyNetworkClient
(currently only availble for Rinkeby) (@colony/colony-js-client
)
Bug fixes
- Increase the default gas limit for colony creation.
- Define
ColonyClient.setTaskSkill
as aMultisigSender
(@colony/colony-js-client
)
Documentation
- Improve documentation for
ColonyClient.setTaskManagerPayout
(@colony/colony-js-client
)
Maintenance
- General updates for interacting with ColonyNetwork contracts.
Enhancements
- All events logged during method calls are now parsed according to their specifications on the
ContractClient
, without specifying event handlers (@colony/colony-js-adapter-ethers
,@colony/colony-js-contract-client
,@colony/colony-js-client
) - Event data in method responses is now provided in a flat format (where property names might collide) and in a format nested under the event name; e.g.
{ taskId: 1, potId: 2 }
becomes{ taskId: 1, potId: 2, TaskAdded: { taskId: 1 }, PotAdded: { potId: 2 } }
. - Event property names are now more specific (e.g.
taskId
rather thanid
) (@colony/colony-js-client
)
Documentation
- The documentation has been updated to include more information about contract events, and the event data available in method calls.
Released Thu, 05 Jul 2018 13:07:42 GMT
Features
Adapter.getTransactionReceipt
now waits for an in-progress transaction to be mined before attempting to get the receipt (@colony/colony-js-adapter-ethers
,@colony/colony-js-client
)Adapter.getTransactionReceipt
andAdapter.waitForTransaction
now accept a timeout argument (default: 5 minutes) (@colony/colony-js-adapter-ethers
)
Bug fixes
- Partial empty hex strings (e.g.
0x0
) are now padded to full-length, which resolves an issue withEthersAdapter
(@colony/colony-js-contract-client
) - The
isEmptyHexString
utility function now evaluates the input type (@colony/colony-js-utils
)
Maintenance
- Add extra validation for
ColonyClient.createTask
; the given domain ID for the task is now confirmed to exist before proceeding (@colony/colony-js-client
) - Default values for methods are now specified separately from the parameters; this simplfies the parameter conversion (
@colony/colony-js-contract-client
) - Add a
DomainAdded
event, which is emitted when callingColonyClient.addDomain
(@colony/colony-js-client
) - Add a
PotAdded
event, which is emitted when callingColonyClient.addDomain
andColonyClient.createTask
(@colony/colony-js-client
) - Add the
TaskDeliverableSubmitted
andTaskWorkRatingRevealed
events, which are available to listen on viaColonyClient.events
(@colony/colony-js-client
)
Bug fixes
- Remove the
address
property of theWallet
interface, because it is not universal (@colony/colony-js-adapter
) - Clarify that the
getAddress
method of theWallet
interface is asynchronous - Use the
getAddress
method to get the current address when signing multisig operations (@colony/colony-js-contract-client
) - Add a
hexString
type to fix the type conversion of the secret created bygenerateSecret
(@colony/colony-js-contract-client
,@colony/colony-js-client
)
Released Tue, 21 June 2018 15:36:06 GMT
Bug fixes
getTokenInfo
won't throw anymore if one of the propertiessymbol
,name
ordecimals
is not implemented on the token contract. Instead it will just reportnull
for the values which are not defined (@colony/colony-js-client
)- Fix a bug where
authority.getUserRole
would only reportnull
for every role by converting the output values from hex numbers first (@colony/colony-js-client
)
Documentation
- Clarified the naming of parameters involving token addresses (
@colony/colony-js-contract-client
,@colony/colony-js-client
)
Bug fixes
- Actually wait for transaction receipt in Token contract deployment. This fixes issues with real-life environments like testnets or mainnet (
@colony/colony-js-client
)
Released Tue, 19 June 2018 12:01:38 GMT
New features
- Add
getTokenInfo
caller toTokenClient
to get the token'sname
,symbol
anddecimals
(@colony/colony-js-contract-client
,@colony/colony-js-client
)
Enhancements
- Wait for in-progress transactions when getting the transaction receipt (
@colony/colony-js-contract-client
,@colony/colony-js-adapter-ethers
) - Made the default timeout for sending transactions dependent on the network: 1 hour for mainnet, 5 minutes otherwise (
@colony/colony-js-contract-client
)
Bug fixes
- Enabled the
networkId
to be passed from the contract loading query through to the loader transform function; reintroduced support for specifying thenetworkId
intruffleTransform
(@colony/colony-js-contract-loader
)
New features
- Added new
ContractEvent
events subscription toContractClient
, allowing for simple events subscription (@colony/colony-js-contract-client
) - Added new task lifecycle events to
ColonyClient
, using new event subscriptions (@colony/colony-js-contract-client
) - Added support for sending multisig operations for tasks with one signature alone (when no other signatures are required) (
@colony/colony-js-client
) - Added support for per-task nonce values for multisig operations; multisig operations can now be run in parallel (for different tasks) (
@colony/colony-js-client
) - Added
TokenClient
, a means of interacting with a colony's token contract (@colony/colony-js-client
) - Added
AuthorityClient
, a means of interacting with a colony's authority contract (@colony/colony-js-client
) - Get
token
andauthority
when initializing aColonyClient
(@colony/colony-js-client
)
Enhancements
- Refactored contract parameter validation and conversion to allow for events subscriptions (
@colony/colony-js-contract-client
) - Refactored the contracts interface and
EthersContract
to allow for events subscription with optional transaction hashes (@colony/colony-js-adapter
,@colony/colony-js-adapter-ethers
) - Ignore parameters that aren't in the spec when validating parameters (
@colony/colony-js-contract-client
)
Documentation
- Specify which users can call
addGlobalSkill
,addDomain
,setTaskRoleUser
,setTaskDomain
andsetTaskSkill
(@colony/colony-js-client
)
New features
Added colony-js-contract-loader-fs
: load contracts from the local file-system in node.
Documentation
- Updated 'Getting Started', removed 'Quickstart' and reordered sections
Enhancements
- Validation errors in contract methods now contain the method name (
@colony/colony-js-contract-client
) - Add a
release
command for the project, streamlined prepublish hooks, simplified and improved babel config
Bug fixes
- Fixed a bug where methods with default values were not validated properly (
@colony/colony-js-contract-client
) - Fixed a bug where timestamps were not converted correctly (
@colony/colony-js-contract-client
)
Enhancements
- New
ipfsHash
parameter type, to more easily store/retrieve IPFS hashes from the contracts (@colony/colony-js-contract-client
) - Implement the
ipfsHash
type inColonyClient
:getTask
,createTask
,submitTaskDeliverable
,setTaskBrief
(@colony/colony-js-client
) - Add a
date
parameter type and implement it inColonyClient
:getTask
,getTaskWorkRatings
,setTaskDueDate
(@colony/colony-js-client
) - Add a default value (1) for
ColonyClient.createTask
(@colony/colony-js-client
)
Bug fixes
- Ensure that the returned values in
ColonyClient.getTask
were handled properly (@colony/colony-js-client
) - Clean 'empty' hex strings for IPFS hash output validation (
@colony/colony-js-contract-client
)
Documentation
- Updated the Quickstart and Get Started documentation; these guides now show how to use an
ethers
wallet, userequire
statements overimport
, and provide some additional information about prerequisites.
Bug fixes
- Define the
defaultGasLimit
property of Senders as a number as opposed to aBigNumber
(@colony/colony-js-contract-client
)
Enhancements
- The nonce value is now carried through when serializing and restoring MultisigOperations (
@colony/colony-js-contract-client)
Maintenance
- Update
ethers
to3.0.17
(@colony/colony-js-adapter-ethers)
- Use
fixed
mode inlerna.json
(see here)
Bug fixes
- Fix
ROLES
values to reflect contracts (@colony/colony-js-client
) - Fixed a bug where
MultisigOperation
s erroneously had required signees reset upon restoring an operation (@colony/colony-js-contract-client)
- Bumped versions of packages/interdependencies
Bug fixes
- Fixed the documentation site link in the
README
- Fixed a bug where string input values were not converted properly (
@colony/colony-js-contract-client
)
Documentation
- General documentation updates
- Added automatic documentation generation for
@colony/colony-js-client
(yarn build:docs
, also runs on precommit hook)
New features
- Added method
ColonyNetworkClient.getMetaColonyClient
- Added Caller
ColonyClient.getDomain
- Added
bignumber
parameter type for contract methods - Added
role
parameter type for contract methods - Added declarative parameter type mapping for contract methods, and
addParamType
method
Enhancements
- Better handling for empty values from contracts; e.g. addresses reported as '0x000...0' are cleaned as
null
- Failed validation reasons are now added to error messages
- Updated
ColonyNetworkClient
/ColonyClient
to matchcolonyNetwork
- Upon starting or restoring a
MultisigOperation
, the operation is refreshed to get the latest values - Removed separate error/success contract event handling
Bug fixes
- Fixed a bug where the isBigNumber utility function didn't look for the correct property in ethers-ified BigNumbers
- Add
babel-runtime dependency
Released Tue, 22 May 2018 17:19:06 GMT
- First release.