Changelog History
Page 1
-
v2.2.5 Changes
April 12, 2022General
- โ 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, 2022General
- ๐ง Build wheels for Python-3.10 on Linux.
- ๐ Fix include paths in setup.py.
-
v2.2.3 Changes
December 21, 2021General
- ๐ 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, 2021General
- ๐ 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, 2021General
- ๐ง 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, 2021General
- โ 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.
Internals
- ๐ Introduce script dev/build.py to build FreeTDS and pymssql wheels.
- Simplify setup.py, introduce environment variables to select FreeTDS includes and libraries.
-
v2.1.5 Changes
September 17, 2020General
โช 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, 2018General
๐ 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 ofpymssql.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
andDATETIME2
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
andIMAGE
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