Skip to content

v1.5.9#709

Merged
flarco merged 18 commits intomainfrom
v1.5.9
Feb 23, 2026
Merged

v1.5.9#709
flarco merged 18 commits intomainfrom
v1.5.9

Conversation

@flarco
Copy link
Collaborator

@flarco flarco commented Feb 22, 2026

Change Data Capture (CDC)

  • New change-capture replication mode
  • Supports initial full/chunked snapshot then incremental CDC
  • New merge strategies: change_capture and change_capture_soft (soft delete)
  • CDC merge templates for: Postgres, MySQL, Snowflake, BigQuery, SQL Server, DuckDB, Redshift, Databricks, ClickHouse, SQLite, D1, DB2, Exasol, Oracle, StarRocks
  • Pre-release for testing, not ready for production yet

Chunking Improvements

  • Optional WHERE clause support added to chunk query functions
  • Fix bug where start-date is 0000-01-01

CLI Cleanup

  • Removed legacy subcommands
  • Centralized execution ID into core/env package (env.ExecID)
  • Enhanced file logging: exec ID prefix and log cleanup (added SLING_LOG_DIR env vars)

Proxy Support

  • New SLING_PROXY environment variable (or proxy_url per-connection property) for proxy configuration

Bug Fixes

  • StreamRowsContext column mapping streamlined; sync issue fixed
  • Prometheus connector: consistent float conversion via toFloat method
  • Time format strings in NewStreamProcessor clarified
  • MySQL/MariaDB primary key handling improved in GenerateDDL
  • InferColumnTypes preserves explicit types for empty datasets

@flarco flarco changed the title feat: add chunking support with where clause and update related tests v1.5.9 Feb 22, 2026
- add `change-capture` mode with `change_capture` and `change_capture_soft` merge strategies
- implement cdc merge templates for postgres, mysql, snowflake, bigquery,
  sql server, duckdb, redshift, databricks, clickhouse, sqlite, d1, db2,
  exasol, oracle, starrocks
- use `_sling_cdc_seq` for ordering change events in merge operations
- include new `cdcopts` for detailed configuration of cdc mode
- improve `generateddl` for mysql/mariadb primary key handling
- add new test pipelines for `cdc_merge` strategy across various targets
- update `infercolumntypes` to preserve explicit types for empty datasets
- add `drainreprocess` utility for push-based datastreams
- update go dependencies
feat: add SOCKS5 proxy support via ALL_PROXY env var
- introduce `SLING_PROXY` environment variable for proxy configuration
- allow setting proxy URL directly on connection via `PROXY_URL` property
- prioritize `PROXY_URL` over `SLING_PROXY` environment variable
- pass proxy URL directly to `OpenTunnelProxy` for improved clarity and testability
- remove dependency on generic `ALL_PROXY` environment variable
  - move NewExecID function to core/env package
  - initialize env.ExecID from environment variable or generate new if not present
  - update all internal usages to reference env.ExecID directly for consistency

remove cloud replication management
  - remove 'sling cloud' subcommands including login, status, deploy, and run
  - streamline CLI by removing direct cloud interaction features
fix(replication): ensure user-specified range min is respected in incremental mode
@flarco flarco merged commit ba79f80 into main Feb 23, 2026
1 check passed
@flarco flarco deleted the v1.5.9 branch February 23, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants