Skip to content

Releases: slingdata-io/sling-cli

v1.3.3

16 Dec 12:01
7f2ea7c

Choose a tag to compare

Sling v1.3.3 (2024-12-16T12:00:58Z)

See https://github.com/slingdata-io/sling-cli/ for more details.

v1.3.2

03 Dec 21:06

Choose a tag to compare

Sling v1.3.2 (2024-12-03T21:10:25Z)

See https://github.com/slingdata-io/sling-cli/ for more details.

v1.3.1

01 Dec 20:01

Choose a tag to compare

Sling v1.3.1 (2024-12-01T20:06:12Z)

See https://github.com/slingdata-io/sling-cli/ for more details.

v1.2.24

26 Nov 23:12
2ace22f

Choose a tag to compare

Sling v1.2.24 (2024-11-26T23:47:50Z)

Fix Prometheus basic auth

v1.2.23

24 Nov 18:29
a910029

Choose a tag to compare

Sling v1.2.23

Major Changes

  1. Removed Iterate Flag

    • Removed the iterate functionality from CLI run command
    • Simplified run logic by removing iteration loop
  2. Database Improvements

    • Added better context cancellation handling in database streaming
    • Enhanced SQLite binary download URLs
    • Improved SQL Server connection string handling
    • Updated Oracle SQLLoader column handling for large strings
    • Added support for unsigned integers in MySQL/MariaDB type mappings
  3. SFTP Enhancements

    • Updated SFTP file creation to handle SSH_FX_OP_UNSUPPORTED errors
    • Added fallback to OpenFile when Create is not supported
  4. Snowflake Updates

    • Renamed internalStage property to internal_stage
    • Added schema usage before operations
    • Fixed stage folder path construction

Minor Changes

  1. URL Fixes

    • Fixed homepage URLs in goreleaser configs
    • Updated various CDN URLs to use new domain
  2. UI/Documentation

    • Updated Discord badge in README
    • Added execution ID to metadata tracking
    • Improved error messages and logging
  3. Dependencies

    • Updated various dependencies, including github.com/flarco/g
    • Updated SFTP package to newer version
  4. Configuration

    • Added support for extra BCP arguments in SQL Server

Bug Fixes

  • Fixed byte counting in CSV writing
  • Improved error handling in various database operations
  • Fixed constraint failure handling
  • Enhanced context cancellation checks in database operations

v1.2.22

24 Oct 14:04
6b272de

Choose a tag to compare

Sling v1.2.22

  1. Direct Insert Support
  • Added new SLING_DIRECT_INSERT environment variable to enable direct table inserts
  • Implemented writeToDbDirectly() function to bypass temp table creation
  • Added new test cases for direct insert functionality
  1. File Path Improvements
  • Added CleanTableName() function to sanitize table names in temp file paths
  • Updated temp file paths across multiple database connectors to use cleaned table names
  • Made temp file paths more consistent and descriptive
  1. Stream Configuration Updates
  • Refactored stream configuration handling to use structured configs instead of maps
  • Added LoaderStreamConfig() for standardized loader configurations
  • Improved compression and datetime format handling
  1. Database Connector Enhancements
  • Added trusted connection support for SQL Server
  • Updated Prometheus client authentication
  • Improved error handling and transaction management
  • Enhanced column casing support for upserts

v1.2.21

21 Oct 10:01
73216e1

Choose a tag to compare

Sling v1.2.21

Main Changes

  1. Dependency Updates

    • Updated several Go module dependencies, including golang.org/x/crypto, golang.org/x/exp, golang.org/x/net, golang.org/x/sys, golang.org/x/term, golang.org/x/text, golang.org/x/time, golang.org/x/tools, and various Google APIs.
    • Updated gorm.io/gorm from v1.25.9 to v1.25.10.
    • Updated github.com/trinodb/trino-go-client from v0.316.0 to v0.318.0.
  2. GitHub Actions Updates

    • Updated the Infisical action from v2 to v3 across multiple workflow files.
    • Modified environment variable handling in workflows.
  3. Code Improvements

    • Enhanced error handling and logging in various parts of the codebase.
    • Improved configuration parsing and handling.
    • Updated CLI command processing and output formatting.
  4. Documentation Updates

    • Significantly revised the README.md, particularly the "Contributing" section.
    • Added more detailed guidelines for branch naming, testing, and pull request processes.
  5. Testing Enhancements

    • Added new test files and updated existing test suites.
    • Improved test configuration and execution instructions.

v1.2.20

24 Sep 19:00

Choose a tag to compare

Sling v1.2.20

Bug Fixes

  • Improved error handling in MergeDataflow function
    • Now properly closes datastream on error
  • Fixed potential issue in MakeShaper function
    • Now uses Names(true) to get column names, ensuring consistent behavior

v1.2.19

22 Sep 20:00

Choose a tag to compare

Sling v1.2.19 (2024-09-22T20:03:08Z)

Summary of Changes

Configuration and Templates

  • Updated various database templates (e.g., Azure SQL, BigQuery, Clickhouse, DuckDB, MariaDB, MySQL, Oracle, Postgres, Redshift, Snowflake, SQLite, SQL Server, StarRocks, Trino) to include:

    • Added schema_name and is_view columns to table and view queries
    • Modified queries to support optional schema filtering
    • Standardized ordering of results
  • Updated DuckDB template:

    • Added stream scanner functions for various file formats
    • Added timestamp layout variables
  • Updated Motherduck template:

    • Added scan functions for Iceberg, Delta, and Parquet formats

Core Functionality

  • Enhanced environment variable handling in env.go
  • Improved error handling and panic recovery in config unmarshalling
  • Added support for SQL-based streaming in file sources
  • Enhanced incremental value handling for database sources
  • Improved wildcard processing for replication configs
  • Added dataset output option for file targets

Build and CI Scripts

  • Added connection discovery step to build scripts
  • Created new preparation scripts for Linux, macOS, and Windows

Testing

  • Updated test scripts to use a centralized CLI test

Dependencies

  • Updated various Go module dependencies

v1.2.18

30 Aug 08:27

Choose a tag to compare

Sling v1.2.18 (2024-08-30T08:29:24Z)

Changelog

  • Fix sling conns test