All Versions
Latest Version
Avg Release Cycle
150 days
Latest Release
735 days ago

Changelog History
Page 1

  • v2.2.5 Changes

    April 12, 2022


    • โž• Added bytes and bytearray to support bulk_copy types, thanks to steve-strickland (#756).
    • ๐Ÿ‘‰ Use FreeTDS-1.3.9 for official wheels on PyPi.
    • ๐Ÿง Enable krb5 in Linux wheels, this time for real (#754).
  • v2.2.4 Changes

    January 23, 2022


    • ๐Ÿง Build wheels for Python-3.10 on Linux.
    • ๐Ÿ›  Fix include paths in
  • v2.2.3 Changes

    December 21, 2021


    • ๐Ÿ— Build wheels for Python-3.10.
    • ๐Ÿ‘‰ Use FreeTDS-1.3.4 for official wheels on PyPi.
    • ๐Ÿง Enable krb5 in Linux wheels (#734).
    • ๐Ÿ›  Fix UnicodeEncodeError for non-ascii database name (#484).
    • ๐Ÿ›  Fix pymssql.Binary (#504).
    • ๐ŸŽ On macOS check for FreeTDS in homebrew prefix when building.
    • ๐Ÿ“š Some documentation changes.
  • v2.2.2 Changes

    July 24, 2021


    • ๐Ÿ‘‰ Use FreeTDS-1.3 for official wheels on PyPi.
    • ๐ŸŽ On macOS use delocate to bundle dependencies when building wheels.
    • ๐Ÿ“š Some documentation changes.
  • v2.2.1 Changes

    April 15, 2021


    • ๐Ÿง Publish Linux wheels for the all supported platforms. manylinux1 wheels are not compatible with modern glibc and OpenSSL.
    • โž• Add readthedocs configuration file.
  • v2.2.0 Changes

    April 08, 2021


    • โž• Add Python-3.9 to the build and test matrix.
    • โฌ‡๏ธ Drop support for Python2 and Python3 < 3.6.
    • ๐Ÿ‘‰ Use FreeTDS-1.2.18 for official wheels on PyPi.

    ๐Ÿ”‹ Features

    • ๐Ÿ‘Œ Support bulk copy (#279). Thanks to Simon.StJG (PR-689).
    • Wheels on PyPI link FreeTDS statically.
    • Wheels on PyPI linked against OpenSSL.
    • Convert pymssql to a package. Potential compatibility issue: projects using low level _mssql module need to import it from pymssql first.

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed a deadlock caused by a missing release of GIL (#540), thanks to filip.stefanak (PR-541) and Juraj Bubniak (PR-683).
    • Prevents memory leak on login failure. Thanks to caogtaa and Simon.StJG (PR-690).
    • ๐Ÿ›  Fix check for TDS version (#652 and #669).
    • ๐Ÿ“š Documentation fixes. Thanks to Simon Biggs, Shane Kimble, Simon.StJG and Dale Evans.


    • ๐Ÿ— Introduce script dev/ to build FreeTDS and pymssql wheels.
    • Simplify, introduce environment variables to select FreeTDS includes and libraries.
  • v2.1.5 Changes

    September 17, 2020


    • โช Revert deprecation

    • ๐Ÿ‘Œ Support Python-3.8. Update tests for Python-3.8 compatibility.

    • ๐Ÿ— Use correct language level for building Cython extension.

    • ๐Ÿ›  Fix FreeTDS version checks. Add check for version 7.4.

    • ๐ŸŽ Use Github Actions for building wheels for Linux, macOS and Windows.

    • โฌ‡๏ธ Drop bundled FreeTDS-0.95 binaries.

    • ๐Ÿš‘ Unless some critical bug is discovered, this will be the last release with Python2 support.

  • v2.1.4 Changes

    August 28, 2018


    • ๐Ÿ‘ Allow linkage against FreeTDS (by dropping usage of deprecated DBVERSION_80 symbol.) (GH-432)

    • 0๏ธโƒฃ Stop using 7.1 as default value for the TDS protocol version used in connections.

    This is a backward incompatible change and affects connections using both pymssql and _mssql.

    Now you need to specify a TDS protocol version explicitly by using any of the supported mechanisms (in descending order of precedence):

    • Using the tds_version paramenter of pymssql.connect() and _mssql.connect()
    • A TDSVER enviromnent variable (see FreeTDS documentation)
    • A freetds.conf file (see FreeTDS documentation)

      • โฌ‡๏ธ Drop support for versions of FreeTDS older than 0.91.
      • Accept 7.3 as TDS protocol version when establishing a connection.
      • โž• Add Python 3.7 support
      • โฌ‡๏ธ Drop Python 3.3 support

    ๐Ÿ”‹ Features

    • ๐Ÿ‘Œ Support for new in SQL Server 2008 DATE, TIME and DATETIME2 data types (GH-156). The following conditions need to be additionally met so values of these column types can be returned from the database as their native corresponding Python data types instead of as strings:

      • Underlying FreeTDS must be 0.95 or newer.
      • TDS protocol version in use must be 7.3 or newer.

    Thanks Ed Avis for the implementation. (GH-331)

    ๐Ÿ› Bug fixes

    • ๐Ÿ‘ Finish implementation of TDS protocol version 7.3 support by actually accepting "7.3" as TDS protocol version when establishing a connection. (GH-455)
    • ๐Ÿ›  Fixed and expanded Python data types that can be used to pass VARBINARY, BINARY and IMAGE SQL Server Stored Procedures input parameters. (GH-425). Thanks Bill Adams for the fix.
    • ๐Ÿ”– Fix tds_version _mssql connection property value for TDS version. 7.1 is actually 7.1 and not 8.0.
  • v2.1.4.rc2

    August 28, 2018
  • v2.1.4.rc1 Changes

    August 05, 2018

    ๐Ÿš€ 2.1.4 Release Candidate 1