github microsoft/mssql-python v0.13.1-preview

pre-release3 days ago

Release Notes - Version 0.13.1

Bug Fixes

  • Access Token Issue (EntraID Auth) (#285)

    What changed: Fixed authentication token handling to resolve connection failures with Microsoft Entra ID
    Who benefits: Applications using Microsoft Entra ID (formerly Azure Active Directory) authentication
    Impact: Restored reliable authentication for EntraID-based connections

    Fixes #286

  • Timezone Preservation in DATETIMEOFFSET (#281)

    What changed: Removed forced UTC conversion when reading datetimeoffset values, preserving original timezone information in Python datetime objects
    Who benefits: Applications working with timezone-aware data across multiple time zones
    Impact: Accurate timezone representation without data loss from UTC conversion

    Fixes #213

  • Connection Pooling Resource Cleanup (#268)

    What changed: Added shutdown tracking to prevent multiple pool cleanup operations and resource leaks, ensuring cleanup executes only once
    Who benefits: Applications using connection pooling, especially long-running services
    Impact: Improved pool shutdown reliability and prevention of resource leaks

    Fixes #267

  • UUID String Mapping Removal (#274)

    What changed: Removed automatic string-to-UUID conversion logic in parameter binding, treating UUID strings as regular strings
    Who benefits: Applications passing UUID strings that should be handled as text rather than binary GUIDs
    Impact: More predictable string parameter handling without automatic type coercion

    Fixes #241

Infrastructure

  • Enhanced Pooling Test Coverage (#268)

    What changed: Added comprehensive test suite for connection pooling with 421 new test lines and testing utilities for reliable test isolation
    Who benefits: Contributors and maintainers
    Impact: Improved quality assurance for connection pooling functionality

This hotfix release addresses critical authentication, timezone handling, and resource management issues discovered in v0.13.0, ensuring production stability for enterprise deployments.

Don't miss a new mssql-python release

NewReleases is sending notifications on new releases.