Sling v1.5.1 (2025-12-07T10:54:11Z)
New Features
Directory-Based Runs
- Run all replications/pipelines in a directory: You can now pass a directory path to sling run, and it will automatically discover
and execute all valid replication and pipeline YAML files within it - Files are executed in order with clear visual separators showing progress
- Summary shows successes/failures after completion
API Specification Enhancements
- Modifier syntax for response rules/processors: New +rules, rules+, +processors, processors+ syntax allows prepending or appending
rules and processors to API spec endpoints - Setup/Teardown modifiers: Similar +setup, setup+, +teardown, teardown+ syntax for endpoint setup and teardown configurations
- JSON object/array detection in template variables: Template variables in API specs now properly detect and handle JSON objects and
arrays
New Transform Functions
- regex_replace(string, pattern, replacement): Replace regex pattern matches in strings, supports backreferences (e.g., $1, $2)
Database Improvements
- ClickHouse keep-alive mechanism: Prevents idle connection timeouts during long bulk imports by periodically sending heartbeat
queries - DuckDB updated to v1.4.2: Latest DuckDB version with improvements and fixes
- DuckDB binary pre-download for threaded replications: Avoids race conditions when multiple threads need DuckDB simultaneously
Snowflake Enhancements
- MFA token caching: Improved support for Snowflake connections with MFA
OpenTelemetry Integration
- OTEL logging support: New OpenTelemetry dependencies for enhanced logging and observability
- Configure via SLING_OTEL_ENDPOINT environment variable
Pipeline Improvements
- Skip steps on previous error: Pipeline steps are now automatically skipped if a previous step errored
- Parameter rendering in hooks: Dynamic value handling in hook parameters
Bug Fixes
- Fixed table creation check: CREATE TABLE statements now properly check for existence before creation
- Removed deprecated --config CLI flag: Cleanup of legacy options
- Improved progress message formatting: Cleaner task execution output