Skip to content

V1.5.12#715

Merged
flarco merged 14 commits intomainfrom
v1.5.12
Mar 9, 2026
Merged

V1.5.12#715
flarco merged 14 commits intomainfrom
v1.5.12

Conversation

@flarco
Copy link
Copy Markdown
Collaborator

@flarco flarco commented Mar 9, 2026

New Features

  • --home-dir flag: New flag across sling run and all sling conns subcommands (list, test, set, unset, exec, discover) to specify a custom sling home directory. Sets SLING_HOME_DIR and reloads connections accordingly.

  • Column merge with defaults (+ prefix): Stream-level columns: entries prefixed with + now merge with defaults.columns instead of replacing them. Use +column_name: ~ to unset a default. Without +, legacy replace behavior is preserved.

  • Pipeline store variables in replications: {store.xxx} variables set in pipeline steps are now accessible in inline replication where: and sql: fields.

  • API spec range_step support: Added range_step to the endpoint context map, enabling three-part range expressions for backfill.

  • API spec state variable rendering in jmespath / jq: State variables (e.g. {state.endpoint_name}) are now resolved inside jmespath and jq response record expressions.

Bug Fixes

  • SLING_LOGGING env from replication: Moved SLING_LOGGING env handling from per-task to replication-level so it takes effect before stream execution and properly reinitializes the logger.

  • Direct insert incremental state: writeToDbDirectly now calls SyncColumns() and SyncStats() so incremental state (e.g. datetime update keys) is correctly captured after direct insert writes.

  • Auth token refresh on retry: API retry logic now refreshes HTTP request headers from conn.State.Auth.Headers before resending, fixing stale token issues after server-side token rotation (both single-request and mid-pagination scenarios).

  • Windows path handling: CleanWindowsPath applied to local file locations in ParseLocation, API spec file:// paths, env file paths, and SLING_HOME_DIR.

  • Oracle chunking with custom SQL: Fixed AS table alias syntax for Oracle (which doesn't support AS for subquery aliases).

@flarco flarco merged commit af5112d into main Mar 9, 2026
1 check passed
@flarco flarco deleted the v1.5.12 branch March 9, 2026 18:15
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.

1 participant