Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 13 Jan 22:19
· 564 commits to main since this release
74f4ab4

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::Decimal when the decimal feature is enabled, preventing precision loss in financial applications
  • Optional TLS feature: TLS dependencies are now behind the tls feature flag (enabled by default). Disable for Encrypt=no_tls connections 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 tls feature flag by @jkindrix in #48

New Contributors

Full Changelog: v0.5.2...v0.6.0