8000 Release v1.1.0 by methane · Pull Request #1130 · PyMySQL/PyMySQL · GitHub
[go: up one dir, main page]

Skip to content

Release v1.1.0 #1130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
# Changes

## Backward incompatible changes planned in the future.

* Error classes in Cursor class will be removed after 2024-06
* `Connection.set_charset(charset)` will be removed after 2024-06
* `db` and `passwd` will emit DeprecationWarning in v1.2. See #933.


## v1.1.0

Release date: TBD
Release date: 2023-06-26

* Fixed SSCursor raising OperationalError for query timeouts on wrong statement (#1032)
* Exposed `Cursor.warning_count` to check for warnings without additional query (#1056)
* Make Cursor iterator (#995)
* Support '_' in key name in my.cnf (#1114)
* `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.
* Deprecate Error classes in Cursor class (#1117)
* Add `Connection.set_character_set(charset, collation=None)` (#1119)
* Add `Connection.set_character_set(charset, collation=None)`. This method is compatible with mysqlclient. (#1119)
* Deprecate `Connection.set_charset(charset)` (#1119)
* New connection always send "SET NAMES charset [COLLATE collation]" query. (#1119)
Since collation table is vary on MySQL server versions, collation in handshake is fragile.
Expand All @@ -24,7 +31,7 @@ Release date: 2023-03-28
* Dropped support of end of life MySQL version 5.6
* Dropped support of end of life MariaDB versions below 10.3
* Dropped support of end of life Python version 3.6
* Removed _last_executed because of duplication with _executed by @rajat315315 in https://github.com/PyMySQL/PyMySQL/pull/948
* Removed `_last_executed` because of duplication with `_executed` by @rajat315315 in https://github.com/PyMySQL/PyMySQL/pull/948
* Fix generating authentication response with long strings by @netch80 in https://github.com/PyMySQL/PyMySQL/pull/988
* update pymysql.constants.CR by @Nothing4You in https://github.com/PyMySQL/PyMySQL/pull/1029
* Document that the ssl connection parameter can be an SSLContext by @cakemanny in https://github.com/PyMySQL/PyMySQL/pull/1045
Expand Down
8 changes: 4 additions & 4 deletions pymysql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@

# PyMySQL version.
# Used by setuptools and connection_attrs
VERSION = (1, 1, 0, "rc", 2)
VERSION_STRING = "1.1.0rc2"
VERSION = (1, 1, 0, "final", 1)
VERSION_STRING = "1.1.0"

### for mysqlclient compatibility
### Django checks mysqlclient version.
version_info = (1, 4, 3, "final", 0)
__version__ = "1.4.3"
version_info = (1, 4, 6, "final", 1)
__version__ = "1.4.6"


def get_client_info(): # for MySQLdb compatibility
Expand Down
0