Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Dec 19:27
· 609 commits to main since this release

Added

Authentication

  • Azure Managed Identity authentication (azure-identity feature)
  • Azure Service Principal authentication (azure-identity feature)
  • Kerberos/GSSAPI authentication for Linux/macOS (integrated-auth feature)
  • Windows SSPI/Kerberos authentication (sspi-auth feature)
  • Client certificate authentication for Azure AD (cert-auth feature)

Table-Valued Parameters (TVP)

  • Full TVP support with #[derive(Tvp)] macro
  • DateTimeOffset encoding for TVP columns
  • All SQL Server types supported in TVP rows

Always Encrypted

  • Client-side encryption infrastructure
  • Column Encryption Key (CEK) management
  • AEAD_AES_256_CBC_HMAC_SHA256 algorithm support
  • RSA-OAEP key unwrapping

Query Execution

  • Explicit query cancellation via CancelHandle
  • Per-query timeout configuration
  • Secure credential handling with zeroize feature

Observability

  • OpenTelemetry Metrics integration (otel feature)
  • SQL sanitization for span attributes
  • Comprehensive instrumentation module

Other

  • Bulk Copy Protocol (BCP) support for high-performance data loading
  • Comprehensive examples (basic, transactions, bulk_insert, derive_macros, streaming)

Changed

  • Simplified SavePoint struct to remove unnecessary lifetime parameter
  • Row parsing now uses unified decode module from mssql-types for better performance
  • Added #[non_exhaustive] to public enums for semver safety
  • Updated dependencies: sspi 0.18, criterion 0.7, testcontainers 0.25, webpki-roots 1.0

Fixed

  • Cargo.lock consistency for webpki-roots versions
  • CI semver-checks configuration for Kerberos headers

What's Changed

  • ci: bump codecov/codecov-action from 4 to 5 by @dependabot[bot] in #1
  • ci: bump actions/github-script from 7 to 8 by @dependabot[bot] in #3
  • deps: bump criterion from 0.5.1 to 0.7.0 by @dependabot[bot] in #5
  • deps: bump testcontainers from 0.23.3 to 0.25.0 by @dependabot[bot] in #6
  • deps: bump hashbrown from 0.15.5 to 0.16.1 by @dependabot[bot] in #7
  • deps: bump lru from 0.12.5 to 0.16.2 by @dependabot[bot] in #8
  • deps: bump webpki-roots from 0.26.11 to 1.0.4 by @dependabot[bot] in #9
  • ci: bump actions/checkout from 4 to 6 by @dependabot[bot] in #2

New Contributors

Full Changelog: v0.1.0...v0.2.0