Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 197 lines (167 sloc) 10.733 kb
11dc43c @brianmario add initial changelog
brianmario authored
1 # Changelog
2
e74645e @brianmario latest from 0.2.x
brianmario authored
3 ## 0.3.6 (June 17th, 2011)
4 * fix bug in Time/DateTime range detection
5 * (win32) fix bug where the Mysql2::Client object wasn't cleaned up properly if interrupted during a query
6 * add Mysql2::Result#count (aliased as size) to get the row count for the dataset
7 this can be especially helpful if you want to get the number of rows without having to inflate
8 the entire dataset into ruby (since this happens lazily)
9
ee00a49 @brianmario latest from 0.2.x
brianmario authored
10 ## 0.3.5 (June 15th, 2011)
2a4a274 @brianmario bump files for 0.2.10 release
brianmario authored
11 * bug fix for Time/DateTime usage depending on 32/64bit Ruby
12
4b1d0c1 @brianmario latest from 0.2.x
brianmario authored
13 ## 0.3.4 (June 15th, 2011)
14 * fix a long standing bug where a signal would interrupt rb_thread_select and put the connection in a permanently broken state
15 * turn on casting in the ActiveRecord again, users can disable it if they need to for performance reasons
16
3510336 @brianmario bring in latest from 0.2.x
brianmario authored
17 ## 0.3.3 (June 14th, 2011)
18 * 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.
19 * added support for turning eager-casting off. This is especially useful in ORMs that will lazily cast values upon access.
20 * 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
21 * added Mysql2::Client.escape (class-level method)
22 * disabled eager-casting in the bundled ActiveRecord adapter (for Rails 3.0 or less)
acedfd2 @luislavena Avoid thread blocking on Ruby 1.9.x under Windows. Closes #142
luislavena authored
23
3f97238 @brianmario update files for 0.3.2 release
brianmario authored
24 ## 0.3.2 (April 26th, 2011)
25 * Fix typo in initialization for older ActiveRecord versions
26
20ead8e @brianmario update files for 0.3.1 release
brianmario authored
27 ## 0.3.1 (April 26th, 2011)
28 * Fix typo in initialization for older ActiveRecord versions
29
6d2e6d3 @brianmario update changelog for 0.3.0
brianmario authored
30 ## 0.3.0 (April 26th, 2011)
31 * switch to MySQL Connector/C for win32 builds
32 * win32 bugfixes
33 * BREAKING CHANGE: the ActiveRecord adapter has been pulled into Rails 3.1 and is no longer part of the gem
34 * added Mysql2::Client.escape (class-level) for raw one-off non-encoding-aware escaping
35
130c257 @brianmario update files for 0.2.11 release
brianmario authored
36 ## 0.2.11 (June 17th, 2011)
37 * fix bug in Time/DateTime range detection
38 * (win32) fix bug where the Mysql2::Client object wasn't cleaned up properly if interrupted during a query
39 * add Mysql2::Result#count (aliased as size) to get the row count for the dataset
40 this can be especially helpful if you want to get the number of rows without having to inflate
41 the entire dataset into ruby (since this happens lazily)
42
2a4a274 @brianmario bump files for 0.2.10 release
brianmario authored
43 ## 0.2.10 (June 15th, 2011)
44 * bug fix for Time/DateTime usage depending on 32/64bit Ruby
45
9001cf5 @brianmario turn on eager-casting in the AR adapter again, it can be turned off i…
brianmario authored
46 ## 0.2.9 (June 15th, 2011)
47 * fix a long standing bug where a signal would interrupt rb_thread_select and put the connection in a permanently broken state
48 * turn on casting in the ActiveRecord again, users can disable it if they need to for performance reasons
49
1e909c9 @brianmario update files for 0.2.8 release
brianmario authored
50 ## 0.2.8 (June 14th, 2011)
51 * 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.
52 * added support for turning eager-casting off. This is especially useful in ORMs that will lazily cast values upon access.
53 * 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
54 * added Mysql2::Client.escape (class-level method)
55 * disabled eager-casting in the bundled ActiveRecord adapter (for Rails 3.0 or less)
531d9ac @luislavena Backport: Avoid thread blocking on Ruby 1.9.x under Windows.
luislavena authored
56
1eee4ec @brianmario update files for 0.2.7 release
brianmario authored
57 ## 0.2.7 (March 28th, 2011)
ac7873c @mperham Fix fiber usage in Rails 3.0.
mperham authored
58 * various fixes for em_mysql2 and fiber usage
1eee4ec @brianmario update files for 0.2.7 release
brianmario authored
59 * use our own Mysql2IndexDefinition class for better compatibility across ActiveRecord versions
60 * ensure the query is a string earlier in the Mysql2::Client#query codepath for 1.9
61 * only set binary ruby encoding on fields that have a binary flag *and* encoding set
62 * a few various optimizations
63 * add support for :read_timeout to be set on a connection
64 * Fix to install with MariDB on Windows
65 * add fibered em connection without activerecord
66 * fix some 1.9.3 compilation warnings
67 * add LD_RUN_PATH when using hard coded mysql paths - this should help users with MySQL installed in non-standard locations
68 * for windows support, duplicate the socket from libmysql and create a temporary CRT fd
69 * fix for handling years before 1970 on Windows
70 * fixes to the Fiber adapter
71 * set wait_timeout maximum on Windows to 2147483
72 * update supported range for Time objects
73 * upon being required, make sure the libmysql we're using is the one we were built against
74 * add Mysql2::Client#thread_id
75 * add Mysql2::Client#ping
76 * switch connection check in AR adapter to use Mysql2::Client#ping for efficiency
77 * prefer linking against thread-safe version of libmysqlclient
78 * define RSTRING_NOT_MODIFIED for an awesome rbx speed boost
79 * expose Mysql2::Client#encoding in 1.9, make sure we set the error message and sqlstate encodings accordingly
80 * do not segfault when raising for invalid charset (found in 1.9.3dev)
ac7873c @mperham Fix fiber usage in Rails 3.0.
mperham authored
81
426cff8 @brianmario bump to 0.2.6 to push fixed win32 gems
brianmario authored
82 ## 0.2.6 (October 19th, 2010)
83 * version bump since the 0.2.5 win32 binary gems were broken
84
05df9e3 @brianmario update files for 0.2.5 release
brianmario authored
85 ## 0.2.5 (October 19th, 2010)
86 * fixes for easier Win32 binary gem deployment for targeting 1.8 and 1.9 in the same gem
87 * refactor of connection checks and management to avoid race conditions with the GC/threading to prevent the unexpected loss of connections
88 * update the default flags during connection
89 * add support for setting wait_timeout on AR adapter
90 * upgrade to rspec2
91 * bugfix for an edge case where the GC would clean up a Mysql2::Client object before the underlying MYSQL pointer had been initialized
92 * fix to CFLAGS to allow compilation on SPARC with sunstudio compiler - Anko painting <anko.com+github@gmail.com>
93
5077516 @brianmario prepare for 0.2.4 release
brianmario authored
94 ## 0.2.4 (September 17th, 2010)
95 * a few patches for win32 support from Luis Lavena - thanks man!
96 * bugfix from Eric Wong to avoid a potential stack overflow during Mysql2::Client#escape
97 * added the ability to turn internal row caching on/off via the :cache_rows => true/false option
98 * a couple of small patches for rbx compatibility
99 * set IndexDefinition#length in AR adapter - Kouhei Yanagita <yanagi@shakenbu.org>
100 * fix a long-standing data corruption bug - thank you thank you thank you to @joedamato (http://github.com/ice799)
101 * bugfix from calling mysql_close on a closed/freed connection surfaced by the above fix
102
17cabf5 @brianmario update files for 0.2.3 release
brianmario authored
103 ## 0.2.3 (August 20th, 2010)
104 * connection flags can now be passed to the constructor via the :flags key
105 * switch AR adapter connection over to use FOUND_ROWS option
106 * patch to ensure we use DateTime objects in place of Time for timestamps that are out of the supported range on 32bit platforms < 1.9.2
107
108 ## 0.2.2 (August 19th, 2010)
4935931 @brianmario update files for 0.2.2 release
brianmario authored
109 * Change how AR adapter would send initial commands upon connecting
110 ** we can make multiple session variable assignments in a single query
111 * fix signal handling when waiting on queries
112 * retry connect if interrupted by signals
113
dd23e2c @brianmario Version bump to 0.2.1
brianmario authored
114 ## 0.2.1 (August 16th, 2010)
115 * bring mysql2 ActiveRecord adapter back into gem
116
91671e0 @brianmario update files for 0.2.0 release
brianmario authored
117 ## 0.2.0 (August 16th, 2010)
118 * switch back to letting libmysql manage all allocation/thread-state/freeing for the connection
119 * cache various numeric type conversions in hot-spots of the code for a little speed boost
120 * ActiveRecord adapter moved into Rails 3 core
121 ** Don't worry 2.3.x users! We'll either release the adapter as a separate gem, or try to get it into 2.3.9
164ad07 @brianmario referenced the wrong issue #
brianmario authored
122 * Fix for the "closed MySQL connection" error (GH #31)
91671e0 @brianmario update files for 0.2.0 release
brianmario authored
123 * Fix for the "can't modify frozen object" error in 1.9.2 (GH #37)
124 * Introduce cascading query and result options (more info in README)
125 * Sequel adapter pulled into core (will be in the next release - 3.15.0 at the time of writing)
126 * add a safety check when attempting to send a query before a result has been fetched
127
3c262e7 @brianmario fix 0.1.9 release date
brianmario authored
128 ## 0.1.9 (July 17th, 2010)
3f2e948 @mperham Support for asynchronous ActiveRecord via Fibers and EM
mperham authored
129 * Support async ActiveRecord access with fibers and EventMachine (mperham)
1c02820 @brianmario updating files for release
brianmario authored
130 * string encoding support for 1.9, respecting Encoding.default_internal
131 * added support for rake-compiler (tenderlove)
132 * bugfixes for ActiveRecord driver
133 ** one minor bugfix for TimeZone support
134 ** fix the select_rows method to return what it should according to the docs (r-stu31)
135 * Mysql2::Client#fields method added - returns the array of field names from a resultset, as strings
136 * Sequel adapter
137 ** bugfix regarding sybolized field names (Eric Wong)
138 ** fix query logging in Sequel adapter
139 * Lots of nice code cleanup (tenderlove)
140 ** Mysql2::Error definition moved to pure-Ruby
141 ** Mysql2::client#initialize definition moved to pure-Ruby
142 ** Mysql2::Result partially moved to pure-Ruby
3f2e948 @mperham Support for asynchronous ActiveRecord via Fibers and EM
mperham authored
143
d7e0d55 @brianmario update files for 0.1.8 release
brianmario authored
144 ## 0.1.8 (June 2nd, 2010)
145 * fixes for AR adapter for timezone juggling
146 * fixes to be able to run benchmarks and specs under 1.9.2
147
f89d2b2 @brianmario update files for 0.1.7 release
brianmario authored
148 ## 0.1.7 (May 22nd, 2010)
149 * fix a bug when using the disconnect! method on a closed connection in the AR driver
150
d67e7ed @brianmario update files for 0.1.6 release
brianmario authored
151 ## 0.1.6 (May 14th, 2010)
152 * more fixes to the AR adapter related to casting
153 * add missing index creation override method to AR adapter
154 * added sql_state and error_number methods to the Mysql2::Error exception class
155
a03b776 @brianmario Version bump to 0.1.5
brianmario authored
156 ## 0.1.5 (May 12th, 2010)
157 * quite a few patches from Eric Wong related to thread-safety, non-blocking I/O and general cleanup
158 ** wrap mysql_real_connect with rb_thread_blocking_region
159 ** release GVL for possibly blocking mysql_* library calls
160 ** [cleanup] quiet down warnings
161 ** [cleanup] make all C symbols static
162 ** add Mysql2::Client#close method
163 ** correctly free the wrapped result in case of EOF
164 ** Fix memory leak from the result wrapper struct itself
165 ** make Mysql2::Client destructor safely non-blocking
166 * bug fixes for ActiveRecord adapter
167 ** added casting for default values since they all come back from Mysql as strings (!?!)
168 ** missing constant was added
169 ** fixed a typo in the show_variable method
170 * switched over sscanf for date/time parsing in C
171 * made some specs a little finer-grained
172 * initial Sequel adapter added
173 * updated query benchmarks to reflect the difference between casting in C and in Ruby
174
39cfbe9 @brianmario updating files for 0.1.4 release
brianmario authored
175 ## 0.1.4 (April 23rd, 2010)
176 * optimization: implemented a local cache for rows that are lazily created in ruby during iteration. The MySQL C result is freed as soon as all the results have been cached
177 * optimization: implemented a local cache for field names so every row reuses the same objects as field names/keys
178 * refactor the Mysql2 connection adapter for ActiveRecord to not extend the Mysql adapter - now being a free-standing connection adapter
179
d7c146e @brianmario updating files for 0.1.3 release
brianmario authored
180 ## 0.1.3 (April 15th, 2010)
181 * added an EventMachine Deferrable API
182 * added an ActiveRecord connection adapter
183 ** should be compatible with 2.3.5 and 3.0 (including Arel)
184
7d6bbbc @brianmario update files for 0.1.2 release
brianmario authored
185 ## 0.1.2 (April 9th, 2010)
186 * fix a bug (copy/paste fail) around checking for empty TIME values and returning nil (thanks @marius)
187
ea9b21f @brianmario update files for 0.1.1 release
brianmario authored
188 ## 0.1.1 (April 6th, 2010)
189 * added affected_rows method (mysql_affected_rows)
190 * added last_id method (last_insert_id)
191 * enable reconnect option by default
192 * added initial async query support
193 * updated extconf (thanks to the mysqlplus project) for easier gem building
194
9e9f10b @brianmario update files for release
brianmario authored
195 ## 0.1.0 (April 6th, 2010)
7f5cd6d @brianmario bring over changes from 0.2.x
brianmario authored
196 * initial release
Something went wrong with that request. Please try again.