Skip to content

Releases: graphprotocol/graph-node

v0.5.0

07 Dec 15:37
Compare
Choose a tag to compare

Changes

  • Deployed subgraphs can now be queried using GraphQL, using the new /subgraphs route.
  • Query and subscription URLs have changed:
    • /by-id/<id> is now /subgraphs/id/<id>,
    • /by-name/<name> is now /subgraphs/name/<name>.
  • Support for new subgraph manifest fields has been added:
    • description and repository at the top level,
    • network (one of mainnet, ropsten, rinkeby, kovan, to be extended) at the data source level.
  • A new entityCount field has been added to the subgraphs schema at /subgraphs.
  • HTTP and WebSocket ports are now configurable via --http-port/HTTP_PORT and --ws-port/WS_PORT.
  • The Rust version to 1.31.
  • The AssemblyScript version to the latest master.

Fixes

  • orderBy now works again, for all attribute types.
  • Address.from() in mappings now accepts 0x-prefixed addresses.
  • A frequent deadlock at graph-node startup has been fixed.
  • Our __typename support has been changed to avoid warnings in clients.
  • GraphiQL now uses the wss protocol for subscriptions if served using HTTPS.
  • Missing CORS headers have been added.

v0.4.1

15 Nov 09:01
Compare
Choose a tag to compare

Changes

  • Batch requests for transaction receipts.
  • Make bigInt.toHex() format numbers as big-endian, with leading zeros trimmed.
  • Implement env.abort to improve logging of AssemblyScript exceptions.
  • Add GraphQL __typename support.
  • Optionally, write subgraph logs to Elasticsearch.
  • Add --ethereum-polling-interval / ETHEREUM_POLLING_INTERVAL option.
  • Bring the full test suite back (it had been partially disabled due to massive code changes).
  • Documentation improvements (getting started).
  • Fix casting bug when querying boolean entity fields.
  • Add BigInt math (+, -, *, / and %).
  • Add more data to Ethereum events, blocks and transactions passed to mappings.

v0.4.0

02 Nov 14:30
Compare
Choose a tag to compare

Developer Preview

06 Aug 18:23
Compare
Choose a tag to compare
Developer Preview Pre-release
Pre-release

This developer preview includes:

  • GraphQL Server — A custom spec-compliant GraphQL implementation. We automatically generate the server from the SDL schema including support for filters w/ boolean expressions, sorting, and pagination.
  • Ethereum Adapter — Subscribes to Ethereum events using IPC or RPC and accesses smart contract storage.
  • WASM Runtime Host — Executes developer-provided Mappings on WASM using Parity’s excellent Wasmi library.
  • Postgres Store — Stores and indexes the transformed data in an entity table in Postgres, which is queried by the GraphQL server.