mysql2 v0.4.5 Release Notes

Release Date: 2016-10-22 // over 7 years ago
  • ๐Ÿ†• New Features

    • โž• Add new connection argument :ssl_mode to Mysql2::Client#new
    • ๐Ÿ‘ Prepared statements now support DateTime arguments

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix segfault when wrapper->result is used after it is freed
    • ๐Ÿ‘ป Raise an exception but don't crash on non-string encoding argument
    • ๐Ÿ‘ป Raise an exception but don't crash on nil argument to Mysql2::Client#new
    • Avoid RangeError on integers larger than LONG_LONG
    • ๐Ÿ›  Fix a BigDecimal value binding in Prepared Statements
    • โฑ Avoid type error when using connect_timeout, read_timeout and write_timeout in a DATABASE_URL env variable

    ๐Ÿ”„ Changes

    • ๐Ÿ‘ท Travis CI matrix now includes MySQL 8.0
    • ๐Ÿ‘ท Travis CI matrix defaults to MySQL 5.6
    • ๐Ÿ‘ท AppVeyor CI matrix switched to MySQL 5.7
    • ๐Ÿ›  Fix test that implicitly creates a passwordless user
    • ๐Ÿ‘‰ Use RSpec expect output instead of StringIO
    • ๐Ÿšš Move macro REQUIRE_CONNECTED to client.c
    • โž• Add a note about casting boolean columns
    • โš  Suppress rubocop's invalid UTF-8 literal warning