Skip to content

Commit

Permalink
release: cli, sink-{console, mongo, parquet, postgres, webhook}
Browse files Browse the repository at this point in the history
**Summary**
cli: v0.4.2
sink-console: v0.4.2
sink-mongo: v0.5.2
sink-parquet: v0.4.2
sink-postgres: v0.5.3
sink-webhook: v0.4.2
  • Loading branch information
fracek committed Jan 19, 2024
1 parent dc202c7 commit ab41632
Show file tree
Hide file tree
Showing 13 changed files with 100 additions and 37 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 30 additions & 24 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,90 +6,96 @@ The format is based on [Common Changelog](https://common-changelog.org/), and
this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.2] - 2024-01-19

_Allow network access._

### Added

- Enable the `--allow-net` flag to allow the indexer script to access network resources.

## [0.4.1] - 2023-12-06

_Improve compatibility with new sinks._

### Changed

- Forward all environment-related options to the sink.
- Forward all environment-related options to the sink.

## [0.4.0] - 2023-11-10

_Update Starknet filter._

### Changed

- Update the Starknet filter definition to support the new
`includeTransaction` and `includeReceipt` options.
- Update the Starknet filter definition to support the new
`includeTransaction` and `includeReceipt` options.

## [0.3.3] - 2023-10-25

_Minor quality of life improvements._

### Fixed

- Don't attempt to install plugins (like sinks) from pre-release releases.
- Show the correct plugin installation command when trying to run an indexer
that requires a missing sink.
- Don't attempt to install plugins (like sinks) from pre-release releases.
- Show the correct plugin installation command when trying to run an indexer
that requires a missing sink.

## [0.3.2] - 2023-10-24

_Error message improvements._

### Changed

- This version changes how errors are handled to improve error messages.
Errors now show more context and additional information that will help
developers debug their indexers.
- This version changes how errors are handled to improve error messages.
Errors now show more context and additional information that will help
developers debug their indexers.

## [0.3.1] - 2023-10-17

_Minor bug fixes in the `apibara test` command._

### Fixed

- Avoid storing sensitive information such as authentication tokens in the
test snapshots.
- Avoid storing sensitive information such as authentication tokens in the
test snapshots.

## [0.3.0] - 2023-09-26

_Add the `apibara test` command._

### Added

- Introduce a `test` command to test indexers. This command implements
snapshot testing for indexers. The first time you run it, it downloads data
from a live DNA stream and records the output of the script. After the first
run, it replays the saved stream and compares the output from the script with
the output in the snapshot. A test is successful if the outputs match.
- Introduce a `test` command to test indexers. This command implements
snapshot testing for indexers. The first time you run it, it downloads data
from a live DNA stream and records the output of the script. After the first
run, it replays the saved stream and compares the output from the script with
the output in the snapshot. A test is successful if the outputs match.

### Changed

- The `plugins` command is now also available as `plugin`.
- The `plugins` command is now also available as `plugin`.

## [0.2.0] - 2023-09-16

_Introduce sink status gRPC service._

### Changed

- The status server is now a gRPC service. This service returns the sink
indexing status, the starting block, and the chain's current head block
from the upstream DNA service.
- The status server now binds on a random port. This means it's easier to run
multiple sinks at the same time.
- The status server is now a gRPC service. This service returns the sink
indexing status, the starting block, and the chain's current head block
from the upstream DNA service.
- The status server now binds on a random port. This means it's easier to run
multiple sinks at the same time.

## [0.1.0] - 2023-08-08

_First tagged release 🎉_


[0.4.0]: https://github.com/apibara/dna/releases/tag/cli/v0.4.0
[0.3.3]: https://github.com/apibara/dna/releases/tag/cli/v0.3.3
[0.3.2]: https://github.com/apibara/dna/releases/tag/cli/v0.3.2
[0.3.1]: https://github.com/apibara/dna/releases/tag/cli/v0.3.1
[0.3.0]: https://github.com/apibara/dna/releases/tag/cli/v0.3.0
[0.2.0]: https://github.com/apibara/dna/releases/tag/cli/v0.2.0
[0.1.0]: https://github.com/apibara/dna/releases/tag/cli/v0.1.0

6 changes: 4 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apibara-cli"
version = "0.4.1"
version = "0.4.2"
edition.workspace = true
license.workspace = true

Expand Down Expand Up @@ -30,7 +30,9 @@ tar = "0.4.40"
tokio.workspace = true
tokio-util.workspace = true
tokio-stream.workspace = true
similar-asserts = { version = "1.4.2", features = ["serde"], git = "https://github.com/bigherc18/similar-asserts.git" }
similar-asserts = { version = "1.4.2", features = [
"serde",
], git = "https://github.com/bigherc18/similar-asserts.git" }
walkdir = "2.3.3"
tracing.workspace = true
tempfile.workspace = true
11 changes: 11 additions & 0 deletions sinks/sink-console/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ The format is based on [Common Changelog](https://common-changelog.org/), and
this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.2] - 2024-01-19

_Improve `--allow-net` flag usage._

### Changed

- When the `--allow-net` flag is used and the value passed to it is an empty
string, treat it as equivalent to allowing any host. This is especially useful
if you're setting the flag with the `ALLOW_NET` environment variable.

## [0.4.1] - 2024-01-16

_Enable network access._
Expand Down Expand Up @@ -165,6 +175,7 @@ _This release improves the developer experience when running locally._

_First tagged release 🎉_

