Skip to content

Releases: graphprotocol/indexer

v0.20.5-alpha.1

26 Oct 19:50
Compare
Choose a tag to compare
v0.20.5-alpha.1 Pre-release
Pre-release

What's Changed

  • indexer-common: Use consistent deployment names by @fordN in #490
  • security: resurrect comment deleted in f7fa658 by @That3Percent in #492
  • AQI: actions delete command by @hopeyen in #491
  • Make 0.28.0 the official Graph Node version by @azf20 in #494
  • Update to 0.28.1 by @azf20 in #501
  • Update to use 0.28.2 by @azf20 in #503
  • k8s: Update resources/configs to use the latest recommendations by @fordN in #493
  • indexer-common: Trace log data used to evaluate each deployment by @fordN in #505
  • indexer-common: re-organize error logging by @hopeyen in #507
  • indexer-common: Avoid recreating recently failed actions by @tilacog in #506
  • Update network parameters for Goerli testnet by @tmigone in #510
  • indexer-agent,-common: Use consistent clear network/epoch var naming by @fordN in #511
  • Fix indexer-cli docker image by @cause1ove in #509
  • indexer-agent,-service: remove index-node configs by @hopeyen in #512
  • indexer-common: Support connecting to any protocol network by @fordN in #513
  • indexer-cli, indexer-common: Introduce the --first CLI option by @tilacog in #514
  • Update indexer components to 0.20.4 on testnet by @azf20 in #519
  • agent: update @graphprotocol/contracts to v1.16.0 by @tilacog in #520
  • Reorganising networks.md by @azf20 in #518
  • all: v0.20.5-alpha-0 pre-release by @tilacog in #521
  • Revert "reorganising networks.md" by @tilacog in #522
  • Revert failed version bumps by @tilacog in #524
  • indexer-agent,-common: fix resolve latest epoch by @hopeyen in #523
  • v0.20.5-alpha.0 by @hopeyen in #525
  • strict versioning for indexer packages by @hopeyen in #526

New Contributors

Full Changelog: v0.20.4...v0.20.5-alpha.1

v0.20.4

29 Sep 22:07
Compare
Choose a tag to compare
v0.20.4 Pre-release
Pre-release

What's Changed

  • docs: Update networks.md, update action docs by @fordN in #474
  • indexer-common: Fix bug in isDeploymentWorthAllocatingTowards() by @fordN in #480
  • indexer-common: Remove max signal check, towards deprecating max signal by @fordN in #482
  • indexer-service: Persist receipts with zero fees by @tilacog in #487
  • Tiago/collect receipts in batches by @tilacog in #486
  • Integrate Epoch Block Oracle by @hopeyen in #479
  • Indexer-agent: remove fallback to hardcode default file by @hopeyen in #484
  • README: change "service" to "agent" in the agent run command. by @axiomatic-aardvark in #466
  • Update networks.md by @juanmardefago in #485

New Contributors

  • @tilacog made their first contribution in #487
  • @axiomatic-aardvark made their first contribution in #466

Full Changelog: v0.20.3...v0.20.4

v0.20.3

31 Aug 19:04
Compare
Choose a tag to compare
v0.20.3 Pre-release
Pre-release

What's Changed

  • indexer-cli: indexing rule parser error catch by @hopeyen in #421
  • docs/network: Update recommended indexer component versions by @fordN in #438
  • docs/network: Update recommended graph-node version by @evaporei in #446
  • 0.27.0 update text as well as link by @azf20 in #462
  • README: Add graph explorer instructions to 'Approving and Staking' section by @fordN in #456
  • Shorten failure reason stored by @hopeyen in #454
  • indexer-common,indexer-agent: Include reason for actions being added to queue by @fordN in #461
  • indexer-cli: command to batch approve queued by @hopeyen in #463
  • Add ordering option for action queries by @hopeyen in #457
  • Indexer-common: Fix automatic rule creation upon confirmed action execution by @fordN in #470
  • indexer-common: allow 0 staked allocations by @hopeyen in #471
  • Set default for cost models plurals, add tests by @hopeyen in #465
  • indexer-agent: Fix cost models query helper function, use bytes32 ids by @fordN in #473

Full Changelog: v0.20.2...v0.20.3

v0.20.2

09 Aug 17:00
Compare
Choose a tag to compare
v0.20.2 Pre-release
Pre-release

