Releases: brianmario/mysql2
Releases · brianmario/mysql2
0.2.9
- fix a long standing bug where a signal would interrupt rb_thread_select and put the connection in a permanently broken state
- turn on casting in the ActiveRecord again, users can disable it if they need to for performance reasons
0.3.3
- disable async support, and access to the underlying file descriptor under Windows. It's never worked reliably and ruby-core has a lot of work to do in order to make it possible.
- added support for turning eager-casting off. This is especially useful in ORMs that will lazily cast values upon access.
- added a warning if a 0.2.x release is being used with ActiveRecord 3.1 since both the 0.2.x releases and AR 3.1 have mysql2 adapters, we want you to use the one in AR 3.1
- added Mysql2::Client.escape (class-level method)
- disabled eager-casting in the bundled ActiveRecord adapter (for Rails 3.0 or less)
0.2.8
- disable async support, and access to the underlying file descriptor under Windows. It's never worked reliably and ruby-core has a lot of work to do in order to make it possible.
- added support for turning eager-casting off. This is especially useful in ORMs that will lazily cast values upon access.
- added a warning if a 0.2.x release is being used with ActiveRecord 3.1 since both the 0.2.x releases and AR 3.1 have mysql2 adapters, we want you to use the one in AR 3.1
- added Mysql2::Client.escape (class-level method)
- disabled eager-casting in the bundled ActiveRecord adapter (for Rails 3.0 or less)
0.3.2
- Fix typo in initialization for older ActiveRecord versions
0.3.1
- Fix typo in initialization for older ActiveRecord versions
0.3.0
- switch to MySQL Connector/C for win32 builds
- win32 bugfixes
- BREAKING CHANGE: the ActiveRecord adapter has been pulled into Rails 3.1 and is no longer part of the gem
- added Mysql2::Client.escape (class-level) for raw one-off non-encoding-aware escaping
0.2.7
- various fixes for em_mysql2 and fiber usage
- use our own Mysql2IndexDefinition class for better compatibility across ActiveRecord versions
- ensure the query is a string earlier in the Mysql2::Client#query codepath for 1.9
- only set binary ruby encoding on fields that have a binary flag and encoding set
- a few various optimizations
- add support for :read_timeout to be set on a connection
- Fix to install with MariDB on Windows
- add fibered em connection without activerecord
- fix some 1.9.3 compilation warnings
- add LD_RUN_PATH when using hard coded mysql paths - this should help users with MySQL installed in non-standard locations
- for windows support, duplicate the socket from libmysql and create a temporary CRT fd
- fix for handling years before 1970 on Windows
- fixes to the Fiber adapter
- set wait_timeout maximum on Windows to 2147483
- update supported range for Time objects
- upon being required, make sure the libmysql we're using is the one we were built against
- add Mysql2::Client#thread_id
- add Mysql2::Client#ping
- switch connection check in AR adapter to use Mysql2::Client#ping for efficiency
- prefer linking against thread-safe version of libmysqlclient
- define RSTRING_NOT_MODIFIED for an awesome rbx speed boost
- expose Mysql2::Client#encoding in 1.9, make sure we set the error message and sqlstate encodings accordingly
- do not segfault when raising for invalid charset (found in 1.9.3dev)
0.2.6
- version bump since the 0.2.5 win32 binary gems were broken
0.2.5
- fixes for easier Win32 binary gem deployment for targeting 1.8 and 1.9 in the same gem
- refactor of connection checks and management to avoid race conditions with the GC/threading to prevent the unexpected loss of connections
- update the default flags during connection
- add support for setting wait_timeout on AR adapter
- upgrade to rspec2
- bugfix for an edge case where the GC would clean up a Mysql2::Client object before the underlying MYSQL pointer had been initialized
- fix to CFLAGS to allow compilation on SPARC with sunstudio compiler - Anko painting [email protected]
0.2.4
- a few patches for win32 support from Luis Lavena - thanks man!
- bugfix from Eric Wong to avoid a potential stack overflow during Mysql2::Client#escape
- added the ability to turn internal row caching on/off via the :cache_rows => true/false option
- a couple of small patches for rbx compatibility
- set IndexDefinition#length in AR adapter - Kouhei Yanagita [email protected]
- fix a long-standing data corruption bug - thank you thank you thank you to @joedamato (http://github.com/ice799)
- bugfix from calling mysql_close on a closed/freed connection surfaced by the above fix