/ cli / CHANGELOG.md
CHANGELOG.md
  1  # Changelog
  2  
  3  All notable changes to this project will be documented in this file.
  4  
  5  The format is based on [Common Changelog](https://common-changelog.org/), and
  6  this project adheres to
  7  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
  8  
  9  ## [0.4.2] - 2024-01-19
 10  
 11  _Allow network access._
 12  
 13  ### Added
 14  
 15  -   Enable the `--allow-net` flag to allow the indexer script to access network resources.
 16  
 17  ## [0.4.1] - 2023-12-06
 18  
 19  _Improve compatibility with new sinks._
 20  
 21  ### Changed
 22  
 23  -   Forward all environment-related options to the sink.
 24  
 25  ## [0.4.0] - 2023-11-10
 26  
 27  _Update Starknet filter._
 28  
 29  ### Changed
 30  
 31  -   Update the Starknet filter definition to support the new
 32      `includeTransaction` and `includeReceipt` options.
 33  
 34  ## [0.3.3] - 2023-10-25
 35  
 36  _Minor quality of life improvements._
 37  
 38  ### Fixed
 39  
 40  -   Don't attempt to install plugins (like sinks) from pre-release releases.
 41  -   Show the correct plugin installation command when trying to run an indexer
 42      that requires a missing sink.
 43  
 44  ## [0.3.2] - 2023-10-24
 45  
 46  _Error message improvements._
 47  
 48  ### Changed
 49  
 50  -   This version changes how errors are handled to improve error messages.
 51      Errors now show more context and additional information that will help
 52      developers debug their indexers.
 53  
 54  ## [0.3.1] - 2023-10-17
 55  
 56  _Minor bug fixes in the `apibara test` command._
 57  
 58  ### Fixed
 59  
 60  -   Avoid storing sensitive information such as authentication tokens in the
 61      test snapshots.
 62  
 63  ## [0.3.0] - 2023-09-26
 64  
 65  _Add the `apibara test` command._
 66  
 67  ### Added
 68  
 69  -   Introduce a `test` command to test indexers. This command implements
 70      snapshot testing for indexers. The first time you run it, it downloads data
 71      from a live DNA stream and records the output of the script. After the first
 72      run, it replays the saved stream and compares the output from the script with
 73      the output in the snapshot. A test is successful if the outputs match.
 74  
 75  ### Changed
 76  
 77  -   The `plugins` command is now also available as `plugin`.
 78  
 79  ## [0.2.0] - 2023-09-16
 80  
 81  _Introduce sink status gRPC service._
 82  
 83  ### Changed
 84  
 85  -   The status server is now a gRPC service. This service returns the sink
 86      indexing status, the starting block, and the chain's current head block
 87      from the upstream DNA service.
 88  -   The status server now binds on a random port. This means it's easier to run
 89      multiple sinks at the same time.
 90  
 91  ## [0.1.0] - 2023-08-08
 92  
 93  _First tagged release 🎉_
 94  
 95  [0.4.0]: https://github.com/apibara/dna/releases/tag/cli/v0.4.0
 96  [0.3.3]: https://github.com/apibara/dna/releases/tag/cli/v0.3.3
 97  [0.3.2]: https://github.com/apibara/dna/releases/tag/cli/v0.3.2
 98  [0.3.1]: https://github.com/apibara/dna/releases/tag/cli/v0.3.1
 99  [0.3.0]: https://github.com/apibara/dna/releases/tag/cli/v0.3.0
100  [0.2.0]: https://github.com/apibara/dna/releases/tag/cli/v0.2.0
101  [0.1.0]: https://github.com/apibara/dna/releases/tag/cli/v0.1.0