v0.6.0
Added
- PEM certificate support:
CertificateAuth::from_pem()constructor for users with PEM-formatted certificates (common in Linux/Kubernetes environments) - Decimal support for Money types: Money, SmallMoney, and MoneyN columns now return
rust_decimal::Decimalwhen thedecimalfeature is enabled, preventing precision loss in financial applications - Optional TLS feature: TLS dependencies are now behind the
tlsfeature flag (enabled by default). Disable forEncrypt=no_tlsconnections to reduce binary size (~2-3 MB) and speed up compilation. Useful for enterprise internal networks, Kubernetes clusters, and legacy SQL Server environments
Fixed
- VARCHAR decoding for non-UTF8 encodings: Fixed incorrect decoding of VARCHAR columns with legacy encodings (GBK, Shift-JIS, etc.) where the UTF-8 fast-path would incorrectly accept valid UTF-8 byte sequences that were actually non-UTF8 encoded data
- Security vulnerabilities: Updated dependencies to resolve RUSTSEC-2026-0001 (rkyv) and RUSTSEC-2026-0002 (lru)
Changed
- Money type parsing consolidated into single
parse_money_value()helper function
What's Changed
- fix(mssql-client): bug fixed to decode_varchar_string by @c5soft in #31
- fix(deps): update dependencies to resolve security advisories by @jkindrix in #44
- feat(auth): add PEM certificate support for CertificateAuth by @jkindrix in #45
- chore: release v0.6.0 by @jkindrix in #46
- feat(client): make TLS dependencies optional via
tlsfeature flag by @jkindrix in #48
New Contributors
Full Changelog: v0.5.2...v0.6.0