Skip to content

Releases: apibara/dna

Postgres Sink v0.3.0

11 Sep 12:30
Compare
Choose a tag to compare

Bring support for TLS connections.

Changed

  • Breaking: use TLS by default. You can revert to the old insecure
    connection by using the --no-tls=true CLI flag, or setting
    sinkOptions.noTls: true in your script.

Added

  • You can now connect to PostgreSQL securely using TLS connections. The TLS
    connection can be customized by providing a self-signed certificate, or by
    enabling/disabling certificate and hostname validation.

Starknet v1.1.2

05 Sep 11:54
Compare
Choose a tag to compare

Add a new Status method to the gRPC service.

Added

  • Add a Status method to the Stream gRPC service. This method is used to
    query the current service ingestion state.
  • Add --address CLI flag to change on which address the DNA service listens
    for connections. Defaults to 0.0.0.0:7171 for backward compatibility.

Mongo Sink v0.3.0

29 Aug 11:35
Compare
Choose a tag to compare

Introduce entity mode to index stateful entities.

Added

  • Add entity mode to index stateful entities. When this mode is turned on
    (by setting the entityMode option to true), the indexer behaviour changes
    to enable updating entities while indexing.
    The return value of the transform is expected to be a list of { entity, update }
    objects, where update is a MongoDB update document or pipeline.
    Please refer to the document to read more about entity mode.

Webhook Sink v0.2.0

21 Aug 15:29
Compare
Choose a tag to compare

This release improves the developer experience when running locally.

Added

  • Add a --persist-to-fs=my-dir flag to persist the indexer's state to the
    filesystem. This option creates a new directory (specified by the user) and
    writes the indexer's current state to a file, with one file per indexer.
    Developers shouldn't use this option for production, but only for
    development since it lacks any locking mechanism to prevent multiple copies
    of the same indexer running at the same time.

Changed

  • The transform function now is invoked with a single block of data.
  • In "raw mode", each value returned by the transform function is sent as an
    individual request.

Postgres Sink v0.2.0

21 Aug 15:28
Compare
Choose a tag to compare

This release improves the developer experience when running locally.

Added

  • Add a --persist-to-fs=my-dir flag to persist the indexer's state to the
    filesystem. This option creates a new directory (specified by the user) and
    writes the indexer's current state to a file, with one file per indexer.
    Developers shouldn't use this option for production, but only for
    development since it lacks any locking mechanism to prevent multiple copies
    of the same indexer running at the same time.

Changed

  • The transform function now is invoked with a single block of data.
    Batching is a low-level mechanism used to control how often data is written to Postgres,
    but it shouldn't affect the transform step.

Parquet Sink v0.2.0

21 Aug 15:27
Compare
Choose a tag to compare

This release improves the developer experience when running locally.

Added

  • Add a --persist-to-fs=my-dir flag to persist the indexer's state to the
    filesystem. This option creates a new directory (specified by the user) and
    writes the indexer's current state to a file, with one file per indexer.
    Developers shouldn't use this option for production, but only for
    development since it lacks any locking mechanism to prevent multiple copies
    of the same indexer running at the same time.

Changed

  • The transform function now is invoked with a single block of data.

Mongo Sink v0.2.0

21 Aug 15:26
Compare
Choose a tag to compare

This release improves the developer experience when running locally.

Added

  • Add a --persist-to-fs=my-dir flag to persist the indexer's state to the
    filesystem. This option creates a new directory (specified by the user) and
    writes the indexer's current state to a file, with one file per indexer.
    Developers shouldn't use this option for production, but only for
    development since it lacks any locking mechanism to prevent multiple copies
    of the same indexer running at the same time.

Changed

  • The transform function now is invoked with a single block of data.
    Batching is a low-level mechanism used to control how often data is written to Mongo,
    but it shouldn't affect the transform step.

Console Sink v0.2.0

21 Aug 15:21
Compare
Choose a tag to compare

This release improves the developer experience when running locally.

Added

  • Add a --persist-to-fs=my-dir flag to persist the indexer's state to the
    filesystem. This option creates a new directory (specified by the user) and
    writes the indexer's current state to a file, with one file per indexer.
    Developers shouldn't use this option for production, but only for
    development since it lacks any locking mechanism to prevent multiple copies
    of the same indexer running at the same time.

Changed

  • The transform function now is invoked with a single block of data.

Starknet v1.1.1

18 Aug 09:51
Compare
Choose a tag to compare

Improve compatibility with Starknet 0.12.1 and RPC 0.4.0.

Change

  • Update the Starknet client used. This ensures we have a better compatibility
    with RPC 0.4.

cli/v0.1.0

11 Aug 15:30
Compare
Choose a tag to compare

First tagged release 🎉