Skip to content

Commit fe856a5

Browse files
authored
Release v1.1.0 (#1130)
1 parent 0803b53 commit fe856a5

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

CHANGELOG.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
# Changes
22

3+
## Backward incompatible changes planned in the future.
4+
5+
* Error classes in Cursor class will be removed after 2024-06
6+
* `Connection.set_charset(charset)` will be removed after 2024-06
7+
* `db` and `passwd` will emit DeprecationWarning in v1.2. See #933.
8+
9+
310
## v1.1.0
411

5-
Release date: TBD
12+
Release date: 2023-06-26
613

714
* Fixed SSCursor raising OperationalError for query timeouts on wrong statement (#1032)
815
* Exposed `Cursor.warning_count` to check for warnings without additional query (#1056)
916
* Make Cursor iterator (#995)
1017
* Support '_' in key name in my.cnf (#1114)
1118
* `Cursor.fetchall()` returns empty list instead of tuple (#1115). Note that `Cursor.fetchmany()` still return empty tuple after reading all rows for compatibility with Django.
1219
* Deprecate Error classes in Cursor class (#1117)
13-
* Add `Connection.set_character_set(charset, collation=None)` (#1119)
20+
* Add `Connection.set_character_set(charset, collation=None)`. This method is compatible with mysqlclient. (#1119)
1421
* Deprecate `Connection.set_charset(charset)` (#1119)
1522
* New connection always send "SET NAMES charset [COLLATE collation]" query. (#1119)
1623
Since collation table is vary on MySQL server versions, collation in handshake is fragile.
@@ -24,7 +31,7 @@ Release date: 2023-03-28
2431
* Dropped support of end of life MySQL version 5.6
2532
* Dropped support of end of life MariaDB versions below 10.3
2633
* Dropped support of end of life Python version 3.6
27-
* Removed _last_executed because of duplication with _executed by @rajat315315 in https://github.com/PyMySQL/PyMySQL/pull/948
34+
* Removed `_last_executed` because of duplication with `_executed` by @rajat315315 in https://github.com/PyMySQL/PyMySQL/pull/948
2835
* Fix generating authentication response with long strings by @netch80 in https://github.com/PyMySQL/PyMySQL/pull/988
2936
* update pymysql.constants.CR by @Nothing4You in https://github.com/PyMySQL/PyMySQL/pull/1029
3037
* Document that the ssl connection parameter can be an SSLContext by @cakemanny in https://github.com/PyMySQL/PyMySQL/pull/1045

pymysql/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@
4848

4949
# PyMySQL version.
5050
# Used by setuptools and connection_attrs
51-
VERSION = (1, 1, 0, "rc", 2)
52-
VERSION_STRING = "1.1.0rc2"
51+
VERSION = (1, 1, 0, "final", 1)
52+
VERSION_STRING = "1.1.0"
5353

5454
### for mysqlclient compatibility
5555
### Django checks mysqlclient version.
56-
version_info = (1, 4, 3, "final", 0)
57-
__version__ = "1.4.3"
56+
version_info = (1, 4, 6, "final", 1)
57+
__version__ = "1.4.6"
5858

5959

6060
def get_client_info(): # for MySQLdb compatibility

0 commit comments

Comments
 (0)