Debian Codegraph @

Changes

raw
1 Revision history for Dancer-Plugin-Database
2
3 2.13 2016-08-13
4 [ BUG FIXES ]
5 - Require 0.16 of core library, as 0.15 had a bug in :(
6
7 2.12 2016-01-24
8
9 [ BUG FIXES ]
10 - skip author tests (thanks to Stefan Hornburg)
11
12 2.11 2015-10-02
13
14 [ BUG FIXES ]
15 - Require Dancer::Plugin::Database::Core v0.12, that
16 fixes logging problems
17
18 2.10 2014-10-13
19
20 [ ENHANCEMENTS ]
21 - Support dsn_extra option (Thanks to Michael J South)
22
23 2.09 2013-12-22
24
25 [ ENHANCEMENTS ]
26 - Tests for cached handle after reconnection
27
28 2.08 Sun Sep 1 13:52:52 WEST 2013
29
30 [ ENHANCEMENTS ]
31 - Add quick_count method (Thanks to Colin Ewen)
32
33 2.07 Tue Jul 30 18:59:30 WEST 2013
34 - Fix test with wrong base class (part 2)
35
36 2.06 Tue Jul 30 18:49:37 WEST 2013
37 - Fix test with wrong base class.
38
39 2.05 2013-07-29
40 - Remove code from module to share with Dancer2 plugin.
41 - Added dependency on Dancer::Plugin::Database::Core
42
43 2.04 2013-03-04
44
45 [ ENHANCEMENTS ]
46 - Allow 'sid' to be passed into DSN, for Oracle support.
47
48 2.03 2012-12-14
49
50 [ BUGFIX ]
51 - Remove left-over debugging warning (thanks to ofosos for reporting)
52
53 2.02 2012-12-07
54
55 [ ENHANCEMENTS ]
56 - If asked for default connection (no connection name given) but
57 there is no default connection configured, throw a more helpful
58 error message.
59
60 2.01 2012-09-18
61
62 [ BUGFIX ]
63 - Fix crashing bug when charset: UTF-8 is present - thanks to Hugh
64 Gallagher for reporting & providing fix in RT #79719.
65 Presumably the test suite doesn't set UTF-8, so this failure
66 never showed up in testing :(
67
68 2.00 2012-09-17
69
70 [ ENHANCEMENTS ]
71 - Support for Dancer 2
72 - Automatic quoting handles e.g. schema.table properly - GH #33,
73 thanks to mscolly for reporting
74 - Accept limit offset,count syntax too - GH #31, thanks to
75 nicolasfranck for reporting
76 - a value of 0 for connectivity_check_threshold now disables
77 checking entirely - thanks to knutov in GH #22
78
79 1.82 2012-06-28
80
81 [ BUGFIXES ]
82 - Fix for Debian RT #665221 :
83 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665221 - avoid issues
84 if we get a hashref of settings occupying the same region of memory as a
85 previous hashref of settings which since went out of scope but which we
86 still have a handle laying around for.
87
88 1.81 2012-03-07
89
90 [ BUGFIXES ]
91 - Don't generate invalid SQL with certain uses of where and
92 order_by clauses together (PR-27, thanks to Michael Stapelberg
93 (mstap))
94
95 1.80 2012-02-06
96 [ ENHANCEMENTS]
97 - New hooks 'database_error', 'database_connect_failed',
98 'database_connection_lost'
99 - New option 'handle_class' to allow the database handles to be
100 reblessed into an alternative class, allowing you to subclass
101 D::P::D::Handle if you want to extend it
102 All requested by Nick S. Knutov - thanks Nick!
103
104 1.70 2012-01-31
105 [ ENHANCEMENTS ]
106 - New `order_by`, `limit` and `columns` options for quick_select()
107 (Requested by bor in GH-20)
108
109 1.60 2011-12-29
110 [ ENHANCEMENTS ]
111 - Hook support, requested by mdom. Currently supports a
112 database_connected hook position; others may be added in future.
113
114 Happy New Year!
115
116 1.51 2011-11-17
117 [ BUGFIXES ]
118 - Handle "is" operator properly (particularly if negated) - Issue 15.
119 - Add =encoding utf8 to POD so contributor names render correctly on
120 search.cpan.org / metacpan.org
121
122 1.50 2011-10-18
123 All new features kindly contributed by Mark Allen (@mrallen1) - thanks!
124 - Much more flexible WHERE clauses - e.g. { foo => { like => 'bar'} }
125 - Ability to select only specific columns in quick_select()
126 - New quick_lookup() syntactic sugar method
127
128 1.42 2011-08-19
129 - Don't produce spurious messages about enabling UTF-8 support when
130 we have already done it (PR 9 from James Aitken (LoonyPandora))
131
132 1.41 2011-07-24
133 - support where clauses with undef values. (Alberto Simões)
134
135 1.40 2011-05-29
136 - Be fork/thread-safe - don't allow processes/threads to share handles.
137 Thanks to Matt S Trout for pointing this out on IRC - cheers mst.
138 - If we're given a pre-assembled DSN, extract the driver from it to
139 avoid a warning, and to allow auto UTF-8 to work.
140 Thanks to Matthew Vickers (mvickers) for bringing this up.
141
142 1.30 2011-05-23
143 - Allow passing an empty hashref for where clause to signify that no
144 where clause is desired (i.e. return all rows).
145 Requested by Carlos Sosa (gnusosa) - thanks!
146
147 1.24 2011-05-09
148 - Bugfixes in logging - avoid DBI swallowing up the param I'd wrongly
149 named, and avoid warnings if any params are undef.
150 Thanks to Martin J Evans (mje) for bringing this up on IRC - thanks
151 for your help Martin.
152
153 1.23 2011-04-15
154 - Only log queries generated by quick_*() helpers in D::P::D::Handle if
155 the log_queries setting was enabled in the configuration. This avoids
156 the potential for the user to be unwittingly logging sensitive
157 information, and would provide a (tiny) performance boost too.
158
159 1.22 2011-04-11
160 - Bugfix: don't needlessly use to_json() in tests, as Dancer doesn't
161 depend on JSON.pm, so tests will fail if it's not available.
162 Reported in RT #66204 by Johnathan (JAWNSY) - thanks!
163
164 1.21 2011-03-06
165 - Bugfix: return undef if connection fails, rather than attempting to
166 re-bless and blowing up. Fixes GH-7, thanks to Nick Hibma
167
168 1.20 2011-02-23
169 - New feature - automatically enable UTF-8 support if the app's charset
170 setting is set to 'UTF-8' and we know how to enable UTF-8 support for
171 the database driver in use. This can be disabled with the new
172 auto_utf8 setting in the plugin's config.
173 - Bugfix - create test DB in memory, not a file named ":memory" by
174 accident. This should fix test failures on Windows, e.g.:
175 http://www.cpantesters.org/cpan/report/d5987aa6-6d07-1014-91a2-7f5be4275be9
176
177
178 1.11 2011-02-18
179 - Fix bug RT #65825 - quick_select didn't actually use the where clause
180 correctly.
181 - Extended test suite.
182
183 1.10 2011-02-11
184 - New feature quick_select
185 - Fix bug RT #65651, quick_insert generating SQL which MySQL/Postgres
186 didn't accept due to use of quote() rather than quote_identifier(),
187 thanks to Christian Sánchez and Michael Stiller
188 - Fix GH #5 - named connections not working properly - thanks to
189 "crayon"
190
191 1.00 2011-01-10
192 - Bumping to 1.00 to signify being ready for production use, for users
193 who have a mistrust of 0.x version numbers.
194 - Applied Alan Haggai's changes to allow a hashref of settings to be
195 passed to the database() keyword at runtime. Thanks Alan!
196 (This was released as 0.91_01 for testing first.)
197
198 0.91 2010-12-21
199 - Whoah - didn't "use strict" in Dancer::Plugin::Database::Handle!
200 Last tweak release, then I'll push 1.00 out soon.
201
202 0.90 2010-12-10
203 - New features quick_insert, quick_update, quick_delete. The database
204 keyword now returns a Dancer::Plugin::Database::Handle object, which
205 is a subclass of DBI::db so does everything you'd expect a DBI
206 connection handle to do, but adds extra convenience methods.
207 - Fixed test failures on Windows systems.
208
209 (Large version bump due to new features; assuming there are no reports of
210 issues with this version (there shouldn't be!), I'll release 1.0 soon,
211 for those who look for a >= 1.0 version number as an indication of being
212 production-ready.
213
214
215 0.12 2010-12-03
216 - Documentation mentioned connectivity-check-threshold instead of the
217 correct connection_check_threshold. Thanks to bessarabov for catching
218 this and submitting corrections via GitHub!
219
220 0.11 2010-11-09 (CoD Black Ops day!)
221 - Bugfix: pass connection settings when reconnecting, too.
222
223 0.10 2010-10-30
224 - Add some proper tests [Franck Cuny]
225
226 0.09 2010-09-28
227 - Allow definition of multiple connections, and accept a param to the
228 database() keyword to specify which connection you need a handle for.
229 This was released as 0.08_01 for testing.
230
231 0.08 2010-09-14
232 - Bugfix - make SQLite DWIMmery from previous version actually work.
233
234 0.07 2010-09-06
235 - Extra params in DSN (database, host, port) should be separated with
236 semi-colons, not colons. Thanks to Steve Atkins for reporting this.
237 - Documentation update to reflect use of $dbh->ping
238 - If connecting to SQLite, which requires 'dbname' rather than
239 'database', provide 'dbname' instead, so it will Just Work
240
241 0.06 2010-06-15
242 - Stupid typo fix in documentation for features added in 0.05. I wish
243 I'd spotted this mistake before releasing 0.05, rather than just
244 after!
245
246 0.05 2010-06-15
247 - Allow parameters to be passed to DBI->connect call (e.g. RaiseError),
248 and support providing a set of statements to execute upon connection.
249 Thanks to Igor Bujna for providing this feature!
250
251 0.04 2010-05-20
252 - If DBD driver does not implement ping(), perform our own connection
253 check by performing a simple query. This will check that the DB
254 connection is still alive, and avoid needless re-connects, which are
255 expensive. Also seems to fix a problem Tadzik saw with a warning from
256 DBD::SQLite when the old handle was thrown away.
257
258 0.03 2010-05-17
259 - Fix warning where $last_connection_check was initially undefined but
260 used in numeric comparison. Thanks to Tadzik for reporting.
261
262 0.02 2010-04-18
263 Documentation fixes, thanks to "mrpants" on Github:
264 - Plugin names in config.yml are case-sensitive for current CPAN
265 releases of Dancer; my commit fdc3f3 makes it case-insenitive, but
266 that hasn't hit CPAN yet, so people using CPAN releases could be
267 confused
268 - stray trailing single-quote in example config
269
270 0.01 2010-04-14
271 Initial version developed.
272