What's Changed

  • indexer-agent: Create DB migration to expand failureReason column by @fordN in #455

Full Changelog: v0.20.1...v0.20.2

v0.20.1

04 Aug 22:19
Compare
Choose a tag to compare
v0.20.1 Pre-release
Pre-release

What's Changed

  • indexer-common: query fee explicitly check for numeric type by @hopeyen in #437
  • indexer-service detailed query logs by @aasseman in #428
  • Indexer-cli: only print identifier for offchain subgraphs by @hopeyen in #432
  • indexer-cli: remove colors from yaml and json ouputs by @hopeyen in #423
  • Optional to set global cost model and provide default by @hopeyen in #381
  • Actions Queue: add auto batch options and conditions by @hopeyen in #431
  • Upgrade @graphprotocol/contracts dependency by @fordN in #452
  • indexer-cli, -common: allow status latestBlock to be nullable by @hopeyen in #453

New Contributors

Full Changelog: v0.20.0...v0.20.1

v0.20.0

21 Jun 20:05
Compare
Choose a tag to compare
v0.20.0 Pre-release
Pre-release

This release introduces a completely new paradigm for managing allocations using the action queue. The action queue facilitates direct control of allocation actions, batching of actions into a single transaction, oversight of indexer-agent proposed actions, and simple integration of 3rd party decision making tools. Please refer to the action queue guide for an explanation of the new features and how to use them.

What's Changed

New Contributors

Full Changelog: v0.19.3...v0.20.0

v0.19.3

14 Jun 17:50
Compare
Choose a tag to compare

What's Changed

  • workflows: Update native modules precompile to include more Node versions by @fordN in #416
  • Manual Allocation Management by @fordN in #403
  • Update networks.md by @juanmardefago in #420
  • indexer-common: start block query - ensure numeric type by @hopeyen in #422
  • Dockerfiles: Update base images to node:16.15-bullseye-slim by @fordN in #424
  • CI: Use older version of Ubuntu to precompile native binaries by @fordN in #427
  • Upgrade cost-model lib by @fordN in #430

New Contributors

See the specific CHANGELOG.md files in each package for changes per package and the full changelog at v0.19.2...v0.19.3

v0.19.2

29 Apr 15:29
Compare
Choose a tag to compare

What's Changed

  • Upgrade @graphprotocol/cost-model, improve publish setup by @fordN in #412
  • indexer-native: Install uses precompiled binaries hosted on GitHub releases by @fordN in #414
  • indexer-native: Declare support for ARM in package.json by @fordN in #415

Full Changelog: v0.19.1...v0.19.2

NPM packages

https://www.npmjs.com/package/@graphprotocol/indexer-agent/v/0.19.2
https://www.npmjs.com/package/@graphprotocol/indexer-cli/v/0.19.2
https://www.npmjs.com/package/@graphprotocol/indexer-common/v/0.19.2
https://www.npmjs.com/package/@graphprotocol/indexer-native/v/0.19.2
https://www.npmjs.com/package/@graphprotocol/indexer-service/v/0.19.2

v0.19.0

24 Feb 19:07
Compare
Choose a tag to compare
v0.19.0 Pre-release
Pre-release

What's Changed

  • indexer-service: Rate limit indexer-service endpoints by @fordN in #336
  • Upgrade dependencies by @fordN in #338
  • Indexer agent logger improvement by @hopeyen in #333
  • *: Upgrade yargs dependencies and bump docker node image versions to LTS by @fordN in #345
  • Add option to allocate on network subgraph by @Theodus in #339
  • Upgrade node runtime image versions by @fordN in #346
  • indexer-service: Add /subgraphs/health/:deployment route by @Jannis in #348
  • indexer-agent, indexer-common: Add live metric for operator ETH balance by @Jannis in #354
  • indexer-common: Update cost-model dependency to fix the build by @Jannis in #355
  • Fix indexing status query used for health endpoint by @Jannis in #357
  • indexer-cli,indexer-common: Setup CLI test harness, create initial test suites by @fordN in #358
  • Indexing rules by subgraph id by @fordN in #329
  • indexer-agent: Support deployment id rules using either id format by @fordN in #361
  • indexer-cli: offchain commands by @hopeyen in #350
  • build(deps): bump follow-redirects from 1.14.6 to 1.14.7 by @dependabot in #353
  • Indexer-agent, indexer-cli: indexing rules applied instantly by @hopeyen in #352
  • indexer-agent: Batched voucher redemptions by @chriswessels in #349
  • indexer agent & cli - max lifetime options by @hopeyen in #343
  • indexer-agent reject unsupported subgraph unless bypassed by @hopeyen in #362
  • Rule to set automatic renewal for allocations by @hopeyen in #366
  • docs: Update graph-node to 0.25.1 by @otaviopace in #368
  • Updates to reflect current parameters by @Aderks in #365
  • Use signalledTokens instead of signalAmount for minSignal threshold by @Jannis in #367
  • Use AllocationExchange contract from common-ts by @Theodus in #359
  • indexer-agent: Fix subgraph identifier migration by @fordN in #369

