Skip to content

Aragon Govern Developer Preview 2

Pre-release
Pre-release
Compare
Choose a tag to compare
@bpierre bpierre released this 10 Nov 13:16
· 73 commits to master since this release

Aragon Govern Developer Preview 2 lands with improvements and fixes across the board. The main ones to check out are:

  • The console receives some new features, like interacting with individual actions, and gets several UX enhancements.
  • The subgraph has a much richer API resulting from the latest smart contract changes, and a few bugs have been fixed.

Check out all the changes below!

As it is a preview release, it's not expected to be stable, and contracts have not been audited, so please withhold risking significant funds on the contracts.

On upgrading

Important: the previous release was mistakenly published on npm using the 1.0.1-beta.0 version instead of 1.0.0-beta.1. Using this new version requires to manually upgrade the following packages:

erc3k
@aragon/govern-contract-utils
@aragon/govern-core
@aragon/govern-create
@aragon/govern-token
@aragon/govern

The incorrect versions are going to be removed from npm. Please accept our apologies for the inconvenience, and do not hesitate to contact us if you have any question.

Please follow these steps to upgrade an existing project:

  1. Edit package.json and set the version to "^1.0.0-beta.2".
  2. Delete yarn.lock and node_modules.
  3. Reinstall the modules by running yarn.

You’re done! 🙌

Changes

Govern Contracts

  • Utils: migrate to Hardhat with Typescript (#164)
  • Utils: initializable test (#165)
  • SafeERC20: ensure token address is a contract (#181)
  • Remove collateral from Scheduled event (#159)
  • ERC3000Data: add address() type cast (#194)
  • Fix DepositLib.collectFrom (#193)

Govern.js

  • Add a prepublishOnly script (#153)
  • Fix imports on case sensitive file systems (#156, #157, #166)
  • Improve registryEntries query (#167)
  • Add a depcheck script (#168)
  • Add end-to-end tests (#169)
  • End-to-end tests: add server:healthcheck (#213)

Govern Console

  • Use mainnet subgraph to look up mainnet DAOs (#160)
  • Update selectors for known roles (#161)
  • Cache chain id on refresh, add alt for logo (#179)
  • Phase 2: better UI, actions, improved file structure (#192)

Govern Subgraph

  • Upgrade ABI to follow the latest contract changes (#150)
  • Remove set of derived field (#191)
  • Fix paths + add a build script (#200)
  • Update event for schedule along with handlers (#202)

CI/CD

  • Cache yarn packages and contracts (#188)
  • Server and subgraph rinkeby on master commits, mainnet on v* tag (#190)
  • Add postinstall script to fix subgraph CI/CD (#208)

Other

  • Lerna commands cleanup (#201)
  • Add a start:server command (#207)