github slingdata-io/sling-cli v1.6.8

2 days ago

Sling v1.6.8 (2026-11-25T17:09:57Z)

New Features

  • CDC continuous mode: Add a continuous run mode for change data capture. It has stop signal handling, retry of failed cycles, max_session, a state lease with TTL, status and health output, and a reconnect event when the CDC session opens again.
  • CDC: Use the CDC snapshot for full-refresh with CDC options. Warn when behind_after is not greater than interval.
  • sling platform login: Add device-code sign-in for the CLI. The CLI shows the token source.
  • sling platform connection commands: Add commands to save and manage platform connections. Save accepts masked values and many connections.
  • sling skills: Add a command to print the Sling skills in the session. Install one small skill that points to it.
  • Legacy pre_sql / post_sql: Run these hooks on the task target as query hooks.
  • ADBC: Read metadata with GetObjects and keep catalog types.
  • ClickHouse: Map Date32, Decimal32/64/128/256, Enum16, Int128, Int256, UInt128, UInt256 and AggregateFunction native types.
  • Oracle: Map BINARY_FLOAT, BINARY_DOUBLE and TIMESTAMP WITH LOCAL TIME ZONE. Accept a multi-line TNS descriptor.
  • Firebird (ODBC): Treat as schema-less, use FIRST/SKIP limits, map wide numerics and keep the user decimal precision.
  • StarRocks: Map largeint to decimal(38,0).
  • dbt-duckdb: Load dbt-duckdb outputs and report skipped outputs.
  • Excel: Return an error when rows exceed the sheet limit.

Bug Fixes

  • CDC: Fail the run when the CDC state cannot be saved. Decode MySQL binlog values the same way as the snapshot. Fix a per-cycle context leak in continuous mode.
  • Hooks: Keep the cause when copy cannot init from or to. Connect the query hook connection and run post_sql at the post stage.
  • Pipelines: A failed replication step does not cancel the pipeline. Report the rows of threaded replication steps.
  • Incremental state: Use the database type for ODBC state and conns exec. Use the template type for state checkpoints. Format SQLite incremental timestamps to match the stored text.
  • State store: Resolve the Iceberg SQL catalog when the lease store opens. Share the cached state connection with the lease for DuckDB state.
  • DuckDB: Run sessions in UTC. Pre-download the DuckDB version of each connection. Use ReadCsvExpr in named pipe and CSV imports.
  • DuckLake: Do not log a missing target table as an error.
  • Connections: Say why a connection did not load. Record an env var load failure by its upper-case name. Do not reuse a cached database connection with a cancelled context.
  • Env: Expand the variables of the env file on the first parse. Retry the CLI token check after a network error. Get the plan from the agent in thread child processes.
  • API specs: Do not hide spec fetch failures.
  • CLI: Show the spawn error of a child process. Fix status detection for jobs trigger --wait. Use timed-out as the timed out status value. Stop ExecMultiContext at the first failed statement.
  • Data races: Publish task status and stream stats snapshots. Guard TaskExecution.df with a lock. Fix a race in the StreamRowsContext iterator.
  • Memory: Release consumed batch rows and old batches. Keep only the last 100 queries in BaseConn.Log.
  • CSV / datetimes: Keep offset minutes in CSV datetimes and read hour-only offsets back. Split \r cleanup lines on \n too and raise the line limit. Report CR-delimited CSV scan errors.
  • SQLite: Keep the UTC offset of datetimes in bulk loads and convert them to UTC.
  • Excel: Load the stored number of number cells. Read sheet names with GetSheetList so deleted sheets leave no gaps. Keep late columns in row-only ranges.
  • XML: Keep Nan, Inf, Infinity and single-letter t/f text as strings.
  • JSON / Avro: Keep the select order of flattened JSON fields. Propagate Avro scan errors during import.
  • Numbers: Keep all digits of big.Int values outside int64.
  • Partitions: Parse zero-padded partition values as decimal.
  • File targets: Fix file size limits for partitioned and folder file targets. Close the local file at EOF in GetReader.
  • ClickHouse: Cast the source PK in the merge templates. Keep Nullable(T) in the integer cast of the merge.
  • SQL Server: Add OFFSET 0 ROWS to inner SQL with ORDER BY before the derived-table wrap.
  • Templates: Swap the limit and limit_offset keys in base.yaml.
  • Transforms: A null value does not set the column type.
  • ADBC: Skip zero-row Arrow batches in the row reader.
  • Build: Build the cmd/sling package, not a file list.

Don't miss a new sling-cli release

NewReleases is sending notifications on new releases.