# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.18.1] - 2021-09-08
### Changed
- Reinclude Connext vector packages to dependencies

## [0.18.0] - 2021-09-07
### Changed
- Update Ethers dependencies

## [0.17.0] - 2021-07-21
### Changed
- Optimize `/network` execution by switching to a simpler HTTP client (doesn't need to be GraphQL aware)

## [0.15.1] - 2021-05-26
### Added
- Add `ensureAllocationSummary` utility for agent and service to use to create allocation summaries for receipts

## [0.15.0] - 2021-05-25
### Fixed
- Fix bug that could cause `AsyncCache` to fail perpetually

## [0.14.0] - 2021-05-12
### Added
- Add subgraph deployment ID to POI disputes
- Add async cache from indexer-service
- Add database models for allocation-based receipts and query fee vouchers

## [0.13.0] - 2021-04-19
### Changed
- Update to latest common-ts

## [0.12.0] - 2021-04-06
### Changed
- Update common-ts, vector and ethers

## [0.11.0] - 2021-03-31
### Added
- Add POI disputes to the indexer management API
- Add support for new payments system
- Add error types for new payments system
- Add error types for POI disputes
- Add error types for transaction management

### Changed
- Update @graphprotocol/common-ts to 1.3.2 (equality check fix in eventuals, latest contracts)

## [0.10.0] - 2021-01-29
### Changed
- Update common-ts to 1.3.0 to include new testnet contracts

## [0.9.5] - 2021-01-16
### Fixed
- Update ethers to 5.0.26 to avoid unresolved promise rejections (#183)

### Changed
- Update common-ts to 1.2.1

### Added
- Validate cost models in `setCostModel` (#182)

## [0.9.4] - 2021-01-13
### Changed
- No changes

## [0.9.3] - 2021-01-11
### Changed
- No changes

## [0.9.2] - 2021-01-09
### Changed
- Update common-ts to 1.2.0

## [0.4.4] - 2020-12-14
### Added
- Add `IE035` and `IE036` error types for unhandled promises and exceptions

## [0.4.2] - 2020-11-30
### Changed
- Return an allocation signer from `uniqueAllocationId`

## [0.4.0] - 2020-11-27
### Changed
- Update common-ts to 0.4.0

## [0.3.7-alpha.8] - 2020-11-27
### Added
- Add standard indexer errors and `indexer_error` metric

## [0.3.7-alpha.0] - 2020-11-17
### Changed
- Update `@graphprotocol/common-ts` to 0.3.13

## [0.3.4] - 2020-10-29
### Changed
- Update and pin all dependencies

## [0.3.3] - 2020-10-28
### Fixed
- Preserve `$DAI` on updates
- Fix injecting `$DAI` into `null` variables
- Fix adding `$DAI` to `null` cost models in `setCostModel` mutation
- Don't accidentally clear non-`$DAI` variables

### Added
- Inject `$DAI` into new models when they are created

### Changed
- Change cost model variable columns in the database to JSONB

## [0.3.2] - 2020-10-27
### Added
- Add 'deleteIndexingRules' mutation

### Fixed
- Fix clearing of cost models

## [0.3.1] - 2020-10-15
### Changed
- Update common-ts to 0.3.3

## [0.3.0] - 2020-10-13
### Changed
- Update common-ts to 0.3.2

### Added
- Add cost model management with tests
- Add helpers for allocation IDs and attestation signer keys

## 0.2.6 - 2020-10-13
### Added
- Move indexing rule management here from `@graphprotocol/common-ts`

[Unreleased]: https://github.com/graphprotocol/indexer/compare/v0.18.1...HEAD
[0.18.1]: https://github.com/graphprotocol/indexer/compare/v0.18.0...v0.18.1
[0.18.0]: https://github.com/graphprotocol/indexer/compare/v0.17.0...v0.18.0
[0.17.0]: https://github.com/graphprotocol/indexer/compare/v0.15.1...v0.17.0
[0.15.1]: https://github.com/graphprotocol/indexer/compare/v0.15.0...v0.15.1
[0.15.0]: https://github.com/graphprotocol/indexer/compare/v0.14.0...v0.15.0
[0.14.0]: https://github.com/graphprotocol/indexer/compare/v0.13.0...v0.14.0
[0.13.0]: https://github.com/graphprotocol/indexer/compare/v0.12.0...v0.13.0
[0.12.0]: https://github.com/graphprotocol/indexer/compare/v0.11.0...v0.12.0
[0.11.0]: https://github.com/graphprotocol/indexer/compare/v0.10.0...v0.11.0
[0.10.0]: https://github.com/graphprotocol/indexer/compare/v0.9.5...v0.10.0
[0.9.5]: https://github.com/graphprotocol/indexer/compare/v0.9.4...v0.9.5
[0.9.4]: https://github.com/graphprotocol/indexer/compare/v0.9.3...v0.9.4
[0.9.3]: https://github.com/graphprotocol/indexer/compare/v0.9.2...v0.9.3
[0.9.2]: https://github.com/graphprotocol/indexer/compare/v0.4.4...v0.9.2
[0.4.4]: https://github.com/graphprotocol/indexer/compare/v0.4.2...v0.4.4
[0.4.2]: https://github.com/graphprotocol/indexer/compare/v0.4.0...v0.4.2
[0.4.0]: https://github.com/graphprotocol/indexer/compare/v0.3.7-alpha.8...v0.4.0
[0.3.7-alpha.8]: https://github.com/graphprotocol/indexer/compare/v0.3.7-alpha.0...v0.3.7-alpha.8
[0.3.7-alpha.0]: https://github.com/graphprotocol/indexer/compare/v0.3.4...v0.3.7-alpha.0
[0.3.4]: https://github.com/graphprotocol/indexer/compare/v0.3.3...v0.3.4
[0.3.3]: https://github.com/graphprotocol/indexer/compare/v0.3.2...v0.3.3
[0.3.2]: https://github.com/graphprotocol/indexer/compare/v0.3.1...v0.3.2
[0.3.1]: https://github.com/graphprotocol/indexer/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/graphprotocol/indexer/compare/v0.2.6...v0.3.0
