Releases: slingdata-io/sling-cli
Releases · slingdata-io/sling-cli
v1.3.3
Sling v1.3.3 (2024-12-16T12:00:58Z)
See https://github.com/slingdata-io/sling-cli/ for more details.
v1.3.2
Sling v1.3.2 (2024-12-03T21:10:25Z)
See https://github.com/slingdata-io/sling-cli/ for more details.
v1.3.1
Sling v1.3.1 (2024-12-01T20:06:12Z)
See https://github.com/slingdata-io/sling-cli/ for more details.
v1.2.24
v1.2.23
Sling v1.2.23
Major Changes
-
Removed Iterate Flag
- Removed the
iteratefunctionality from CLI run command - Simplified run logic by removing iteration loop
- Removed the
-
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
-
SFTP Enhancements
- Updated SFTP file creation to handle SSH_FX_OP_UNSUPPORTED errors
- Added fallback to OpenFile when Create is not supported
-
Snowflake Updates
- Renamed
internalStageproperty tointernal_stage - Added schema usage before operations
- Fixed stage folder path construction
- Renamed
Minor Changes
-
URL Fixes
- Fixed homepage URLs in goreleaser configs
- Updated various CDN URLs to use new domain
-
UI/Documentation
- Updated Discord badge in README
- Added execution ID to metadata tracking
- Improved error messages and logging
-
Dependencies
- Updated various dependencies, including
github.com/flarco/g - Updated SFTP package to newer version
- Updated various dependencies, including
-
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
Sling v1.2.22
- Direct Insert Support
- Added new
SLING_DIRECT_INSERTenvironment variable to enable direct table inserts - Implemented
writeToDbDirectly()function to bypass temp table creation - Added new test cases for direct insert functionality
- 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
- 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
- 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
Sling v1.2.21
Main Changes
-
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/gormfrom v1.25.9 to v1.25.10. - Updated
github.com/trinodb/trino-go-clientfrom v0.316.0 to v0.318.0.
- Updated several Go module dependencies, including
-
GitHub Actions Updates
- Updated the Infisical action from v2 to v3 across multiple workflow files.
- Modified environment variable handling in workflows.
-
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.
-
Documentation Updates
- Significantly revised the README.md, particularly the "Contributing" section.
- Added more detailed guidelines for branch naming, testing, and pull request processes.
-
Testing Enhancements
- Added new test files and updated existing test suites.
- Improved test configuration and execution instructions.
v1.2.20
v1.2.19
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_nameandis_viewcolumns to table and view queries - Modified queries to support optional schema filtering
- Standardized ordering of results
- Added
-
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