github microsoft/mssql-python v0.9.0-preview

pre-release23 days ago

Release Notes

Features

  • Alpine Linux Support (#169)

    What changed:
    Added support for Alpine Linux distribution, expanding the Linux compatibility beyond the existing manylinux2014 support
    Who benefits:
    Developers using Alpine based docker containers and Alpine Linux systems
    Impact:
    Broader platform compatibility for containerized deployments and Alpine based development environments

Improvements

  • Enhanced Connection Pooling Tests (#159)

    What changed:
    Added performance testing to measure pooled vs. non-pooled connection speed (ensuring 20% performance improvement)
    Introduced connection reuse validation using SQL Server Process ID (SPID) tracking
    Improved test isolation with explicit pooling enable/disable
    Who benefits:
    Developers relying on connection pooling performance and QA teams validating pooling behavior
    Impact:
    More reliable connection pooling validation and performance assurance

  • Type System Compatibility (#157)

    What changed:
    Refactored type objects (STRING, BINARY, NUMBER, DATETIME, ROWID) to inherit from Python built-in types
    Updated constructors to use new methods for direct instantiation
    Enhanced Binary function to handle both str and bytes inputs
    Modified timestamp handling for better compatibility
    Who benefits:
    Developers migrating from pyodbc to mssql-python or working with type-sensitive applications
    Impact:
    Improved pyodbc compatibility and more intuitive type behavior

Bug Fixes

  • Autocommit Behavior Fix (#158)

    What changed:
    Set autocommit to False by default and added rollback on connection close
    Who benefits:
    Developers expecting standard database transaction behavior
    Impact:
    Improved transaction handling and database consistency

Don't miss a new mssql-python release

NewReleases is sending notifications on new releases.