Releases: apibara/dna
Releases · apibara/dna
Console Sink v0.3.7
Control indexer timeouts.
Added
- Add new
--script-load-timeout-seconds
and
--script-transform-timeout-seconds
options to control the maximum time the
indexer script has to initialize and transform data respectively.
Starknet v1.2.0
Use Starknet RPC v0.5.
Changed
- The ingestion service now uses Starknet RPC v0.5. To ensure that you're using
the right version, append/rpc/v0.5
to the RPC url for Pathfinder nodes and
/v0_5
for Juno nodes.
Mongo Sink v0.4.8
Write to multiple collections from one indexer.
Added
- Add a new option to write to multiple collections from a single indexer.
ChangecollectionName
tocollectionNames
and specify a list of
collections. When multi collection mode is enabled, the transform function
return value changes. The transform must return data with the following type
{ collection: string, data: T }[]
, that is data together with the
collection where to insert it. Refer to the documentation to learn more about
multi collection mode.
PostgreSQL Sink v0.4.8
Store entities state.
Added
- Add a new
entityMode
option to enable entity mode. In entity mode,
indexers can insert and update stateful entities (like account balances or
token ownership). Please refer to the documentation and examples to learn
more about entity mode.
Starknet v1.1.7
Improve memory usage.
Changed
- Switch the memory allocator to jemalloc. This reduces memory usage to
between one half and a third.
Fixed
- Remove a memory leak in the block ingestion service. Ingestion messages were
queued but never consumed by some receivers, resulting in the process memory
usage growing linearly with the number of ingested blocks.
Webhook Sink v0.3.6
Add new environment-related options.
Added
- Add new
--allow-env-from-env
flag to allow the indexer script to access
the parent process environment variables. Users can pass a list of
comma-separated variables to this option.
Changed
- Cleanup the default logs to only show the current block number.
- To restore the previous, more detailed logs, set the log level to debug.
PostgreSQL Sink v0.4.7
Add new environment-related options.
Added
- Add new
--allow-env-from-env
flag to allow the indexer script to access
the parent process environment variables. Users can pass a list of
comma-separated variables to this option.
Changed
- Cleanup the default logs to only show the current block number.
- To restore the previous, more detailed logs, set the log level to debug.
Parquet Sink v0.3.6
Add new environment-related options.
Added
- Add new
--allow-env-from-env
flag to allow the indexer script to access
the parent process environment variables. Users can pass a list of
comma-separated variables to this option.
Changed
- Cleanup the default logs to only show the current block number.
- To restore the previous, more detailed logs, set the log level to debug.
Mongo Sink v0.4.7
Add new environment-related options.
Added
- Add new
--allow-env-from-env
flag to allow the indexer script to access
the parent process environment variables. Users can pass a list of
comma-separated variables to this option.
Changed
- Cleanup the default logs to only show the current block number.
- To restore the previous, more detailed logs, set the log level to debug.
Console Sink v0.3.6
Add new environment-related options.
Added
- Add new
--allow-env-from-env
flag to allow the indexer script to access
the parent process environment variables. Users can pass a list of
comma-separated variables to this option.
Changed
- Cleanup the default logs to only show the current block number.
- To restore the previous, more detailed logs, set the log level to debug.