New Contributors

  • @hopeyen made their first contribution in #333
  • @otaviopace made their first contribution in #368
  • @Aderks made their first contribution in #365

Full Changelog: v0.18.6...v0.19.0

v0.18.6

04 Jan 18:09
Compare
Choose a tag to compare

NPM

npm install -g @graphprotocol/[email protected]
npm install -g @graphprotocol/[email protected]
npm install -g @graphprotocol/[email protected]

Note: Installing these packages requires Rust and it's package manager cargo to be installed so that the cost model module can be built. If you already have Rust installed, make sure you're on the latest stable release. Installing the above packages may also require passing --unsafe-perm=true to the above install commands.

Docker

docker pull ghcr.io/graphprotocol/indexer-agent:v0.18.6
docker pull ghcr.io/graphprotocol/indexer-service:v0.18.6

Changes (Overview)

The most notable change included in this release is the addition of support for type 02 transactions as specified in EIP-1559.
The agent will now send type 02 transactions if supported by the client. Parallel allocations are being deprecated and will
automatically be removed by the agent now if found, in future releases all vestiges of parallel allocation management
will be removed. Another valuable update to the indexer-agent bring significant gas efficiency gains by batching claim transactions.

The indexer-cli has received some subtle, but important, updates to the status command outputs. 2 tables have been added
to the status output showing the indexer's 1. active allocations and 2. subgraph deployments.

Configuration options updates with this release (all optional):

Removed

Environment Variable CLI Option
INDEXER_AGENT_ALLOCATION_CLAIM_THRESHOLD --allocation-claim-threshold

Added

Environment Variable CLI Option Recommended Value
INDEXER_AGENT_REBATE_CLAIM_THRESHOLD --rebate-claim-threshold 250
INDEXER_AGENT_REBATE_CLAIM_BATCH_THRESHOLD --rebate-claim-batch-threshold 1000

Changes (Per Component)

Indexer Agent

Added

  • Support type 0x2 transactions (EIP-1559)
  • Close all parallel allocations and only renew a single allocation per deployment
  • Include an additional state for indexing dispute monitoring, references_unavailable, for the case where the indexer does not have a reference PoI available. Typically this case occurs when an indexer's deployment is not synced far enough

Changed

  • Deprecate the parallel allocations feature
  • Update Ethers dependencies
  • Keep deployment indexing for 1 day after allocation close
  • Reducing transaction logging redundancy to improve readability
  • Bump priority gas fee on gas price too low retry
  • Simplify transaction retry logic on nonce collisions; agent now introduces a delay and returns to reconciliation step to re-evaluate

Fixed

  • Only add prefix to voucher address if not present
  • Bump type 2 transaction gas fee configs on retry after timeout
  • Update max-transaction-attempts default to unlimited to avoid orphaned transactions
  • Treat deployments assigned to node = null or undefined as removed, so they are filtered out of the activeDeployments array
  • Fix delete query fee vouchers logic, so they are actually removed after the expiration time
  • Update tests to use the latest version of the Indexer class constructor

Indexer Service

Added

  • Support unattestable query responses

Changed

  • Broaden scope of allocations eligible for receiving traffic to include those recently closed
  • Update Ethers dependencies

Fixed

  • Use ENTRYPOINT instead of CMD in dockerfile so users can specify command line arguments in docker run command

Indexer CLI

Added

  • Show the status of indexer's active allocations in status command output
  • Show the status of indexer's subgraph deployments in status command output

Changed

  • Update Ethers dependencies

Indexer Common

Changed

  • Update Ethers dependencies

Indexer Native

Fixed

  • Fix build for Node v16 by upgrading neon-sys dependency.