[0.4.2]: https://github.com/apibara/dna/releases/tag/sink-console/v0.4.2
[0.4.1]: https://github.com/apibara/dna/releases/tag/sink-console/v0.4.1
[0.4.0]: https://github.com/apibara/dna/releases/tag/sink-console/v0.4.0
[0.3.8]: https://github.com/apibara/dna/releases/tag/sink-console/v0.3.8
Expand Down
2 changes: 1 addition & 1 deletion sinks/sink-console/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apibara-sink-console"
version = "0.4.1"
version = "0.4.2"
edition.workspace = true
authors.workspace = true
repository.workspace = true
Expand Down
11 changes: 11 additions & 0 deletions sinks/sink-mongo/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ The format is based on [Common Changelog](https://common-changelog.org/), and
this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.2] - 2024-01-19

_Improve `--allow-net` flag usage._

### Changed

- When the `--allow-net` flag is used and the value passed to it is an empty
string, treat it as equivalent to allowing any host. This is especially useful
if you're setting the flag with the `ALLOW_NET` environment variable.

## [0.5.1] - 2024-01-16

_Enable network access._
Expand Down Expand Up @@ -202,6 +212,7 @@ _This release improves the developer experience when running locally._

_First tagged release 🎉_

[0.5.2]: https://github.com/apibara/dna/releases/tag/sink-mongo/v0.5.2
[0.5.1]: https://github.com/apibara/dna/releases/tag/sink-mongo/v0.5.1
[0.5.0]: https://github.com/apibara/dna/releases/tag/sink-mongo/v0.5.0
[0.4.10]: https://github.com/apibara/dna/releases/tag/sink-mongo/v0.4.10
Expand Down
2 changes: 1 addition & 1 deletion sinks/sink-mongo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apibara-sink-mongo"
version = "0.5.1"
version = "0.5.2"
edition.workspace = true
authors.workspace = true
repository.workspace = true
Expand Down
11 changes: 11 additions & 0 deletions sinks/sink-parquet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ The format is based on [Common Changelog](https://common-changelog.org/), and
this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.2] - 2024-01-19

_Improve `--allow-net` flag usage._

### Changed

- When the `--allow-net` flag is used and the value passed to it is an empty
string, treat it as equivalent to allowing any host. This is especially useful
if you're setting the flag with the `ALLOW_NET` environment variable.

## [0.4.1] - 2024-01-16

_Enable network access and multiple datasets generation._
Expand Down Expand Up @@ -172,6 +182,7 @@ _This release improves the developer experience when running locally._

_First tagged release 🎉_

[0.4.2]: https://github.com/apibara/dna/releases/tag/sink-parquet/v0.4.2
[0.4.1]: https://github.com/apibara/dna/releases/tag/sink-parquet/v0.4.1
[0.4.0]: https://github.com/apibara/dna/releases/tag/sink-parquet/v0.4.0
[0.3.8]: https://github.com/apibara/dna/releases/tag/sink-parquet/v0.3.8
Expand Down
2 changes: 1 addition & 1 deletion sinks/sink-parquet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apibara-sink-parquet"
version = "0.4.1"
version = "0.4.2"
edition.workspace = true
authors.workspace = true
repository.workspace = true
Expand Down
11 changes: 11 additions & 0 deletions sinks/sink-postgres/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ The format is based on [Common Changelog](https://common-changelog.org/), and
this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.3] - 2024-01-19

_Improve `--allow-net` flag usage._

### Changed

- When the `--allow-net` flag is used and the value passed to it is an empty
string, treat it as equivalent to allowing any host. This is especially useful
if you're setting the flag with the `ALLOW_NET` environment variable.

## [0.5.2] - 2024-01-16

_Enable network access._
Expand Down Expand Up @@ -214,6 +224,7 @@ _This release improves the developer experience when running locally._

_First tagged release 🎉_

[0.5.3]: https://github.com/apibara/dna/releases/tag/sink-postgres/v0.5.3
[0.5.2]: https://github.com/apibara/dna/releases/tag/sink-postgres/v0.5.2
[0.5.1]: https://github.com/apibara/dna/releases/tag/sink-postgres/v0.5.1
[0.5.0]: https://github.com/apibara/dna/releases/tag/sink-postgres/v0.5.0
Expand Down
2 changes: 1 addition & 1 deletion sinks/sink-postgres/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apibara-sink-postgres"
version = "0.5.2"
version = "0.5.3"
edition.workspace = true
authors.workspace = true
repository.workspace = true
Expand Down
11 changes: 11 additions & 0 deletions sinks/sink-webhook/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ The format is based on [Common Changelog](https://common-changelog.org/), and
this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.2] - 2024-01-19

_Improve `--allow-net` flag usage._

### Changed

- When the `--allow-net` flag is used and the value passed to it is an empty
string, treat it as equivalent to allowing any host. This is especially useful
if you're setting the flag with the `ALLOW_NET` environment variable.

## [0.4.1] - 2024-01-16

_Enable network access._
Expand Down Expand Up @@ -167,6 +177,7 @@ _This release improves the developer experience when running locally._

_First tagged release 🎉_

[0.4.2]: https://github.com/apibara/dna/releases/tag/sink-webhook/v0.4.2
[0.4.1]: https://github.com/apibara/dna/releases/tag/sink-webhook/v0.4.1
[0.4.0]: https://github.com/apibara/dna/releases/tag/sink-webhook/v0.4.0
[0.3.8]: https://github.com/apibara/dna/releases/tag/sink-webhook/v0.3.8
Expand Down
2 changes: 1 addition & 1 deletion sinks/sink-webhook/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apibara-sink-webhook"
version = "0.4.1"
version = "0.4.2"
edition.workspace = true
authors.workspace = true
repository.workspace = true
Expand Down

0 comments on commit ab41632

Please sign in to comment.