-
#1670
03c907a
Thanks @saihaj! - Introducegraph publish
command.Now you can publish your subgraphs directly from the CLI. This command will build your subgraph, deploy, prompt you to add metadata and then sign the transaction to publish it to the Graph Network.
- Build the subgraph and publish it to the network.
graph publish
- Provide a IPFS Hash for the subgraph and publish it to the network.
graph publish --ipfs <ipfs-hash>
- You can use a custom webapp url for deploying.
graph publish --webapp-url <webapp-url>
- #1670
03c907a
Thanks @saihaj! - dependencies updates:- Added dependency
open@8.4.2
↗︎ (todependencies
)
- Added dependency
- #1668
0e7b6cc
Thanks @Shiyasmohd! - update etherscan api urls and rpc urls
- #1664
c581b33
Thanks @Shiyasmohd! - auto fetch contract name from address
-
#1662
00e774e
Thanks @Shiyasmohd! - fix: update optimism-sepolia EtherscanLikeAPIUrl -
#1661
8f6ee24
Thanks @mitchhs12! - add Linea Sepolia RPC and Linea Sepolia Etherscan url
- #1598
7d4208a
Thanks @incrypto32! - Allow topic filters in event handlers
-
#1634
f256475
Thanks @joshuanazareth97! - Order list of evm chains in graph init command -
#1640
1fb675c
Thanks @Shiyasmohd! - Added Etherscan like API url and Public RPC endpoints for Polygon Amoy,Gnosis Chiado,Mode Mainnet, Mode Sepolia chains for fetching startBlock and ABI
- #1623
121843e
Thanks @Shiyasmohd! - cli: added etherscan API URL & public RPC endpoint for etherlink-testnet
-
#1522
d132f9c
Thanks @dotansimha! - Added support for handling GraphQLTimestamp
scalar asi64
(AssemblyScript) -
#1610
fc03add
Thanks @yehia67! - Generatedocker-compose.yml
withgraph init
command
-
#1571
76279ab
Thanks @saihaj! - dependencies updates:- Updated dependency
gluegun@5.1.6
↗︎ (from5.1.2
, independencies
)
- Updated dependency
-
#1572
d5ca0a6
Thanks @saihaj! - dependencies updates:- Removed dependency
request@2.88.2
↗︎ (fromdependencies
)
- Removed dependency
- #1409
e15e036
Thanks @incrypto32! - Add support for endBlock in subgraph manifest
- #1561
39d5dbf
Thanks @incrypto32! - Add support for indexerHints in manifest
- #1536
fbce626
Thanks @saihaj! - dependencies updates:- Updated dependency
prettier@3.0.3
↗︎ (from1.19.1
, independencies
)
- Updated dependency
- #1533
45f3197
Thanks @saihaj! - adding deprecation notices for commands we plan to change in the next major. See #1487
-
#1545
1cfc8ce
Thanks @saihaj! - dependencies updates:- Removed dependency
@babel/core@^7.20.5
↗︎ (fromdependencies
) - Removed dependency
@babel/preset-typescript@^7.18.6
↗︎ (fromdependencies
) - Removed dependency
memoizee@^0.4.15
↗︎ (fromdependencies
)
- Removed dependency
-
#1539
3e29dfd
Thanks @saihaj! - upgradegraph init
to use latest version ofgraph-ts
-
#1540
8a79d05
Thanks @saihaj! - fix graph build for templates
-
#1531
b168be1
Thanks @travs! - Add--skip-git
option toinit
cli command -
#1490
95eb9d0
Thanks @mangas! - substreams based triggers support -
#1535
7d5c818
Thanks @saihaj! - add validation for handlers from subgraph manifest -
#1524
086a2da
Thanks @pedropregueiro! - Add support for M3 apple silicon forgraph test
-
#1535
7d5c818
Thanks @saihaj! - dependencies updates:- Added dependency
@babel/core@^7.20.5
↗︎ (todependencies
) - Added dependency
@babel/preset-typescript@^7.18.6
↗︎ (todependencies
) - Added dependency
memoizee@^0.4.15
↗︎ (todependencies
)
- Added dependency
-
#1521
3571a57
Thanks @saihaj! - remove studio network validation checks
-
#1461
cbbb0fc
Thanks @saihaj! - include user agent for CLI fetch calls -
#1508
f5ffcf1
Thanks @saihaj! - respect--protocol
and--network
provided from flags ofgraph init
-
#1461
cbbb0fc
Thanks @saihaj! - send graph cli version as user agent for all third party API calls -
#1461
cbbb0fc
Thanks @saihaj! - send graph cli version as user agent for all ipfs requests -
#1503
4fa0ace
Thanks @saihaj! - sanitize special characters in codegeneration
-
#1491
326b303
Thanks @YaroShkvorets! - add etherscan api retries tograph init
wizard -
#1493
f5f974d
Thanks @incrypto32! - Fix codegen issues when using derived loaders with Bytes as ID's
- #1474
6aacb7c
Thanks @pranavdaa! - add scroll mainnet support
-
#1470
4c1ca35
Thanks @axiomatic-aardvark! - Update 'test' command to reflect new matchstick version -
#1458
05e61d2
Thanks @saihaj! - do not init a git repo if a repo already exists -
#1462
b5f28bc
Thanks @omahs! - deprecate--skip-wait-for-etherium
forgraph local
-
#1459
129d003
Thanks @pustovalov! - fix ABI api endpoint aurora networks
- #1434
e54883b
Thanks @incrypto32! - Add data source context support in ethereum manifest
-
#1439
b583097
Thanks @saihaj! - Enable autocomplete for CLI commands. To configure rungraph autocomplete
and follow the steps in the prompt.
-
#1441
2e656e9
Thanks @saihaj! - show suggestions when an invalid command is entered
-
#1439
b583097
Thanks @saihaj! - dependencies updates:- Added dependency
@oclif/plugin-autocomplete@^2.3.6
↗︎ (todependencies
)
- Added dependency
-
#1441
2e656e9
Thanks @saihaj! - dependencies updates:- Added dependency
@oclif/plugin-not-found@^2.4.0
↗︎ (todependencies
)
- Added dependency
-
#1433
4492e4f
Thanks @saihaj! - when generating nested tuples make sure they are non-nullable -
#1433
4492e4f
Thanks @saihaj! - 2D arrays are valid entities
-
#1421
d4d5c90
Thanks @pranavdaa! - Add Scroll testnet to graph-cli -
#1392
7bc5e4e
Thanks @incrypto32! - Add support for polling block handlers in the manifest for ethereum
-
#1419
e88ff02
Thanks @saihaj! - Introduce--from-hosted-service
flag which will make it easier to deploy subgraphs from hosted service to Studio. -
#1418
38c16be
Thanks @uF4No! - feat: adds zksync era testnet
-
#1411
0ae0625
Thanks @saihaj! - add support for arweave file datasource -
#1407
d388127
Thanks @saihaj! - add skipInstall flag for init
- #1406
faefa94
Thanks @incrypto32! - Fix derived loaders not working failing for entities with Bytes as ID's
-
#1400
e7423aa
Thanks @saihaj! - only updatenetwork.json
file duringgraph add
if it exists -
#1402
f0ce6c0
Thanks @saihaj! - show a descriptive error message and do not hang if there is a deploy key issue -
#1403
dfa9ee1
Thanks @saihaj! - do not ask for local path when trying to add more contracts during init -
#1400
e7423aa
Thanks @saihaj! - ask for start block ingraph add
if we cannot fetch the start block from etherscan
- #1398
3e71375
Thanks @pranavdaa! - Adding base mainnet to staging
-
#1393
609954d
Thanks @saihaj! - ensure we use studio when loading from example -
#1393
609954d
Thanks @saihaj! - skip validation for subgraph name when creating an example
-
#1347
b442a11
Thanks @renovate! - dependencies updates:- Updated dependency
@oclif/core@2.8.6
↗︎ (from2.8.4
, independencies
)
- Updated dependency
-
#1384
16252be
Thanks @saihaj! - do not crash for codegen when it is substreams -
#1382
d2a1aa6
Thanks @saihaj! - Only ask directory and subgraph name when usinggraph init --from-example ...
-
#1340
2375877
Thanks @incrypto32! - Add support for codegen for derived field loaders, This adds getters for derived fields defined in the schema for entities. -
#1363
f928262
Thanks @saihaj! - addgraph clean
command to delete generated artifacts -
#1296
dab4ca1
Thanks @dotansimha! - Added support for handling GraphQLInt8
scalar asi64
(AssemblyScript)
-
#1356
b7f8fba
Thanks @saihaj! - use bytes array instead of from array -
#1357
394d48b
Thanks @saihaj! - upgrade to latest graph-ts version
-
#1353
125c687
Thanks @saihaj! - Add a new--ipfs-hash
flag tograph deploy
allowing to deploy a subgraph that is already compiled and uploaded to IPFS. -
#1335
7343f50
Thanks @saihaj! - For substreams generate the directory tree as follows. ├── package.json ├── schema.graphql └── subgraph.yaml
In the
package.json
we only depend on the CLI since that is what developer will use to deploy the subgraph. Theschema.graphql
is the schema of the subgraph and thesubgraph.yaml
is the manifest file for the subgraph. -
#1335
7343f50
Thanks @saihaj! - respect --abi flag instead of loading from etherscan -
#1335
7343f50
Thanks @saihaj! - remove index events as entities for substreams -
#1335
7343f50
Thanks @saihaj! - remove start block selection for substreams -
#1343
032d703
Thanks @saihaj! - add SPK input for substreams protocol
-
#1335
7343f50
Thanks @saihaj! - dependencies updates:- Updated dependency
@oclif/core@2.8.4
↗︎ (from2.8.2
, independencies
) - Updated dependency
gluegun@5.1.2
↗︎ (fromhttps://github.com/edgeandnode/gluegun#v4.3.1-pin-colors-dep
, independencies
)
- Updated dependency
-
#1351
c7cf89c
Thanks @saihaj! - return tuple arrays as a Bytes array in GraphQL -
#1329
308cb8a
Thanks @saihaj! - Point to new examples repo instead of old
-
#1327
a70ac44
Thanks @saihaj! - do not generate types, instead show a message to user to use substreams CLI for codegen. -
#1306
f5e4b58
Thanks @saihaj! - Add loadInBlock function for entities as part of codegen -
#1339
214cd71
Thanks @saihaj! - allow deploy optimism and optimism-goerli on studio
-
#1328
4963215
Thanks @renovate! - dependencies updates:- Updated dependency
@oclif/core@2.8.4
↗︎ (from2.8.2
, independencies
)
- Updated dependency
-
#1331
b2c8dec
Thanks @saihaj! - only allow mainnet for substreams in network selection for init
- #1257
17b90d7
Thanks @enisdenjo! - Bundle CLI as binary
- #1303
327784f
Thanks @dimitrovmaksim! - Fixes 403 Forbidden response when fetching the latest matchstick tag
-
#1284
b4311d8
Thanks @saihaj! - Changing code generation so we reduce the non-null assertions for primitive types. This way we can return null for primitive types and still have the generated code compile. -
#1293
9ae82b5
Thanks @enisdenjo! - Include declaration files -
#1258
86e1fda
Thanks @saihaj! - validate existence for handlers specified in manifest during build -
#1294
e5c1fbc
Thanks @enisdenjo! - Prompt deploy command for subgraph name and select product
-
#1266
0bc47bd
Thanks @renovate! - dependencies updates:- Updated dependency
glob@9.3.5
↗︎ (from9.3.4
, independencies
)
- Updated dependency
-
#1273
83d7a08
Thanks @renovate! - dependencies updates:- Updated dependency
semver@7.4.0
↗︎ (from7.3.8
, independencies
)
- Updated dependency
-
#1279
1f8b9c9
Thanks @renovate! - dependencies updates:- Updated dependency
@oclif/core@2.8.1
↗︎ (from2.8.0
, independencies
)
- Updated dependency
-
#1288
7090159
Thanks @renovate! - dependencies updates:- Updated dependency
@oclif/core@2.8.2
↗︎ (from2.8.1
, independencies
)
- Updated dependency
-
#1259
5ccb466
Thanks @saihaj! - refactor out immutable.js usage from schema generation -
#1291
2164a20
Thanks @saihaj! - append /api/v0 automatically to Graph IPFS endpoint
- #1275
0264c5d
Thanks @pranavdaa! - Adding sepolia testnet to the graph-cli
- #1268
d473997
Thanks @saihaj! - dependencies updates:- Updated dependency
ipfs-http-client@55.0.0
↗︎ (from34.0.0
, independencies
) - Updated dependency
jayson@4.0.0
↗︎ (from3.7.0
, independencies
)
- Updated dependency
- #1263
2ba2ba9
Thanks @mihirgupta0900! - Fixes dependency error fromipfs-http-client
andconcat-stream
. Visit #1262 for more details.
-
#1225
3f9aa1c
Thanks @saihaj! - When the contract has anid
event, the CLI renames theid
entity to{contractName}_id
and map it to{contractName}_id
in the mapping. -
#1209
f26398e
Thanks @kalloc! - Supportts
typing in tests folder
-
#1216
47e683d
Thanks @renovate! - dependencies updates:- Updated dependency
yaml@1.10.2
↗︎ (from1.9.2
, independencies
)
- Updated dependency
-
#1218
01046d9
Thanks @saihaj! - dependencies updates:- Added dependency
@whatwg-node/fetch@^0.8.4
↗︎ (todependencies
) - Removed dependency
node-fetch@2.6.0
↗︎ (fromdependencies
)
- Added dependency
-
#1224
f82aac9
Thanks @renovate! - dependencies updates:- Updated dependency
chokidar@3.5.3
↗︎ (from3.5.1
, independencies
)
- Updated dependency
-
#1226
ae76840
Thanks @renovate! - dependencies updates:- Updated dependency
debug@4.3.4
↗︎ (from4.3.1
, independencies
)
- Updated dependency
-
#1227
7516030
Thanks @renovate! - dependencies updates:- Updated dependency
docker-compose@0.23.19
↗︎ (from0.23.4
, independencies
)
- Updated dependency
-
#1228
cefbf3a
Thanks @renovate! - dependencies updates:- Updated dependency
semver@7.3.8
↗︎ (from7.3.5
, independencies
)
- Updated dependency
-
#1229
425558f
Thanks @renovate! - dependencies updates:- Updated dependency
tmp-promise@3.0.3
↗︎ (from3.0.2
, independencies
)
- Updated dependency
-
#1232
dc1e433
Thanks @renovate! - dependencies updates:- Updated dependency
@oclif/core@2.8.0
↗︎ (from2.0.7
, independencies
)
- Updated dependency
-
#1234
2f6838a
Thanks @renovate! - dependencies updates:- Updated dependency
fs-extra@9.1.0
↗︎ (from9.0.0
, independencies
)
- Updated dependency
-
#1239
b331905
Thanks @renovate! - dependencies updates:- Updated dependency
jayson@3.7.0
↗︎ (from3.6.6
, independencies
)
- Updated dependency
-
#1240
ef99d62
Thanks @renovate! - dependencies updates:- Updated dependency
js-yaml@3.14.1
↗︎ (from3.13.1
, independencies
)
- Updated dependency
-
#1243
5682ab5
Thanks @renovate! - dependencies updates:- Updated dependency
yaml@1.10.2
↗︎ (from1.9.2
, independencies
)
- Updated dependency
-
#1248
1ecb75a
Thanks @renovate! - dependencies updates:- Updated dependency
glob@9.3.4
↗︎ (from7.1.6
, independencies
)
- Updated dependency
-
#1246
8e1409f
Thanks @dimitrovmaksim! - Fixesgraph add
overwriting the event names insubgraph.yaml
and the ABI file when existing contracts have events with the same name. -
#1207
ad275b3
Thanks @saihaj! - bring back short hand for version and help
- #1210
17da832
Thanks @pranavdaa! - Added polygon zkevm to cli
-
#1201
f87e54c
Thanks @saihaj! - read testsFolder from matchstick yaml and set the paths based on that -
#1201
f87e54c
Thanks @saihaj! - make datasource and version optional args for test command -
876bc52
Thanks @saihaj! - Allow file data sources (with no network) to deploy to the studio. File data sources don't have a network specified. -
#1197
b52e3b1
Thanks @saihaj! - make generated list children non-nullable -
#1193
c240588
Thanks @saihaj! - do not generate setters for derived fields
- #1192
4a5d805
Thanks @incrypto32! - Add zksync era
- #1185
edf14d6
Thanks @incrypto32! - Fix graph init failing to add more than one contract
-
#1134
a156355
Thanks @incrypto32! - Fix Prefix error when using graph init -
#1138
eb6815e
Thanks @incrypto32! - Fix default value issues with abi and startBlock
- #1129
8e04027
Thanks @YaroShkvorets! - Fix availableNetworks() for substreams
-
#1128
2ebd032
Thanks @incrypto32! - Add base scan URL -
#1068
1e3195d
Thanks @incrypto32! - Add startblock auto fetch foradd
command -
#1079
570eb22
Thanks @incrypto32! - Remove optimism-kovan, Add optimism-goerli -
#1126
6d20494
Thanks @azf20! - Addmainnet
as network for substreams
- #1127
b8d2297
Thanks @saihaj! - Prioirtize node flag. If provided we do not need to go lookup what product to deploy to
- #1077
7efc38b
Thanks @enisdenjo! - Ask for product if missing when using deploy command
-
#1055
044cd92
Thanks @enisdenjo! - Migrate to Oclif
-
#1055
044cd92
Thanks @enisdenjo! - dependencies updates:- Added dependency
@oclif/core@2.0.7
↗︎ (todependencies
)
- Added dependency
-
#1074
e84d1e8
Thanks @saihaj! - update GH issues link for error message -
#1071
17d0888
Thanks @saihaj! - global files are not needed when using substreams
- #1059
7ffaf0c
Thanks @incrypto32! - Auto fetch startBlock
- #968
bf4f541
Thanks @kosecki123! - fix cleoscan explorer URLs
-
#1049
18cf83f
Thanks @incrypto32! - Add startBlock prompt -
#1053
bc82507
Thanks @saihaj! - Remove arbitrum-rinkeby to add arbitrum-goerli
-
#1039
accefb6
Thanks @enisdenjo! - dependencies updates:- Removed dependency
pkginfo@0.4.1
↗︎ (fromdependencies
)
- Removed dependency
-
#1040
5fd1e9c
Thanks @enisdenjo! - Target Node 14 and specify engine in package.json -
#1039
accefb6
Thanks @enisdenjo! - Use package.json to get package version
- #1035
d6fee92
Thanks @enisdenjo! - Build before release
- #1033
ac2cf09
Thanks @enisdenjo! - Include dist folder in packaged files