Skip to content

Releases: PyMySQL/mysqlclient

v2.2.6

15 Nov 08:09
5e85107
Compare
Choose a tag to compare

What's Changed

  • MariaDB Connector/C 3.4 and MairaDB 11.4 had enabled SSL and CA verification by default.
    It affected 2.2.5 windows wheels. This release disables SSL and CA verification by default for backward compatibility. (#731)

  • Add server_public_key_path option. It is needed to connect MySQL server with
    sha256_password or caching_sha2_password authentication plugin without
    secure connection. (#744)

Full Changelog: v2.2.5...v2.2.6

v2.2.5

20 Oct 09:53
6eb6c2f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.4...v2.2.5

v2.2.4

10 Mar 10:17
9fd238b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.3...v2.2.4

v2.2.3

04 Feb 12:59
1fa31fd
Compare
Choose a tag to compare

What's Changed

  • fix Connection.kill() broken since 2.2.2 by @methane in #696

Full Changelog: v2.2.2...v2.2.3

v2.2.2

04 Feb 05:24
7c199a9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.1...v2.2.2

v2.2.1

13 Dec 13:37
d82d0fd
Compare
Choose a tag to compare

What's Changed

  • Connection.ping() avoid using MYSQL_OPT_RECONNECT option until reconnect=True is specified. MySQL 8.0.33 start showing warning when the option is used. (#664)
  • Windows: Update MariaDB Connector/C to 3.3.8. (#665)
  • Windows: Build wheels for Python 3.12 (#644)

Merged pull requests

New Contributors

Full Changelog: v2.2.0...v2.2.1

v2.2.0

22 Jun 05:53
1e14055
Compare
Choose a tag to compare

What's Changed

mysqlclient uses pkg-config since v2.2. You need to configure pkg-config, or manually set envvars.
READ the manual

New Contributors

Full Changelog: v2.1.1...v2.2.0

v2.2.0rc1

19 May 04:36
640fe6d
Compare
Choose a tag to compare
v2.2.0rc1 Pre-release
Pre-release

Important changes

v2.2.0 uses pkg-config instead of mysql_config. You need to install pkg-config to build. You can configure cflags and ldflags manually by setting MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS too.

Cursor.mogrify() is added.

Cursor.executemany implementation now uses mogrify(). Sequencee of scalar value (e.g. executemany("INSERT INTO t (data) VALUES (%s)", [1, 2, 3]) is no more valid args. You need to use sequence of tuple (e.g. [(1,), (2,), (3,)]) instead.

What's Changed

New Contributors

Full Changelog: v2.1.1...v2.2.0rc1

v2.1.1

22 Jun 07:47
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.1.1

v2.1.0

18 Nov 05:14
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.3...v2.1.0