Skip to content

Releases: aragon/govern

Aragon Govern Developer Preview 2

10 Nov 13:16
Compare
Choose a tag to compare
Pre-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)

Aragon Govern Developer Preview

31 Oct 18:57
Compare
Choose a tag to compare
Pre-release

This version is a Developer Preview, which means that we now to invite developers to test things, start development, and give us feedback. You can do so by contacting us on our Discord server or by creating an issue on this repository. Contributions are also welcome: please have a look at our roadmap to get an idea of where our priorities are at the moment and where the project is going.

Aragon Govern is composed of multiple pieces, which versions are kept in sync.

Contracts: ERC-3000 and Govern Core

The Govern smart contracts are composed of two packages: the ERC-3000 standard and our own implementation, Govern Core.

In this version we also added govern-create, a set of utilities based on buidler (now Hardhat) that can help you deploy and populate DAOs from the command line. It also contains the Govern factory contracts.

image

Govern Console

The Aragon Govern Console allows you to perform all kind of tasks related to your Govern DAO. As we expand the possibilities of Govern and its different tools, we will make sure that Govern Console lets you use and interact with all the features of Aragon Govern.

Screenshot of the Govern Console

Govern Server and Govern Library

Govern server is the bridge between your app and the decentralized world. It provides the simplicity and performance you can expect from a centralized server, while fetching its data from decentralized sources: Ethereum (through The Graph), IPFS, and more.

It provides a GraphQL API that you can query directly, or you can use the JavaScript library that will do that for you. It relies on a subgraph (The Graph), which indexes data from the Govern contracts.

Diagram about how Govern Server relates to the other Aragon Govern pieces

Govern Server also comes with a JS library for Node and the browser, which should be the easiest way to get started with Govern. Please have a look at its documentation, play with it, and let us know what you think!

import { dao } from '@aragon/govern'

const myorg = await dao('myorg.eth')

Documentation website

We encourage you to have a look at our documentation website if you want to know anything about Govern. This website is generated from the docs/ directory: this is where you can go if you want to help us and contribute to the documentation! 🙂

Screenshot of the Aragon Govern documentation website

What next?

As we are focusing on the road to Aragon Govern 1.0, we also want to start engaging with the community of developers to guide us using the feedback we get. We are also aiming for rapid releases, to maintain this quick feedback / iteration loop that we are aiming for.

Please read the Aragon Govern announcement post for more details, and come say hi! 😄

Aragon Govern: v1.0.0-beta.0

08 Oct 05:31
Compare
Choose a tag to compare
Pre-release

This marks the first release of Aragon Govern (name yet not final), the new set of tools for creating unstoppable organizations. This release includes: