Pymssql-linux

Latest version: v2.1.6

Safety actively analyzes 619599 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

7.1

(GH-323)

- Add Dockerfile and a Docker image and instructions on how to use it (GH-258).
This could be a convenient way to use pymssql without having to build stuff.
See http://pymssql.readthedocs.org/en/latest/intro.htmldocker
Thanks Marc Abramowitz.

- Floating point values are now accepted as Stored Procedure arguments
(GH-287). Thanks Runzhou Li (Leo) for the report and Bill Adams for the
implementation.

- Send pymssql version in the appname TDS protocol login record field when the
application doesn't provide one (GH-354)

Bug fixes
---------

- Fix a couple of very common causes of segmentation faults in presence of
network a partition between a pymssql-based app and SQL Server (GH-147,
GH-271) Thanks Marc Abramowitz. See also GH-373.

- Fix failures and inconsistencies in query parameter interpolation when
UTF-8-encoded literals are present (GH-185). Thanks Bill Adams. Also, GH-291.

- Fix ``login_timeout`` parameter of ``pymssql.connect()`` (GH-318)

- Fixed some cases of ``cursor.rowcont`` having a -1 value after iterating
over the value returned by pymssql cursor ``fetchmany()`` and ``fetchone()``
methods (GH-141)

- Remove automatic treatment of string literals passed in queries that start
with ``'0x'`` as hexadecimal values (GH-286)

- Fix build fatal error when using Cython >= 0.22 (GH-311)

Documentation
-------------

- Add installation instructions. Thanks Marc Abramowitz.

- Document DB-API-mandated exceptions.

- Enhance ``_mssql.MSSQLStoredProcedure.bind()`` docs.

- Enhance description of Azure connections requirements.

Internals
---------

- Add Appveyor hosted CI setup for running tests on Windows (GH-347)

- Travis CI: Use newer, faster, container-based infrastructure. Also, test
against more than one FreeTDS version.

- Make it possible to build official release files (sdist, wheels) on Travis &
AppVeyor.

2.1.6

=================================================

- Fix circleci build script

- Update docker-compose.yml to manylinux2010 images

- Prepare package for upload to PyPi as pymssql-linux

2.1.5

=================================================

- Add Python 3.8 support.

- Drop support for Python < 3.6

2.1.4

==============================

General
-------

- Allow linkage against FreeTDS (by dropping usage of deprecated
``DBVERSION_80`` symbol.) (GH-432)

- 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.

2.1.3

===========================================

General
-------

- Windows official binaries: Rollback changes to Windows binaries we had
implemented in pymssql 2.1.2; go back to using:

* A statically linked version of FreeTDS (v0.95.95)
* No SSL support

- Update bundled Linux static version of FreeTDS to v0.95.95.

Features
--------

- We now publish Linux PEP 513 manylinux wheels on PyPI.

Bug fixes
---------

- Add support for reporting TDS version 7.3 is in use via the ``tds_version``
property of a ``_mssql``-level connection.

2.1.2

===========================================

.. attention:: Windows users: You need to download and install additional DLLs

pymssql version 2.1.2 includes a change in the official Windows binaries:
FreeTDS isn't statically linked as it happened up to release 2.1.1, as that
FreeTDS copy lacked SSL support.

Please see http://pymssql.org/en/latest/freetds.htmlwindows for futher
details.

We are trying to find a balance between security and convenience and will
be evaluating the situation for future releases. Your feedback is greatly
welcome.

General
-------

- Drop support for Python 2.6.

- Add support for Python 3.5.

- Update shipped Linux FreeTDS static libs to 0.95

Features
--------

- Add ability to set TDS protocol version from pymssql when connecting to SQL

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.