← 输入框|github.com|刷新
Skip to content

Tags

Tags

v2.1.18

Toggle v2.1.18's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Docs SEO Update: Phase 2 (#1148)

* seo: give every docs page its own meta description

104 of 113 docs pages had no `description` in their front matter, so
they all fell back to the site default ("Browse the latest developer
documentation including API reference, articles, and sample code").
Search results showed the same snippet for the quick start, the
manifest reference, the glossary and every other page, and link
previews said nothing about the page.

Each of those pages now has a description written from its own content:
110-160 characters, unique across the site, using the page's main search
terms and the docs' product names. Front matter only; no body changes.

Addresses finding 6 (shared, non-specific meta descriptions) of the
December 2026 SEO audit, applied to the docs:
graph-gtm-kit/internal/seo-audit/december-2026-audit/thegraph-seo-audit.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75vHTnTdhKizaBwz8Yq

* docs: fix the Agent0 network count and the Cursor MCP intro

- Agent0: the intro said the Subgraphs run on "five major networks" while
  the table lists nine deployments. Name the five mainnets and the four
  testnets so the sentence matches the table.
- Subgraph MCP for Cursor: the intro said the guide is for conversations
  "with Cline", copied from the Cline page. It now says Cursor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75vHTnTdhKizaBwz8Yq

* seo: add descriptions to the docs homepage and network pages, trim two long ones

Follow-up to the per-page descriptions, covering the pages front matter
can't reach and two that ran past what search results show:

- Homepage: its front matter is built in [locale]/index.mdx from the
  translations, so it fell back to the site default. It now reads a new
  index.description string.
- Supported network pages (/supported-networks/<network>/, one per
  network) also used the default. [id].mdx now builds a description per
  network from its real Subgraphs and Substreams support. The longest
  network name in the registry gives 154 characters.
- testing-and-staging and providers/overview: shortened from 175 and 194
  characters to 155 and 156 so search results don't cut them off.

Addresses finding 6 of the December 2026 SEO audit:
graph-gtm-kit/internal/seo-audit/december-2026-audit/thegraph-seo-audit.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75vHTnTdhKizaBwz8Yq

* seo: give the docs homepage a keyword-led title

The homepage's tab title was "Home | Docs | The Graph", built from the
nav title "Home", with no keywords and little to go on in search
results. It is now "The Graph Docs: Blockchain Data Indexing & Provider Tools",
set for both <title> and og:title through a new
index.seoTitle string and a front-matter `seo` override. The nav label
stays "Home".

Addresses finding 8 (brand-only homepage title) of the December 2026 SEO
audit, applied to the docs:
graph-gtm-kit/internal/seo-audit/december-2026-audit/thegraph-seo-audit.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75vHTnTdhKizaBwz8Yq

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

v2.1.17

Toggle v2.1.17's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
fix(nginx): redirect to https, so none drops to http (#1146)

TLS ends before nginx, so $scheme is always http and every redirect to
this site sent browsers to http first. Redirect to https://$host/...
instead: one hop, never http. Paths, query handling and statuses are
unchanged.

Co-authored-by: Carlos Jorge <carlos@graphops.xyz>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

v2.1.16

Toggle v2.1.16's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove Ormi Labs card from providers overview (#1145)

Claude-Session: https://claude.ai/code/session_01HpT75t8oLW8wRaQW3jRhmM

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

2.1.15

Toggle 2.1.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs(subgraphs): add the GraphOps Platform as a Subgraphs provider (#…

…1133)

* docs(subgraphs): add the GraphOps Platform as a Subgraphs provider

Lists the GraphOps Platform under Subgraphs > Providers in the Foundation's gateway page template: how requests reach Indexers, pricing, sign-up, query examples, the transparency data and TAP senders Indexers need, and the Indexer Portal.

* docs(subgraphs): drop "canonical gateway" wording from GraphOps provider page

* docs(subgraphs): update GraphOps provider related links

Use the link names and targets requested in review, pointing Choosing a
Subgraph Gateway at the providers overview section.

v2.1.15

Toggle v2.1.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs(subgraphs): add the GraphOps Platform as a Subgraphs provider (#…

…1133)

* docs(subgraphs): add the GraphOps Platform as a Subgraphs provider

Lists the GraphOps Platform under Subgraphs > Providers in the Foundation's gateway page template: how requests reach Indexers, pricing, sign-up, query examples, the transparency data and TAP senders Indexers need, and the Indexer Portal.

* docs(subgraphs): drop "canonical gateway" wording from GraphOps provider page

* docs(subgraphs): update GraphOps provider related links

Use the link names and targets requested in review, pointing Choosing a
Subgraph Gateway at the providers overview section.

v2.1.14

Toggle v2.1.14's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
feat(deploy): one image for every environment, configured at runtime (#…

…1139)

The image takes no environment's values at build time. Its entrypoint checks
ENVIRONMENT (staging or production) and nginx writes it into every HTML page
as window.__DOCS_ENV__; the browser picks the Mixpanel project from it. Links
to (www.|staging.)thegraph.com follow the page's own origin after mount.

image.yml builds ghcr.io/graphprotocol/graph-docs (<commit> on every run,
latest from the default branch), checks the runtime environment, and pushes.
release.yml gives a v* tag of a default-branch commit that commit's image
digest under the tag's name, without rebuilding. ci-cd-production.yml is
unchanged; .k8s/production sets ENVIRONMENT=production.

Co-authored-by: Carlos Jorge <carlos@graphops.xyz>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

v2.1.13

Toggle v2.1.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Restructure delegation guide, add Rewards Eligibility pages, fix inte…

…rnal links" (#1135)

* docs(delegating): restructure delegation guide and add Rewards Eligibility page

- Flatten resources/delegating/ into a single resources/delegating page and
  merge the undelegating guide into it
- Rework the "How to Delegate" flow: data service, comparing Indexers,
  estimated APR (calculation, cuts, pool share, ROI calculator), capacity
  and rewards eligibility, contribution quality, costs and risks
- Replace formula and screenshot images with v2 versions that match the
  docs theme (old images kept for now)
- Add HashRedirect for anchors from the old delegating pages
- Add indexing/rewards-eligibility page and link it from related pages
- Update nginx redirects for the old delegating/undelegating URLs and point
  retired SPS URLs to the Substreams overview
- Update links to the new delegating path across the docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75tNWqJDzfGmEwZqRKD

* docs: fix broken and redirected internal links

- Point retired /sps/ links to the Substreams overview
- Fix Skills page links to Subgraph Uncrashable and the graph-ts API
- Remove duplicate rows from the specVersion Releases table
- Add an Experimental Features heading in advanced.mdx and link to it
- Fix anchors for full-text search, nested entity filtering, and
  specVersion releases
- Replace redirected /developing/ and /deploying/ links with current paths

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75tNWqJDzfGmEwZqRKD

* ran prettier

* Correct Horizon undelegation steps and document legacy L1 withdrawals

* minor delegation page wording adjustments

* added more robust FAQ section to delegator guide

* Correct active delegation balances and legacy transfer guidance

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Jerry Okolo <73024324+itsjerryokolo@users.noreply.github.com>

v2.1.12

Toggle v2.1.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs(x402): note v2 Payment-Signature header + payment-on-failure cav…

…eats (#1103)

* docs(x402): note v2 Payment-Signature header + caveats

Two costly footguns for new x402 integrators that aren't covered today:

1. Protocol version. The gateway is x402 v2, so payments must be sent in
   `Payment-Signature` (not v1's `X-PAYMENT`). v1 SDKs that sign correctly
   still receive 402 "Payment-Signature header is required". The current
   "any x402 tooling that supports exact scheme will work" line implies
   v1 compatibility — adding an explicit callout pointing v1 users at
   `@graphprotocol/client-x402` (or a v2-aware upgrade).

2. Payment-on-failure. Two real cases where USDC is charged but the caller
   gets no usable data:
   - Valid subgraph_id with zero active indexer allocations → returns
     `{"errors":[{"message":"subgraph not found: no allocations"}]}` with
     payment settled.
   - Any errors-shaped GraphQL response (bad shape, schema mismatch, etc.)
     is still settled.

   Both surprise first-time agent integrators. Added a `## Caveats` section
   with a Graph Network Subgraph query agents can use to pre-check active
   allocations before paying.

* style: prettier --write

* docs(x402): fix allocation check query, generalize schema advice, apply house style

* Clarify x402 v2 client requirements

---------

Co-authored-by: Brandon Kramer <brandonleekramer@gmail.com>
Co-authored-by: Jerry Okolo <73024324+itsjerryokolo@users.noreply.github.com>

v2.1.11

Toggle v2.1.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Base to network (#1129)

* Sync Supported Networks with registry v0.8.14, move Base to the Network template, and add Guides & Best Practices

Supported Networks (registry v0.8.8 -> v0.8.14)
- Add an Elysium page (Substreams via The Graph Market)
- Remove pages for networks dropped from the table (Blast, Starknet,
  Starknet Testnet, Robinhood Chain Testnet) and redirect their routes
  to /supported-networks/
- zkSync Era: add Pinax Substreams section and "two ways" intro
- Substreams overview and quick start: drop Starknet, Vara, and MANTRA

Base
- Use the BSC/Polygon template: longer intro, "Find Existing Subgraphs
  on Base" cards, Graph Network publishing flow

Subgraphs: Guides & Best Practices
- Merge How-to Guides into best-practices/ under the nav title
  "Guides & Best Practices"; rename "Tooling" to "Testing & Tooling"
- Add the Subgraph Guides & Best Practices overview as the first page
- Reorder pages to follow the overview, rewrite pages in one voice,
  and merge the two grafting pages into one
- Redirect guides/, cookbook/, and grafting-hotfix URLs to their final
  pages in nginx.conf, and fix redirects to removed pages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75uYTePhuL7KFioUPqS

* Fix first heading level on Next.js API key and composition pages

Promote the intro headings to h2 so each page's first heading is rank 2
(remark-lint-first-heading-level).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75uYTePhuL7KFioUPqS

* Address review feedback on Guides & Best Practices

- Declared eth_call examples: use the manifest event signature format
  `TransferWithPool(indexed address,indexed address,uint256,indexed bytes32)`
- Overview: nested sorting works one level deep (String/ID fields), so
  recommend storing frequent sort keys on the entity rather than saying
  nested sorting is impossible
- Overview: loadInBlock returns entities created or updated in the current
  block; a non-null result does not prove the entity is new
- Overview: gnd dev --watch only redeploys the build output; run
  gnd build --watch (or graph build --watch) alongside it to recompile
- Grafting: switching to Bytes IDs is not graft-compatible, but mutable to
  immutable is supported when the copied history has no updates or deletions
- Grafting: a non-grafted republish after a contract replacement needs data
  sources for both contracts, and a single-data-source graft stops indexing
  the old contract after the graft block

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75uYTePhuL7KFioUPqS

* Network Subgraph template: run a build watcher alongside gnd --watch

gnd --watch only redeploys the build output and does not compile, so the
local verification step now starts graph build --watch (or gnd build
--watch) in one terminal and gnd --watch in a second terminal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75uYTePhuL7KFioUPqS

* Use gnd dev in the network Subgraph template

The local verification step now runs `gnd dev --ethereum-rpc ... --watch`
instead of plain `gnd`, and the surrounding copy and Windows note say
`gnd dev` to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75uYTePhuL7KFioUPqS

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

v2.1.10

Toggle v2.1.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Sync Supported Networks with registry v0.8.8 and refresh network pages (

#1127)

* Sync docs with networks registry v0.8.8 deprecations and default to Subgraph Studio flow

- Remove custom pages for networks dropped from the table in registry v0.8.8
  (Fuse, Fuse Testnet, Kaia, Kaia Kairos, NEAR, NEAR Testnet, Viction, zkSync
  Sepolia) and redirect their routes to /supported-networks/
- Remove the NEAR Subgraphs guide and redirect it (and its legacy aliases) to
  /supported-networks/
- Remove hard-coded chain counts ("60+ chains/networks", "dozens of chains")
  from the homepage, About page, and Gateways overview
- Community Subgraph template now walks through the Subgraph Studio UI flow
  (create, deploy, publish from the Studio dashboard)
- Provide the registry network to custom content via NetworkContext; networks
  without Studio indexing show a warning plus the registry backstop
  description, replacing the hand-set noStudio prop
- Recommend 1,000 GRT curation signal on networks with indexing rewards and
  500 GRT on community-only networks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014te5aAiyAEJ42fnyXDkurq

* Split network page Subgraphs row into Payments and Indexing lines

The Subgraphs row on each Supported Networks page now reads
"Payments: Subgraph Studio" (always) and "Indexing: <tier>", where the tier
mirrors the network's Subgraphs tag in the table: Network Rewards,
Community Support, or Subgraph Studio.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014te5aAiyAEJ42fnyXDkurq

* Fix hydration error on Studio-indexed network pages

- _subgraph-community.mdx: the Studio-indexing branch of Step 3 wrapped its
  text in <p>, which MDX nested inside its own paragraph (<p><p>), causing a
  hydration mismatch on every Studio-indexed network page (e.g. Base)
- NetworkDetailsPage: render the Payments/Indexing lines as stacked spans
  instead of divs, since the description list wraps values in a <span>

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014te5aAiyAEJ42fnyXDkurq

* Refresh Supported Networks pages: provider defaults, copy, and API key CTAs

Network details table
- Subgraphs row: "Indexing: The Graph Network / Community Support /
  Subgraph Studio"; right-aligned stacked lines
- Substreams row: one "Full Service" provider, The Graph Market preferred
  (Pinax only where the registry has no The Graph Market endpoint); Data
  Nexus never listed
- Chain Docs row shows "[Chain] Docs" instead of the raw URL
- Network title uses the h2 heading size; Guides heading raised to h2 with
  a page break above it; Guides cards no longer force a min height

Custom content
- "Supported in two ways" intros: bold product names, new Subgraphs and
  Substreams copy, The Graph Market as the listed provider
- Headings one level larger across all pages; page breaks before the
  Subgraphs, Substreams, and Find Existing Subgraphs sections
- "Get API Key" buttons beside every Indexing-with-Subgraphs/Substreams
  heading and "Explore" buttons beside Find Existing Subgraphs headings
  (GDS primary buttons via ProductSectionHeading/ExploreSectionHeading)
- Subgraph template: new "Search Graph Explorer for Existing Subgraphs"
  section (hidden on BSC/Polygon), consolidated CLI code blocks in Steps 2
  and 3, Graph Node Dev Mode for local verification, signal tip wording by
  rewards tier, network-value callout removed, copy edits
- Fix raw markdown links in the Substreams templates' API key step; Arc
  now lists The Graph Market and uses it for keys
- BSC headings use "BSC" so the CTA buttons fit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014te5aAiyAEJ42fnyXDkurq

* Use GDS solar yellow for the NON-EVM Substreams chip

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>