All Versions
Latest Version
Avg Release Cycle
66 days
Latest Release

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 of connect() are now keyword-only. (#941)
  • v1.0.1 Changes

    ๐Ÿš€ Release date: 2021-01-08

    • ๐Ÿ—„ Stop emitting DeprecationWarning for use of db and passwd. Note that they are still deprecated. (#939)
    • โž• Add python_requires=">=3.6" to (#936)
  • 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() kwargs db and passwd are now deprecated; Use database and password 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, and escape_string from pymysql module. They are still in pymysql.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)