Repository: graphprotocol/graph-tooling
Pull request #1982 (2025-03-06 11:28:59)

chore: bump spec version on graph init
With the release of graph-node version `0.37.0`, the latest spec version is `1.3.0`

changeset-bot[bot]: ###  ⚠️  No Changeset found

Latest commit: 3ca74e7bfb7ad2a5b5f4f96401cd93d0610e18ef

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. **If these changes should result in a version bump, you need to add a changeset.**

<details><summary>This PR includes no changesets</summary>

  When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

</details>

[Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).

[Click here if you're a maintainer who wants to add a changeset to this PR](https://github.com/graphprotocol/graph-tooling/new/shiyasmohd/bump-spec-version?filename=.changeset/lazy-hairs-begin.md&value=---%0A%22%40graphprotocol%2Fgraph-cli%22%3A%20patch%0A---%0A%0Achore%3A%20bump%20spec%20version%20on%20graph%20init%0A)


cloudflare-workers-and-pages[bot]: ## Deploying graph-tooling with &nbsp;<a href="https://pages.dev"><img alt="Cloudflare Pages" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png" width="16"></a> &nbsp;Cloudflare Pages

<table><tr><td><strong>Latest commit:</strong> </td><td>
<code>3ca74e7</code>
</td></tr>
<tr><td><strong>Status:</strong></td><td>&nbsp;✅&nbsp; Deploy successful!</td></tr>
<tr><td><strong>Preview URL:</strong></td><td>
<a href='https://e4e63cb5.graph-tooling.pages.dev'>https://e4e63cb5.graph-tooling.pages.dev</a>
</td></tr>
<tr><td><strong>Branch Preview URL:</strong></td><td>
<a href='https://shiyasmohd-bump-spec-version.graph-tooling.pages.dev'>https://shiyasmohd-bump-spec-version.graph-tooling.pages.dev</a>
</td></tr>
</table>

[View logs](https://dash.cloudflare.com/a3eea03329b242c22dbbf5bfc4ff19a3/pages/view/graph-tooling/e4e63cb5-28df-4bf5-9d79-d0beab3b09da)

github-actions[bot]: <!-- changesetsSnapshotPrCommentKey -->
### 🚀 Snapshot Release (`alpha`)

The latest changes of this PR are available as `alpha` on npm (based on the declared `changesets`):
| Package | Version | Info |
|------|---------|----|
| `@graphprotocol/graph-cli` | `0.96.1-alpha-20250306112928-3ca74e7bfb7ad2a5b5f4f96401cd93d0610e18ef` | [npm ↗︎](https://www.npmjs.com/package/@graphprotocol/graph-cli/v/0.96.1-alpha-20250306112928-3ca74e7bfb7ad2a5b5f4f96401cd93d0610e18ef) [unpkg ↗︎](https://unpkg.com/browse/@graphprotocol/graph-cli@0.96.1-alpha-20250306112928-3ca74e7bfb7ad2a5b5f4f96401cd93d0610e18ef/) |

Patch:
diff --git a/packages/cli/src/scaffold/index.ts b/packages/cli/src/scaffold/index.ts
index 2b9ae634..3dee1258 100644
--- a/packages/cli/src/scaffold/index.ts
+++ b/packages/cli/src/scaffold/index.ts
@@ -141,7 +141,7 @@ export default class Scaffold {
 
     return await prettier.format(
       `
-specVersion: 1.2.0
+specVersion: 1.3.0
 indexerHints:
   prune: auto
 schema:


Test patch:
diff --git a/packages/cli/src/scaffold/__snapshots__/cosmos.test.ts.snap b/packages/cli/src/scaffold/__snapshots__/cosmos.test.ts.snap
index 53189f25..ae7426d0 100644
--- a/packages/cli/src/scaffold/__snapshots__/cosmos.test.ts.snap
+++ b/packages/cli/src/scaffold/__snapshots__/cosmos.test.ts.snap
@@ -1,7 +1,7 @@
 // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
 
 exports[`Cosmos subgraph scaffolding > Manifest 1`] = `
-"specVersion: 1.2.0
+"specVersion: 1.3.0
 indexerHints:
   prune: auto
 schema:
diff --git a/packages/cli/src/scaffold/__snapshots__/ethereum.test.ts.snap b/packages/cli/src/scaffold/__snapshots__/ethereum.test.ts.snap
index e0264847..bad4cbb0 100644
--- a/packages/cli/src/scaffold/__snapshots__/ethereum.test.ts.snap
+++ b/packages/cli/src/scaffold/__snapshots__/ethereum.test.ts.snap
@@ -1,7 +1,7 @@
 // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
 
 exports[`Ethereum subgraph scaffolding > Manifest 1`] = `
-"specVersion: 1.2.0
+"specVersion: 1.3.0
 indexerHints:
   prune: auto
 schema:
diff --git a/packages/cli/src/scaffold/__snapshots__/near.test.ts.snap b/packages/cli/src/scaffold/__snapshots__/near.test.ts.snap
index 60867ffa..ff2ef932 100644
--- a/packages/cli/src/scaffold/__snapshots__/near.test.ts.snap
+++ b/packages/cli/src/scaffold/__snapshots__/near.test.ts.snap
@@ -1,7 +1,7 @@
 // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
 
 exports[`NEAR subgraph scaffolding > Manifest 1`] = `
-"specVersion: 1.2.0
+"specVersion: 1.3.0
 indexerHints:
   prune: auto
 schema: