UNPKG

@graphprotocol/graph-ts

Version:

TypeScript/AssemblyScript library for writing subgraph mappings for The Graph

108 lines (69 loc) 4.32 kB
# @graphprotocol/graph-ts ## 0.38.0-alpha-20250211183825-802768a7b811892d1c945e88491926e436413436 ### Minor Changes - [#1935](https://github.com/graphprotocol/graph-tooling/pull/1935) [`99d12e9`](https://github.com/graphprotocol/graph-tooling/commit/99d12e91f7a85b9118a290b0dda3a2376b709eeb) Thanks [@isum](https://github.com/isum)! - feat: add yaml parsing support to mappings ## 0.37.0 ### Minor Changes - [#1843](https://github.com/graphprotocol/graph-tooling/pull/1843) [`c09b56b`](https://github.com/graphprotocol/graph-tooling/commit/c09b56b093f23c80aa5d217b2fd56fccac061145) Thanks [@YaroShkvorets](https://github.com/YaroShkvorets)! - Update all dependencies ## 0.36.0 ### Minor Changes - [#1754](https://github.com/graphprotocol/graph-tooling/pull/1754) [`2050bf6`](https://github.com/graphprotocol/graph-tooling/commit/2050bf6259c19bd86a7446410c7e124dfaddf4cd) Thanks [@incrypto32](https://github.com/incrypto32)! - Add support for subgraph datasource and associated types. ## 0.35.1 ### Patch Changes - [#1637](https://github.com/graphprotocol/graph-tooling/pull/1637) [`f0c583f`](https://github.com/graphprotocol/graph-tooling/commit/f0c583f00c90e917d87b707b5b7a892ad0da916f) Thanks [@incrypto32](https://github.com/incrypto32)! - Update return type for ethereum.hasCode ## 0.35.0 ### Minor Changes - [#1609](https://github.com/graphprotocol/graph-tooling/pull/1609) [`e299f6c`](https://github.com/graphprotocol/graph-tooling/commit/e299f6ce5cf1ad74cab993f6df3feb7ca9993254) Thanks [@incrypto32](https://github.com/incrypto32)! - Add support for eth.hasCode method ## 0.34.0 ### Minor Changes - [#1522](https://github.com/graphprotocol/graph-tooling/pull/1522) [`d132f9c`](https://github.com/graphprotocol/graph-tooling/commit/d132f9c9f6ea5283e40a8d913f3abefe5a8ad5f8) Thanks [@dotansimha](https://github.com/dotansimha)! - Added support for handling GraphQL `Timestamp` scalar as `i64` (AssemblyScript) ## 0.33.0 ### Minor Changes - [#1584](https://github.com/graphprotocol/graph-tooling/pull/1584) [`0075f06`](https://github.com/graphprotocol/graph-tooling/commit/0075f06ddaa6d37606e42e1c12d11d19674d00ad) Thanks [@incrypto32](https://github.com/incrypto32)! - Added getBalance call to ethereum API ## 0.32.0 ### Minor Changes - [#1523](https://github.com/graphprotocol/graph-tooling/pull/1523) [`167696e`](https://github.com/graphprotocol/graph-tooling/commit/167696eb611db0da27a6cf92a7390e72c74672ca) Thanks [@xJonathanLEI](https://github.com/xJonathanLEI)! - add starknet data types ## 0.31.0 ### Minor Changes - [#1340](https://github.com/graphprotocol/graph-tooling/pull/1340) [`2375877`](https://github.com/graphprotocol/graph-tooling/commit/23758774b33b5b7c6934f57a3e137870205ca6f0) Thanks [@incrypto32](https://github.com/incrypto32)! - export `loadRelated` host function - [#1296](https://github.com/graphprotocol/graph-tooling/pull/1296) [`dab4ca1`](https://github.com/graphprotocol/graph-tooling/commit/dab4ca1f5df7dcd0928bbaa20304f41d23b20ced) Thanks [@dotansimha](https://github.com/dotansimha)! - Added support for handling GraphQL `Int8` scalar as `i64` (AssemblyScript) ## 0.30.0 ### Minor Changes - [#1299](https://github.com/graphprotocol/graph-tooling/pull/1299) [`3f8b514`](https://github.com/graphprotocol/graph-tooling/commit/3f8b51440db281e69879be7d91d79cd43e45fe86) Thanks [@saihaj](https://github.com/saihaj)! - introduce new Etherum utility to get a CREATE2 Address - [#1306](https://github.com/graphprotocol/graph-tooling/pull/1306) [`f5e4b58`](https://github.com/graphprotocol/graph-tooling/commit/f5e4b58989edc5f3bb8211f1b912449e77832de8) Thanks [@saihaj](https://github.com/saihaj)! - expose Host's `get_in_block` function ## 0.29.3 ### Patch Changes - [#1057](https://github.com/graphprotocol/graph-tooling/pull/1057) [`b7a2ec3`](https://github.com/graphprotocol/graph-tooling/commit/b7a2ec3e9e2206142236f892e2314118d410ac93) Thanks [@saihaj](https://github.com/saihaj)! - fix publihsed contents ## 0.29.2 ### Patch Changes - [#1044](https://github.com/graphprotocol/graph-tooling/pull/1044) [`8367f90`](https://github.com/graphprotocol/graph-tooling/commit/8367f90167172181870c1a7fe5b3e84d2c5aeb2c) Thanks [@saihaj](https://github.com/saihaj)! - publish readme with packages