Debian Codegraph @

Changes

raw
1 Revision history for Perl extension DBIx::Abstract.
2
3 1.04 2014-01-15
4 - Explicitly order options hashes to make log output deterministic.
5
6 1.03 2014-01-14
7 - We were explicitly returning undef for failure, which is basically
8 always wrong. Corrected this.
9
10 1.02 2014-01-14
11 - Update documentation, etc, to point to github version
12 - Make SQL generation deterministic, rather than depending on hash
13 order, to ease testing and predictability.
14 - Misc minor code cleanups.
15 - Move to more of my standard Dist::Zilla config.
16
17 1.01 2011-08-23
18 - Update to modern build practices.
19 - Make tests work with SQLite, so they don't need to be configured.
20 - Document its depricated status.
21
22 1.006 2005-04-23
23 - Fixed a bug discovered by Jan Martin Mathiassen
24 <[email protected]>. If you pass in a password but no username
25 it's supposed to ignore the password. Instead it was clearing it
26 in the hash that you passed in but still using it.
27 - Removed Test::More and Test::Builder from the distribution-- put
28 Test::Simple in the prerequisites.
29
30 1.005 2003-03-14 -- The "I broke the build and install process" release
31 - Fixed a stupid problem where Test::Builder and Test::More would be
32 installed by this package. Ack.
33 - Made the Makefile.PL default to not providing a database driver.
34 Tests will be skipped if you do this. (This way automated module
35 testing won't break when it shouldn't.)
36 - Added a dependency on Scalar::Util.
37
38 1.004 2003-02-17
39 - ensure_connection did not work correctly if DBI was set to die on
40 errors.
41 - Back ported test suite and makefile from 1.1. Back ported patch to
42 fix mysqlPP compatibility issues.
43 - Made clone weaken references it takes so that it won't leak memory.
44 Added memory leak test.
45 - A bug fix relating to select_one_* and select_all_* where if the
46 query failed and returned undef, the routine would crash. This is
47 now fixed and it just propagates the undef.
48
49 1.003 2002-09-23
50 - Fixed Win32 bug found by Kanji T Bates.
51 - Connect for oracle can look a bit more like those for other DBD
52 drivers now. You may now specify your SID in the dbname field.
53
54 1.002 2001-09-05
55 - Fixed bug introduced in 1.001 where trying to read ->opt always
56 produced undef.
57
58 1.001 2001-09-05
59 - Made it so that opt can now take any DBI attribute.
60
61 1.000 2001-09-04
62 - Now produces a better error that config/DSN is not defined.
63 - When the DBIx::Abstract object is destroyed it usually closes any
64 associated database handles (if it's the last clone alive), now it
65 will only do this if it created the handle. This way, if you pass
66 in a handle it will survive its use by DBIx::Abstract.
67
68 0.96 2001-07-07
69 - Fixed stupid bug that made it not accept DBI handles. I can't
70 believe I actually took eight months to check this in.
71
72 0.95 2000-11-12
73 - Changed how CVSVERSION and LAST_CHANGE are calculated.
74 - Made it so that you can pass routines literal strings instead of
75 variables (variables are used with bind_params when possible) by
76 passing a scalar reference.
77 - I also allow array references to do this (in some circumstances)
78 but this is deprecated.
79 - Made connect optionally accept DBI handles instead of connection
80 info, by recommendation of Mark Stosberg <[email protected]>.
81 - Changed how self was obtained to be (IMHO) stylistically better.
82
83 0.94 2000-08-04
84 - Removed an annoying warn that only shows up unpredictably. I
85 think it has to do with Perls garbage collection not working the
86 way I thought it worked. Meanwhile I may have fixed the
87 undocumented dataseek method. But probably not.
88 - Made it so that updates and inserts can produce nulls, eg:
89 $dbh->update('foo',{bar=>undef});
90 Would set the 'bar' column to NULL.
91 - Fixed tyop, s/STOCK TRACE/STACK TRACE/g.
92 - Made connected method safer. It won't crash if the DBI handle is
93 invalid or non-existent.
94
95
96 0.93 2000-04-17
97 - Fixed a problem with cloning. Clones other then the first clone
98 were getting a copy of the clone list. This caused unexpected
99 calls to the classes DESTROY method. This produced warnings, but
100 there shouldn't have been any errors.
101
102 0.921 2000-04-07
103 - Well I managed to check in the last version without including the
104 bug fix.
105 - Added select_one_to_array and select_one_to_arrayref.
106 - Fixed a nasty little bug involving CLONES. It had been failing to
107 register clones of clones. This was causing a memory leak.
108
109 0.920 2000-04-07
110 - Added ability to inserts with literal values.
111
112 0.910 2000-03-31
113 - Fixed bug in make test that caused it to fail when a password was
114 needed for testing. This didn't effect me as my database accepts
115 anonymous connections to the test database over loopback.
116 - Fixed some warnings when username or password were undefined.
117
118 0.900 2000-03-03
119 - Changed name to DBIx::Abstract in preparation for addition to
120 CPAN.
121 - Updated README to be accurate regarding the current version.
122 - Fixed a bug where an empty where would produce invalid SQL.
123 - Changed version to reflect the fact that it is VERY close to being
124 ready for 1.0.
125
126 0.079 2000-03-03
127 - Fixed a bug where an empty where would produce invalid SQL.
128 - Fixed a bug that caused death under S
129
130 0.078 2000-02-18
131 - Added 'saveSQL' option which, with each query, stuffs the generated
132 SQL into the 'lastsql' key in the self payload.
133 - Changed logging code for sql to log a single string (with quoted
134 parameters) instead of a string with ?'s and a bind_params array.
135
136 0.07.7 2000-01-19
137 - Fixed some memory leaks (these were only a problem if you were
138 creating SQL::DBI objects in a loop).
139 - Moved from test.pl to t/basic.t for better testing.
140
141 0.07.6 1999-12-29
142 - Another dumb bug... tried calling __logwrite before I had actually
143 created the SQL::DBI object.
144
145 0.07.5 1999-12-21
146 - Found stupid bug where if you called a statement handle specific
147 method before doing a query (and creating one) it would crash.
148 Normally I would shrug my shoulders and say "Don't be dumb", but
149 it is handy to be able to call "finish" regardless.
150
151 0.07.4 1999-12-09
152 - Made select_one_to_hashref and select_all_to_hashref accept the same
153 parameters as select.
154 - Made select accept both table and tables, as well as field and
155 fields.
156
157 0.07.3 1999-12-03
158 - Fixed bug Mike <[email protected]> found in the new special happy
159 join syntax. Maybe I should have tested it. Created more bugs,
160 then fixed those too.
161
162 0.07.2 1999-11-02
163 - Fixed the bug JasonJ <[email protected]> found. The connected and
164 the reconnect methods were failing due to a call to logwrite (the
165 real method name is __logwrite). I've also added tests for this
166 to the 'make test'.
167 - Added "join" and "group" params to select. This allows group bys
168 and easier joins.
169
170 0.07.1 1999-07-28
171 - Made it so that wheres can have arrays nested in them.
172 - Added code to make where generation code easier to debug.
173
174 0.07.0 1999-06-25
175 - Changed version numbering system so that I can have major and
176 minor releases more easily.
177 - Fixed a warning in select about a twice 'my'ed variable, thanks
178 Jmac.
179 - Fixed a bug that stopped people from passing a DBI data_source to
180 connect.
181 - Fixed logging to include @bind_params.
182 - Added warnings to test
183 - Changed all doubled quoted strings that didn't need to be double
184 quoted single quotes.
185 - Changed connect to log if it fails to connect. Improved die if
186 SQL::DBI is unable to create a data source.
187 - Added method ``connected''. It returns true if dbh->{'Active'} is
188 true.
189 - Added method ``reconnect''. Reconnects if this object has been
190 connected before.
191 - Added method ``ensure_connection''. Ensures that the object is
192 connected and that the connection is valid (by doing a ``SELECT
193 1''). Tries to reconnect if it isn't connected. Dies if it is
194 unable to provide a connection.
195 - Changed select so that table is optional. That is, db->select(1)
196 will produce ``SELECT 1'' instead of ``SELECT 1 FROM''
197 - Updated documentation to reflect that loglevel 0 is used for fatal
198 errors.
199
200 0.06 1999-04-23
201 - Fixed documentation where it used "is like" instead of "like".
202 - Modified all routines to use bind_params instead of 'quote'.
203 This should only effect users in positive ways, if at all.
204 - Changed connect to use 'dbname' instead of 'db' for compatibility
205 with ODBC. This change won't break legacy code: If you use 'db' it
206 will be renamed to 'dbname' for you.
207 - Changed DEFAULT connect type to simply generate an arbitrary
208 data_source based on the config hash you pass. So if you pass:
209 { driver=>'foo', bar=>'baz', blat='bar' }
210 Your data_source will be dbi:foo:bar=baz;blat=bar
211
212 0.05 1999-03-23
213 - Added "kill kill kill" and "die die die" as per jak's suggestion.
214 - Changed "kill kill kill" and "die die die" to all caps as per
215 jmac's suggestion.
216 - Added a few, undocumented "Mysql" compatibility functions
217 - Made insert, replace and update accept scalars as well as hashses
218 for all of their parameters.
219 - Documented the new alternative interface for passing all
220 parameters.
221 - Fixed bug in changes file... 0.03 and 0.04 were listed with the
222 wrong dates.
223
224 0.04 1999-02-26
225 - Added commit and rollback pass throughs.
226 - Added 'AutoCommit' option which works like DBH hash value, with
227 one difference: It will warn instead of die if you give it an invalid
228 value.
229 - Added DESTROY method. Now handles finish and disconnect calls on
230 its own.
231
232 0.03 1999-02-23
233 - Changed method of selecting the DBI datasource, should be easier
234 to add new datasources now.
235 - Now allows the datasource to be passed in as a scalar (for
236 databases not explicitly supported). This should allow this
237 module to work with any database supported by DBI.
238 - Now stores all of the information used to create the DBI
239 connection just in case we need it later.
240 - Changed fetchrow_hash to return values the same way
241 Mysql->fetchhash does. This should stop
242 'while(%hash=$db->fetchrow_hash)' constructs from breaking.
243 - Added dataseek function. Currently this is only useful with the
244 mysql driver, which is why it isn't documented yet. Hopefully
245 something like this is available with the other database drivers,
246 however if it isn't then i will remove it. (So don't use it yet!)
247 - Removed undocumented "join" feature of select. It was possible to
248 do it without an extra feature.
249 - Made all functions accept hashes as well as parameter lists. This
250 will be reaching the documentation in the next release, once it's
251 a bit more polished.
252
253 0.02a 1999-01-20
254 - Argh. Made it so that you can actually do a 'make install'.
255 (Broke with change to SQL::DBI.)
256
257 0.02 1999-01-14
258 - Changed name to SQL:DBI from Shashou.
259
260 0.01 1999-01-06
261 - Built a proper package for the module using h2xs
262 - Moved change log to 'Changes' file.
263 - Added the ability to support drivers other then MySQL. Now has
264 PostgreSQL support.
265
266 0.00 1999-01-05
267 - Added CHANGE LOG section.
268 - Started versioning (version 0.0)
269 - Moved PERLDOC section to bottom
270 - Made methods return $self my default
271 - Improved examples
272