Skip to content

v0.22.0

Compare
Choose a tag to compare
@evaporei evaporei released this 16 Sep 23:29

Update to AssemblyScript version 0.19.10.

This version breaks compatibility with subgraphs that use older versions of graph-cli, graph-ts and by consequence AssemblyScript.

To upgrade your subgraph follow this guide.

Main changes:

  • Added set calls to all non-nullable fields of an Entity class (generated from codegen) to their default values in construction, so that if developers try to access them before setting, they already have a zero/empty value to work with.
  • New assertions on operator overloading: graphprotocol/graph-ts#204
  • Added matchstick testing framework #731
  • Non Ethereum mainnet subgraphs can not be deployed to the Studio anymore