github graphprotocol/graph-tooling v0.8.0

latest releases: @graphprotocol/graph-cli@0.71.1, @graphprotocol/graph-ts@0.35.1, @graphprotocol/graph-cli@0.71.0...
5 years ago
  • graph init now has two modes:
    • --from-example creates a subgraph from the example subgraph.
    • --from-contract creates a subgraph from an existing contract, fetching the contract ABI from Etherscan if possible, and creating entities for all events emitted by the contract.
    • If not all arguments for one of these modes are provided, graph init will guide the user through an interactive form.
  • graph codegen now handles indexed event parameters correctly.
  • There is a subgraph migration framework in place now to automatically update subgraphs to the latest APIs if possible. This can be skipped with --skip-migrations.
  • graph codegen now supports BigDecimal for large decimal numbers.
  • Other changes:
    • Rewrite CLI commands using Gluegun.
    • Add progress indicators.
    • Make output formatting more consistent.
    • Add tests for the new graph init.
    • Warn if manifests contain the example subgraph repository and description.
    • Add Prettier.

Don't miss a new graph-tooling release

NewReleases is sending notifications on new releases.