All Versions
35
Latest Version
Avg Release Cycle
66 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v1.0.3 Changes
๐ Release date: TBD
- โฌ๏ธ Dropped support of end of life MySQL version 5.6
- โฌ๏ธ Dropped support of end of life MariaDB versions below 10.2
- โฌ๏ธ Dropped support of end of life Python version 3.6
-
v1.0.2 Changes
๐ Release date: 2021-01-09
- ๐ Fix
user
,password
,host
,database
are still positional arguments. All arguments ofconnect()
are now keyword-only. (#941)
- ๐ Fix
-
v1.0.1 Changes
๐ Release date: 2021-01-08
- ๐ Stop emitting DeprecationWarning for use of
db
andpasswd
. Note that they are still deprecated. (#939) - โ Add
python_requires=">=3.6"
to setup.py. (#936)
- ๐ Stop emitting DeprecationWarning for use of
-
v1.0.0 Changes
๐ Release date: 2021-01-07
Backward incompatible changes:
- ๐ Python 2.7 and 3.5 are not supported.
connect()
uses keyword-only arguments. User must use keyword argument.- ๐
connect()
kwargsdb
andpasswd
are now deprecated; Usedatabase
andpassword
instead. - ๐ old_password authentication method (used by MySQL older than 4.1) is not supported.
- ๐ MySQL 5.5 and MariaDB 5.5 are not officially supported, although it may still works.
- Removed
escape_dict
,escape_sequence
, andescape_string
frompymysql
module. They are still inpymysql.converters
.
Other changes:
- Connection supports context manager API.
__exit__
closes the connection. (#886) - โ Add MySQL Connector/Python compatible TLS options (#903)
- Major code cleanup; PyMySQL now uses black and flake8.
-
v0.10.1 Changes
๐ Release date: 2020-09-10
- ๐ Fix missing import of ProgrammingError. (#878)
- ๐ Fix auth switch request handling. (#890)
-
v0.10.0 Changes
๐ Release date: 2020-07-18
๐ This version is the last version supporting Python 2.7.
- ๐ MariaDB ed25519 auth is supported.
- ๐ Python 3.4 support is dropped.
- ๐ Context manager interface is removed from
Connection
. It will be added with different meaning. - โ MySQL warnings are not shown by default because many user report issue to PyMySQL issue tracker when they see warning. You need to call "SHOW WARNINGS" explicitly when you want to see warnings.
- Formatting of float object is changed from "3.14" to "3.14e0".
- ๐ Use cp1252 codec for latin1 charset.
- ๐ Fix decimal literal.
- TRUNCATED_WRONG_VALUE_FOR_FIELD, and ILLEGAL_VALUE_FOR_TYPE are now DataError instead of InternalError.
-
v0.9.3 Changes
January 08, 2019๐ Release date: 2018-12-18
- cryptography dependency is optional now.
- ๐ Fix old_password (used before MySQL 4.1) support.
- ๐ Deprecate old_password.
- Stop sending
sys.argv[0]
for connection attribute "program_name". - Close connection when unknown error is happened.
- ๐ Deprecate context manager API of Connection object.
-
v0.9.2 Changes
July 04, 2018๐ Release date: 2018-07-04
- ๐ฒ Disalbled unintentinally enabled debug log
- โ Removed unintentionally installed tests
-
v0.9.1 Changes
July 02, 2018๐ Release date: 2018-07-03
- Fixed caching_sha2_password and sha256_password raise TypeError on PY2 (#700, #702)
-
v0.9.0 Changes
June 27, 2018๐ Release date: 2018-06-27
- ๐ Change default charset from latin1 to utf8mb4. (because MySQL 8 changed) (#692)
- Support sha256_password and caching_sha2_password auth method (#682)
- โ Add cryptography dependency, because it's needed for new auth methods.
- โ Remove deprecated
no_delay
option (#694) - ๐ Support connection attributes (#679)
- Map LOCK_DEADLOCK to OperationalError (#693)