v1.1.21
Changed
-
Codegen: substreams-database-change to v1.3, properly generates primary key to support chain reorgs in postgres sink.
-
Sink server commands all moved from
substreams alpha sink-*
tosubstreams alpha service *
-
Sink server: support for deploying sinks with DBT configuration, so that users can deploy their own DBT models (supported on postgres and clickhouse sinks). Example manifest file segment:
[...] sink: module: db_out type: sf.substreams.sink.sql.v1.Service config: schema: "./schema.sql" wire_protocol_access: true postgraphile_frontend: enabled: true pgweb_frontend: enabled: true dbt: files: "./dbt" run_interval_seconds: 60
where "./dbt" is a folder containing the dbt project.
-
Sink server: added REST interface support for clickhouse sinks. Example manifest file segment:
[...] sink: module: db_out type: sf.substreams.sink.sql.v1.Service config: schema: "./schema.clickhouse.sql" wire_protocol_access: true engine: clickhouse postgraphile_frontend: enabled: false pgweb_frontend: enabled: false rest_frontend: enabled: true
Fixed
- Fix
substreams info
cli doc field which wasn't printing any doc output