# Changelog

All notable changes to Sparvi Core will be documented in this file.

## 0.7.2 - 2025-10-02
### Added
- **dbt Integration**: New `sparvi dbt upload` command to upload dbt artifacts (manifest.json, run_results.json) to Sparvi platform
- `sparvi dbt list` command to list all dbt projects in organization
- Auto-discovery of dbt artifacts in ./target/ directory
- API key authentication support for CLI operations
- Added httpx>=0.24.0 dependency for HTTP requests

## [0.6.0] - 2025-08-12
### Added
- Full BigQuery connection support with `sqlalchemy-bigquery` and `google-cloud-bigquery` drivers
- Full Redshift connection support with `sqlalchemy-redshift` driver
- BigQueryConnectionManager with optimized settings (location, billing limits, NullPool)
- RedshiftConnectionManager with security defaults (SSL, timeouts)
- Enhanced validation operator support: added symbolic operators (`>`, `<`, `==`, `>=`, `<=`, `!=`) alongside verbose names
- Updated the connection factory to route BigQuery/Redshift connections to specialized managers

### Fixed
- Validation logic now properly handles both symbolic (`>`) and verbose (`greater_than`) operators
- Fixed issue where validation rules with symbolic operators would incorrectly default to `is_valid: false`

### Changed
- Extended requirements.txt to include BigQuery and Redshift SQLAlchemy drivers
- Improved operator validation to support both formats for better user experience

## [0.5.2] - 2025-03-10
### Changed
- Version bump

## [0.5.1] - 2025-03-09
### Changed
- Version bump

## [0.5.0] - 2025-03-09
### Added
- Snowflake support as the default database adapter
- Snowflake-specific SQL optimizations for better performance
- Environment variable integration for Snowflake credentials
- New examples demonstrating Snowflake usage patterns

### Changed
- Modified default connection string to use Snowflake format
- Updated installation requirements to include snowflake-sqlalchemy by default
- Optimized profiling queries specifically for Snowflake architecture
- Improved adapter selection to prioritize Snowflake connections

### Fixed
- SQL dialect handling for Snowflake regex patterns
- Date and time functions adjusted for Snowflake syntax

## [0.4.2] - 2025-03-05
### Fixed
- Fixed profile_table queries

## [0.4.1] - 2025-03-04
### Fixed
- Fixed URL in documentation

### Changed
- Updated profile engine to default to no row level samples returned

## [0.4.0] - 2025-03-04
### Added
- Initial release of Sparvi Core package
- CLI for profile and validation commands
- Profile engine for data profiling
- Validation framework with default rules