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

Skip to content

Release v1.1.0rc1 #1122

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 2 commits into from
May 25, 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
8000
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ Release date: TBD

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


## v1.0.3
Expand Down
5 changes: 3 additions & 2 deletions pymysql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@
)

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

### for mysqlclient compatibility
### Django checks mysqlclient version.
Expand Down
4 changes: 2 additions & 2 deletions pymysql/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
EOFPacketWrapper,
LoadLocalPacketWrapper,
)
from . import err, __version__
from . import err, VERSION_STRING

try:
import ssl
Expand Down Expand Up @@ -345,8 +345,8 @@ def _config(key, arg):

self._connect_attrs = {
"_client_name": "pymysql",
"_client_version": VERSION_STRING,
"_pid": str(os.getpid()),
"_client_version": __version__,
}

if program_name:
Expand Down
0