Releases: JoinColony/colonyJS
Releases · JoinColony/colonyJS
v1.6.0
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.
v1.5.4
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
)
v1.5.3
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
)
v1.5.2
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
)- Fixed 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
)
v1.5.1
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
)
v1.5.0
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
)
v1.4.1
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
)
v1.4.0
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
)
v1.3.0
New features
Added colony-js-contract-loader-fs
: load contracts from the local file-system in node.
v1.2.1
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
)