Skip to content

Releases: daostack/arc.js_legacy

Upgrade to Arc v58

27 Dec 15:37
f52bf1d
Compare
Choose a tag to compare
Upgrade to Arc v58 Pre-release
Pre-release

PR: daostack/arc.js#382

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). See ProposeContributionRewardParamsdescriptionIsHashed.
  • unstubs stubbed-out GenesisProtocol scheme parameters.
  • removes ContributionReward.ContributionProposal.contributionDescriptionHash

Breaking

  • Ganache account addresses have changed.
  • removes ContributionReward.ContributionProposal.contributionDescriptionHash

Maintenance release

01 Dec 13:34
fc98124
Compare
Choose a tag to compare
Maintenance release Pre-release
Pre-release

Maintenance release

29 Nov 17:59
9b258aa
Compare
Choose a tag to compare
Maintenance release Pre-release
Pre-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

21 Nov 00:55
e9c158e
Compare
Choose a tag to compare

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 into DAOTokenWrapper.getGenTokenBalance
  • Arc.js still has its own createGenesisDao script, but it only works against Ganache

add GenesisProtocolWrapper.getThresholdForSchemeAndCreator

06 Nov 23:33
70a37cb
Compare
Choose a tag to compare

Addresses daostack/arc.js#368

  • adds GenesisProtocolWrapper.getThresholdForSchemeAndCreator
  • renames GenesisProtocolWrapper.getThreshold to GenesisProtocolWrapper.getThresholdFromProposal
  • improves some GenesisProtocol documentation

Breaking

  • renames GenesisProtocolWrapper.getThreshold to GenesisProtocolWrapper.getThresholdFromProposal

Maintenance release

01 Nov 14:11
a906cba
Compare
Choose a tag to compare
Maintenance release Pre-release
Pre-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

29 Oct 18:34
5b3023b
Compare
Choose a tag to compare

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

25 Oct 18:44
8a41450
Compare
Choose a tag to compare
Pre-release

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

21 Sep 18:29
7c58438
Compare
Choose a tag to compare
Maintenance release Pre-release
Pre-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 now DAO.name and no longer needs to be converted to Utf8
  • ConfigService providerUrl setting value must no longer include the "http://"

Enhancements to Dao.new

30 Aug 17:46
db38d89
Compare
Choose a tag to compare
Pre-release

Adds support to DAO.new for registering unwrapped, non-universal and non-Arc schemes (#341)

Breaking Changes

  • ArcWrappersByType.proposalGeneratingSchemes and ArcWrappersByType.schemes are replaced by ArcWrappersByType.universalSchemes and ArcWrappersByType.nonUniversalSchemes
  • IContractWrapperBase renamed to IContractWrapper
  • SchemeWrapper renamed to ISchemeWrapper
  • HasContract interface is removed
  • setParameters and getParametersHash removed from ContractWrapperBase