v0.4.0
Added
TDS 7.3 Protocol Support (SQL Server 2008/2008 R2)
TdsVersion::V7_3Aconstant for SQL Server 2008TdsVersion::V7_3Bconstant for SQL Server 2008 R2- Connection string option
TDSVersion(orProtocolVersion) to specify TDS version Config::tds_version()builder method for programmatic configurationTdsVersion::parse()for parsing version strings ("7.3", "7.3A", "7.3B", "7.4", "8.0")TdsVersion::sql_server_version_name()for human-readable SQL Server version namesTdsVersion::is_tds_7_3()andTdsVersion::is_tds_7_4()helper methodsTdsVersion::is_legacy()to detect TDS 7.2 and earlierTdsVersion::supports_date_time_types()for feature detection- Version negotiation logging during connection
Testing & CI
- Comprehensive version compatibility test suite (19 tests)
- SQL Server version detection tests
Changed
- BREAKING:
Configstruct marked#[non_exhaustive]- Use
Config::new(),Config::default(), or builder methods to construct - Allows future field additions without breaking changes
- Use
TdsVersion::Displaynow shows correct format (e.g., "TDS 7.3A" instead of "TDS 7.10")- Default TDS version is
V7_4for broad compatibility with SQL Server 2012+ - Setting
TdsVersion::V8_0automatically enablesstrict_mode
Fixed
- Justfile
confirmsyntax compatibility with just 1.45+ - Semver check is now advisory for pre-1.0 releases (breaking changes allowed in 0.x.y)
Full Changelog: v0.3.0...v0.4.0