Releases: daostack/arc.js_legacy
Upgrade to Arc v58
Resolves: #82
- upgrades to Arc v58, including particularly changes to reputation bootstrapping contracts
- adds contract addresses for rinkeby
- Arc.js migration script now maintains the Ganache contract addresses supplied by the DAOstack migration repo, meaning that the account addresses have changed as a result.
ContributionReward.proposeContributionReward
will now optionally take a proposal description that has already been hashed (and won't hash it). SeeProposeContributionRewardParamsdescriptionIsHashed
.- unstubs stubbed-out GenesisProtocol scheme parameters.
- removes
ContributionReward.ContributionProposal.contributionDescriptionHash
Breaking
- Ganache account addresses have changed.
- removes
ContributionReward.ContributionProposal.contributionDescriptionHash
Maintenance release
Maintenance release
- Addresses issues obtaining GP params.
- refactors internal contract wrappers class hierarchy
- addresses issue with kovan addresses not being present
Breaking
GenesisProtocol parameters daoBountyConst
, daoBountyLimit
and voteOnBehalf
are returned by getParameters
as 0 for the time-being.
Use DAOstack migrations repo to do migrations
Use DAOstack migrations repo to do migrations: See: daostack/arc.js#372
Breaking Changes
- no longer enables migrating against nets other than Ganache
Utils.getGenTokenBalance
has moved intoDAOTokenWrapper.getGenTokenBalance
- Arc.js still has its own createGenesisDao script, but it only works against Ganache
add GenesisProtocolWrapper.getThresholdForSchemeAndCreator
Addresses daostack/arc.js#368
- adds
GenesisProtocolWrapper.getThresholdForSchemeAndCreator
- renames
GenesisProtocolWrapper.getThreshold
toGenesisProtocolWrapper.getThresholdFromProposal
- improves some GenesisProtocol documentation
Breaking
- renames
GenesisProtocolWrapper.getThreshold
toGenesisProtocolWrapper.getThresholdFromProposal
Maintenance release
- #367 Fix contract truffle contract uncaching
Breaking: Also removes Utils.getTruffleArtifactForContract
which was causing a warning in Webpack:
Critical dependency: the request of a dependency is an expression
This can be obtained from the factory for the contract .ensureSolidityContract
support for new MetaMask "ethereum" provider
Pulls in: daostack/arc.js#366
- uses the new MetaMask "ethereum" provider to instantiate web3, when available (see https://medium.com/metamask/https-medium-com-metamask-breaking-change-injecting-web3-7722797916a8)
- adds a function
Utils.getUserApprovalForAccounts
for popping up the MM approve-account-sharing dialog, returning whether the user approved. - adds the ability for applications to be notified when the blockchain network id changes (via
InitializeArcOptions.watchForNetworkChanges
. - adds ability to force
Utils.getWeb3
to re-instantiate the instance of web3 (such as when using a custom-provided web3 and the networkId has changed)
Upgrade to Arc v56 with Infra
Changes
- Upgrades to Arc v56 and the new Infra architecture.
- provides wrapper classes for the new Arc reputation initialization contracts
Note
This release of Arc.js does not contain contracts deployed to mainnet, only kovan. If you need them, let us know.
Breaking
There are a number of breaking changes, described in the following PRs:
Maintenance release
- #355 - declare _vote event argument as BigNumber
- #353 - upgrade to typescript 3.x
- #352 - remove "http://" from provider Url
- #350 - Dev docs
- #349 - Always use estimateGas when computing forgeOrg gas
- #348 - use AbsoluteVote for schemes in the createGenesisDao script
- #345 - Documentation updates
Breaking
DAO.getName()
is nowDAO.name
and no longer needs to be converted to Utf8ConfigService
providerUrl
setting value must no longer include the "http://"
Enhancements to Dao.new
Adds support to DAO.new
for registering unwrapped, non-universal and non-Arc schemes (#341)
Breaking Changes
ArcWrappersByType.proposalGeneratingSchemes
andArcWrappersByType.schemes
are replaced byArcWrappersByType.universalSchemes
andArcWrappersByType.nonUniversalSchemes
IContractWrapperBase
renamed toIContractWrapper
SchemeWrapper
renamed toISchemeWrapper
HasContract
interface is removedsetParameters
andgetParametersHash
removed fromContractWrapperBase