Debian Codegraph @

Changes

raw
1 Revision history for Perl extension DBIx::Simple.
2
3 Incompatible changes are marked with "!!". Incompatibility with and changes in
4 "undocumented features" are not always specifically mentioned here.
5
6 1.37 2017-12-08 23:49
7 - POD syntax fix
8
9 1.36 2017-12-08 21:23
10 - $result->object and $result->objects now load any module on demand.
11 (Suggested by Krasimir Berov.)
12 - New: $result->group, $result->group_hashes, $result->group_arrays.
13 (Suggested by Mark Overmeer.)
14 - Fixed typo in 1.35 release date below. (Reported by Sjors Gielen.)
15 - Changed changelog date format from insane to ISO 8601-ish.
16
17 1.35 2011-01-04 23:48
18 !! - RaiseError is now enabled by default, as announced three years ago.
19 Set PERL_DBIX_SIMPLE_NO_RAISEERROR=1 to get the old behavior.
20
21 1.34 2010-12-12 16:28
22 - Added missing documentation. (Reported by Krasimir Berov.)
23 - Fixed off-by-20 mistake in unit tests.
24
25 1.33 2010-12-04 00:30
26 - New license: any(OSI).
27 - Documentation overhaul.
28 - New: $result->kv_list, $result->kv_array, $result->kv_flat,
29 $result->kv_arrays. Handy if the unordered nature of hashes gets in
30 the way.
31 - New: $result->object, $result->objects.
32 - Fixed bug #26924. Cache lookup missed statements at index 0.
33 (Reported by Stanis Trendelenburg via RT.)
34 - Please note that very probably RaiseError will be enabled by
35 default in the next version.
36
37 1.32 2007-07-17 14:58
38 - Test updated to conform to fixed bug in Test::More. See
39 http://www.nntp.perl.org/group/perl.qa/2007/09/msg9269.html
40
41 1.31 2007-07-15 00:29
42 - New: $db->iquery. This method loads SQL::Interp on demand. The
43 feature was requested by several people. Thanks go out to David
44 Manura for writing SQL::Interpolate, and to Mark Stosberg for
45 improving it and releasing that as SQL::Interp.
46
47 1.30 2007-04-08 02:29
48 - Fixed bug #18629. Apparently Want does not consider a method call in
49 rvalue context. The premature optimization that used Want has simply
50 been removed. (Reported by Tomi via RT.)
51 - Fixed bug #22829. With connect($dbh) or new($dbh), DBIx::Simple no
52 longer disconnects implicitly. (Reported by BORISZ via RT.)
53
54 1.29 2007-04-04 02:22
55 - Fixed documentation typo.
56
57 1.28 2007-04-04 02:16
58 - New: $db->result_class. This allows using a custom subclass.
59 - $result->flat now returns an array reference in scalar context.
60 - Optimized: map (up to 15% faster).
61 - The "map" method now really requires exactly two columns.
62 - Minor documentation improvements.
63
64 1.27 2007-0318 21:14
65 !! - Bugfix: (??) was replaced when quoted
66 !! - Bugfix: \' escaping was assumed, but actually only MySQL uses that
67 - New: support \' escaping only for DBD::mysql
68 - New: test suite!
69 - Removed dependency on Data::Swap
70 !! - Removed compatibility package DBIx::Simple::SQE
71
72 1.26 2004-11-30 14:25
73 - Removed documentation of emulate_subqueries.
74 - Minor documentation fixes.
75
76 1.25 2004-06-21 09:39
77 - New: $result->text.
78 - This new method can use Anno Siegel's Text::Table (loaded on demand).
79
80 1.24 2004-06-20 21:32
81 - New: $result->xto.
82 - New: $result->html.
83 - These new methods use Jeffrey Hayes Anderson's DBIx::XHTML_Table
84 (loaded on demand).
85 - New: $result->text.
86 - Documentation =~ s/ESQ/SQE/g. (Reported by Larry Kos)
87
88 1.23 2004-06-10 00:00
89 - New: DBIx::Simple::SQE.
90 - New: $db->abstract.
91 - New: $db->select.
92 - New: $db->insert.
93 - New: $db->update.
94 - New: $db->delete.
95 - These new methods use Nathan Wiger's SQL::Abstract (loaded on demand)
96 and are based on a suggestion by simonm (perlmonks.org).
97 - Yes, I lied. I said that this module would never get SQL abstraction,
98 but this was too easy to add and doesn't hurt anyone who doesn't use
99 it.
100 - New: $db->begin, an alias for $db->begin_work.
101 !! - Removed: $db->emulate_subqueries, $db->esq. (But see
102 DBIx::Simple::SQE.)
103 !! - Removed: $db->omniholder. (Now a constant: always "(??)".)
104
105 1.22 2004-05-06 17:30
106 - Changed the declaration of a variable so that it doesn't blow up
107 under 5.8.4's better strict. This should also fix a still
108 undiscovered bug in the deprecated subquery emulation.
109 (Reported and patched by Jos Boumans <irc>)
110
111 1.21 2004-04-29 14:40
112 - Removed two nonsense entries from the changelog. $db->array and
113 $db->hash do NOT reuse.
114
115 1.20 2004-04-27 11:15
116 - Almost a complete rewrite :)
117 - $db->emulate_subqueries is now deprecated. Use a better database
118 engine instead.
119 - $db->omniholder is now deprecated. The omniholder will be constant.
120 - $db->{success} is now deprecated. Use the return value of $db->query
121 instead.
122 - $db->{reason} is now deprecated. Use $db->error instead.
123 !! - $db->{dbi} has been renamed. Use $db->dbh instead (not $db->{dbh}).
124 - DBIx::Simple->error can now be used as a class method.
125 - New: $db->last_insert_id.
126 - New: $db->keep_statements and statement caching.
127 - New: $db->dbh.
128 !! - New: $db->lc_columns, enabled by default. Affects $result->columns,
129 $result->hash, $result->hashes, and $result->map_hashes.
130 - New: $result->columns.
131 - New: $result->bind, $result->fetch, $result->into.
132 - New: $result->func. (Suggested by Sean McMurray <[email protected]>)
133 - New: $result->attr. (Suggested by Sean McMurray <[email protected]>)
134 - $result->array now returns a copy instead of the same arrayref over
135 and over. If you need maximum efficiency, use $result->fetch instead.
136 - Removed dependency on Attribute::Property to fix bugs with
137 $db->emulate_subqueries and $db->omniholder in Perl 5.8.x.
138 !! - As a result, archaic property assignment style no longer works.
139 Instead of "$foo->bar($new_value)", use "$foo->bar = $new_value".
140 - Improved error reporting.
141 - As a result, DBIx::Simple now depends on Data::Swap.
142 - Moved examples to a separate document: DBIx::Simple::Examples.
143 - More conditions in DESTROY methods, to handle random destruction
144 order during global destruction better.
145 - Rebuilt distribution with h2xs to get lib/ and t/.
146
147 1.11 2003-03-26 19:05
148 - Documentation updates.
149 !! - list() now returns the *last* element in scalar context (was: first).
150 - hashes() and arrays() now return array references in scalar context.
151 - Migrated two properties to Attribute::Properties. (new dependency)
152 - $VERSION++.
153
154 0.10 2003-01-09 10:03
155 - Documentation rewrite!
156 - New: $db->error(). In an upcoming release, $db->{reason} will be
157 removed.
158 - New: $db->func().
159 - Removed some unused variables.
160 - prepare() and execute() are now wrapped in eval { } to rewrite
161 filename and line number if you use RaiseError
162 - $result->map_hashes(), $result->map_arrays() and $result->map() now
163 return a list in list context. In scalar context, they still return
164 a hash reference
165 - Dummy objects in boolean context now evaluate to false, so you can
166 write "$db->query(...) or die $db->error;" but still be able to write
167 "$db->query(...)->something()".
168 - Dummy object's methods now return an empty list in list context
169 instead of undef.
170 - PrintError now defaults to 0
171
172 0.09 2002-12-08 05:59
173 - $dbh->disconnect() only if the object's still there. This works
174 around perl bug #18951. Something is killing objects during (or just
175 before) global destruction. This bug was first found by Gerard Oskamp
176 <[email protected]>.
177
178 0.08 2002-12-02 21:16
179 - Added $result->finish() method
180 - The documentation was wrong: "undef $result" did nothing useful, as
181 DBIx::Simple kept a copy internally, for garbage cleaning purposes.
182 An in-between class DBIx::Simple::Statement was added to work around
183 this.
184 - $db->disconnect() now destroys active statements
185 - When finish() or disconnect() is used, attempts to use the database
186 connection or statement handle now result in a verbose error message.
187
188 0.07 2002-09-30 07:48
189 - Removed TraceLevel thing that caused DBI to output debugging info
190 - Very minor documentation update (removed 2 characters)
191
192 0.06 2002-09-20 10:55
193 - Oops: forgot to update the README file; nothing serious
194
195 0.05 2002-09-19 14:32
196 - Added $db->begin_work
197 - No longer expanding the (??) omniholder inside quoted SQL
198 - Subquery emulation! Have subqueries in MySQL! YAY!
199 (Not enabled by default. Use $db->esq(1) to enable)
200 - This module now requires Perl >= 5.6
201
202 0.04 2002-09-17 15:46
203 - Documentation updates only
204
205 0.03 2002-06-13 09:50
206 - New: "(??)" and $db->omniholder() (like EZDBI's ??L placeholder)
207 - Documentation updates
208 - Code updates (now uses $_[0] directly for speed in many methods)
209 - $result->list() in scalar context returns first value only
210
211 0.02 2002-03-30 14:00
212 - New: $db->commit() and rollback().
213 Suggested by tradez (perlmonks.org)
214 - New: $result->map_hashes(), map_arrays(), map().
215 Suggested by mattr (perlmonks.org)
216 - New: $result->flat(), a plural form of list()
217
218 0.01 2002-03-28 18:04
219 - Initial CPAN release