bugfix to Oracle columns_info_for
[dbsrgits/DBIx-Class.git] / Changes
1 Revision history for DBIx::Class
2
3         - remove_columns now deletes columns from _columns
4
5 0.07001 2006-08-18 19:55:00
6         - add directory argument to deploy()
7         - support default aliases in many_to_many accessors.
8         - support for relationship attributes in many_to_many accessors.
9         - stop search_rs being destructive to attrs
10         - better error reporting when loading components
11         - UTF8Columns changed to use "utf8" instead of "Encode"
12         - restore automatic aliasing in ResultSet::find() on nonunique queries
13         - allow aliases in ResultSet::find() queries (in cases of relationships
14           with prefetch)
15         - pass $attrs to find from update_or_create so a specific key can be
16           provided
17         - remove anonymous blesses to avoid major speed hit on Fedora Core 5's
18           Perl and possibly others; for more information see:
19           https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=196836
20         - fix a pathological prefetch case
21         - table case fix for Oracle in columns_info_for
22         - stopped search_rs deleting attributes from passed hash
23
24 0.07000 2006-07-23 02:30:00
25         - supress warnings for possibly non-unique queries, since
26           _is_unique_query doesn't infer properly in all cases
27         - skip empty queries to eliminate spurious warnings on ->deploy
28         - fixups to ORDER BY, tweaks to deepen some copies in ResultSet
29         - fixup for RowNum limit syntax with functions
30
31 0.06999_07 2006-07-12 20:58:05
32         - fix issue with from attr copying introduced in last release
33
34 0.06999_06 2006-07-12 17:16:55
35         - documentation for new storage options, fix S::A::L hanging on to $dbh
36         - substantial refactor of search_related code to fix alias numbering
37         - don't generate partial unique keys in ResultSet::find() when a table
38           has more than one unique constraint which share a column and only one
39           is satisfied
40         - cleanup UTF8Columns and make more efficient
41         - rename DBIX_CLASS_STORAGE_DBI_DEBUG to DBIC_TRACE (with compat)
42         - rename _parent_rs to _parent_source in ResultSet
43         - new FAQ.pod!
44
45 0.06999_05 2006-07-04 14:40:01
46         - fix issue with incorrect $rs->{attrs}{alias}
47         - fix subclassing issue with source_name
48         - tweak quotes test to output text on failure
49         - fix Schema->txn_do to not fail as a classmethod
50
51 0.06999_04 2006-06-29 20:18:47
52         - disable cdbi-t/02-Film.t warning tests under AS perl
53         - fixups to MySQL tests (aka "work round mysql being retarded")
54         - compat tweaks for Storage debug logging
55
56 0.06999_03 2006-06-26 21:04:44
57         - various documentation improvements
58         - fixes to pass test suite on Windows
59         - rewrote and cleaned up SQL::Translator tests
60         - changed relationship helpers to only call ensure_class_loaded when the
61           join condition is inferred 
62         - rewrote many_to_many implementation, now provides helpers for adding
63           and deleting objects without dealing with the link table
64         - reworked InflateColumn implementation to lazily deflate where
65           possible; now handles passing an inflated object to new()
66         - changed join merging to not create a rel_2 alias when adding a join
67           that already exists in a parent resultset
68         - Storage::DBI::deployment_statements now calls ensure_connected
69           if it isn't passed a type 
70         - fixed Componentized::ensure_class_loaded
71         - InflateColumn::DateTime supports date as well as datetime
72         - split Storage::DBI::MSSQL into MSSQL and Sybase::MSSQL
73         - fixed wrong debugging hook call in Storage::DBI 
74         - set connect_info properly before setting any ->sql_maker things 
75
76 0.06999_02 2006-06-09 23:58:33
77         - Fixed up POD::Coverage tests, filled in some POD holes
78         - Added a warning for incorrect component order in load_components
79         - Fixed resultset bugs to do with related searches
80         - added code and tests for Componentized::ensure_class_found and
81           load_optional_class
82         - NoBindVars + Sybase + MSSQL stuff
83         - only rebless S::DBI if it is still S::DBI and not a subclass
84         - Added `use' statement for DBD::Pg in Storage::DBI::Pg
85         - stopped test relying on order of unordered search
86         - bugfix for join-types in nested joins using the from attribute
87         - obscure prefetch problem fixed
88         - tightened up deep search_related
89         - Fixed 'DBIx/Class/DB.pm did not return a true value' error
90         - Revert change to test for deprecated find usage and swallow warnings
91         - Slight wording change to new_related() POD
92         - new specific test for connect_info coderefs
93         - POD clarification and content bugfixing + a few code formatting fixes
94         - POD::Coverage additions
95         - fixed debugfh
96         - Fix column_info stomping
97
98 0.06999_01 2006-05-28 17:19:30
99         - add automatic naming of unique constraints
100         - marked DB.pm as deprecated and noted it will be removed by 1.0
101         - add ResultSetColumn
102         - refactor ResultSet code to resolve attrs as late as possible
103         - merge prefetch attrs into join attrs
104         - add +select and +as attributes to ResultSet
105         - added InflateColumn::DateTime component
106         - refactor debugging to allow for profiling using Storage::Statistics
107         - removed Data::UUID from deps, made other optionals required
108         - modified SQLT parser to skip dupe table names
109         - added remove_column(s) to ResultSource/ResultSourceProxy
110         - added add_column alias to ResultSourceProxy
111         - added source_name to ResultSource
112         - load_classes now uses source_name and sets it if necessary
113         - add update_or_create_related to Relationship::Base
114         - add find_or_new to ResultSet/ResultSetProxy and find_or_new_related
115           to Relationship::Base
116         - add accessors for unique constraint names and coulums to
117           ResultSource/ResultSourceProxy
118         - rework ResultSet::find() to search unique constraints
119         - CDBICompat: modify retrieve to fix column casing when ColumnCase is
120           loaded
121         - CDBICompat: override find_or_create to fix column casing when
122           ColumnCase is loaded
123         - reorganized and simplified tests
124         - added Ordered
125         - added the ability to set on_connect_do and the various sql_maker
126           options as part of Storage::DBI's connect_info.
127
128 0.06003 2006-05-19 15:37:30
129         - make find_or_create_related check defined() instead of truth
130         - don't unnecessarily fetch rels for cascade_update
131         - don't set_columns explicitly in update_or_create; instead use
132           update($hashref) so InflateColumn works
133         - fix for has_many prefetch with 0 related rows
134         - make limit error if rows => 0
135         - added memory cycle tests and a long-needed weaken call
136
137 0.06002 2006-04-20 00:42:41
138         - fix set_from_related to accept undef
139         - fix to Dumper-induced hash iteration bug
140         - fix to copy() with non-composed resultsource
141         - fix to ->search without args to clone rs but maintain cache
142         - grab $self->dbh once per function in Storage::DBI
143         - nuke ResultSource caching of ->resultset for consistency reasons
144         - fix for -and conditions when updating or deleting on a ResultSet
145
146 0.06001
147         - Added fix for quoting with single table
148         - Substantial fixes and improvements to deploy
149         - slice now uses search directly
150         - fixes for update() on resultset
151         - bugfix to Cursor to avoid error during DESTROY
152         - transaction DBI operations now in debug trace output
153
154 0.06000 2006-03-25 18:03:46
155         - Lots of documentation improvements
156         - Minor tweak to related_resultset to prevent it storing a searched rs
157         - Fixup to columns_info_for when database returns type(size)
158         - Made do_txn respect void context (on the off-chance somebody cares)
159         - Fix exception text for nonexistent key in ResultSet::find()
160
161 0.05999_04 2006-03-18 19:20:49
162         - Fix for delete on full-table resultsets
163         - Removed caching on count() and added _count for pager()
164         - ->connection does nothing if ->storage defined and no args
165           (and hence ->connect acts like ->clone under the same conditions)
166         - Storage::DBI throws better exception if no connect info
167         - columns_info_for made more robust / informative
168         - ithreads compat added, fork compat improved
169         - weaken result_source in all resultsets
170         - Make pg seq extractor less sensitive.
171
172 0.05999_03 2006-03-14 01:58:10
173         - has_many prefetch fixes
174         - deploy now adds drop statements before creates
175         - deploy outputs debugging statements if DBIX_CLASS_STORAGE_DBI_DEBUG
176             is set
177
178 0.05999_02 2006-03-10 13:31:37
179         - remove test dep on YAML
180         - additional speed tweaks for C3
181         - allow scalarefs passed to order_by to go straight through to SQL
182         - renamed insert_or_update to update_or_insert (with compat alias)
183         - hidden lots of packages from the PAUSE Indexer
184
185 0.05999_01 2006-03-09 18:31:44
186         - renamed cols attribute to columns (cols still supported)
187         - added has_column_loaded to Row
188         - Storage::DBI connect_info supports coderef returning dbh as 1st arg
189         - load_components() doesn't prepend base when comp. prefixed with +
190         - $schema->deploy
191         - HAVING support
192         - prefetch for has_many
193         - cache attr for resultsets
194         - PK::Auto::* no longer required since Storage::DBI::* handle auto-inc
195         - minor tweak to tests for join edge case
196         - added cascade_copy relationship attribute
197           (sponsored by Airspace Software, http://www.airspace.co.uk/)
198         - clean up set_from_related
199         - made copy() automatically null out auto-inc columns
200         - added txn_do() method to Schema, which allows a coderef to be
201           executed atomically
202
203 0.05007 2006-02-24 00:59:00
204         - tweak to Componentised for Class::C3 0.11
205         - fixes for auto-inc under MSSQL
206
207 0.05006 2006-02-17 15:32:40
208         - storage fix for fork() and workaround for Apache::DBI
209         - made update(\%hash) work on row as well as rs
210         - another fix for count with scalar group_by
211         - remove dependency on Module::Find in 40resultsetmanager.t (RT #17598)
212
213 0.05005 2006-02-13 21:24:51
214         - remove build dependency on version.pm
215
216 0.05004 2006-02-13 20:59:00
217         - allow specification of related columns via cols attr when primary
218           keys of the related table are not fetched
219         - fix count for group_by as scalar
220         - add horrific fix to make Oracle's retarded limit syntax work
221         - remove Carp require
222         - changed UUIDColumns to use new UUIDMaker classes for uuid creation
223         using whatever module may be available
224
225 0.05003 2006-02-08 17:50:20
226         - add component_class accessors and use them for *_class
227         - small fixes to Serialize and ResultSetManager
228         - rollback on disconnect, and disconnect on DESTROY
229
230 0.05002 2006-02-06 12:12:03
231         - Added recommends for Class::Inspector
232         - Added skip_all to t/40resultsetmanager.t if no Class::Inspector available
233
234 0.05001 2006-02-05 15:28:10
235         - debug output now prints NULL for undef params
236         - multi-step prefetch along the same rel (e.g. for trees) now works
237         - added multi-join (join => [ 'foo', 'foo' ]), aliases second to foo_2
238         - hack PK::Auto::Pg for "table" names referencing a schema
239         - find() with attributes works
240         - added experimental Serialize and ResultSetManager components
241         - added code attribute recording to DBIx::Class
242         - fix to find() for complex resultsets
243         - added of $storage->debugcb(sub { ... })
244         - added $source->resultset_attributes accessor
245         - added include_columns rs attr
246
247 0.05000 2006-02-01 16:48:30
248         - assorted doc fixes
249         - remove ObjectCache, not yet working in 0.05
250         - let many_to_many rels have attrs
251         - fix ID method in PK.pm to be saner for new internals
252         - fix t/30dbicplain.t to use ::Schema instead of
253           Catalyst::Model::DBIC::Plain
254
255 0.04999_06 2006-01-28 21:20:32
256         - fix Storage/DBI (tried to load deprecated ::Exception component)
257
258 0.04999_05 2006-01-28 20:13:52
259         - count will now work for grouped resultsets
260         - added accessor => option to column_info to specify accessor name
261         - added $schema->populate to load test data (similar to AR fixtures)
262         - removed cdbi-t dependencies, only run tests if installed
263         - Removed DBIx::Class::Exception
264         - unified throw_exception stuff, using Carp::Clan
265         - report query when sth generation fails.
266         - multi-step prefetch!
267         - inheritance fixes
268         - test tweaks
269
270 0.04999_04 2006-01-24 21:48:21
271         - more documentation improvements
272         - add columns_info_for for vendor-specific column info (Zbigniew Lukasiak)
273         - add SQL::Translator::Producer for DBIx::Class table classes (Jess Robinson)
274         - add unique constraint declaration (Daniel Westermann-Clark)
275         - add new update_or_create method (Daniel Westermann-Clark)
276         - rename ResultSetInstance class to ResultSetProxy, ResultSourceInstance
277           to ResultSourceProxy, and TableInstance to ResultSourceProxy::Table
278         - minor fixes to UUIDColumns
279         - add debugfh method and ENV magic for tracing SQL (Nigel Metheringham)
280
281 0.04999_03 2006-01-20 06:05:27
282         - imported Jess Robinson's SQL::Translator::Parser::DBIx::Class
283         - lots of internals cleanup to eliminate result_source_instance requirement
284         - added register_column and register_relationship class APIs
285         - made Storage::DBI use prepare_cached safely (thanks to Tim Bunce)
286         - many documentation improvements (thanks guys!)
287         - added ->connection, ->connect, ->register_source and ->clone schema methods
288         - Use croak instead of die for user errors.
289
290 0.04999_02 2006-01-14 07:17:35
291         - Schema is now self-contained; no requirement for co-operation
292         - add_relationship, relationships, relationship_info, has_relationship
293         - relationship handling on ResultSource
294         - all table handling now in Table.pm / ResultSource.pm
295         - added GROUP BY and DISTINCT support
296         - hacked around SQL::Abstract::Limit some more in DBIC::SQL::Abstract
297           (this may have fixed complex quoting)
298         - moved inflation to inflate_result in Row.pm
299         - added $rs->search_related
300         - split compose_namespace out of compose_connection in Schema
301         - ResultSet now handles find
302         - various *_related methods are now ->search_related->*
303         - added new_result to ResultSet
304
305 0.04999_01 2005-12-27 03:33:42
306         - search and related methods moved to ResultSet
307         - select and as added to ResultSet attrs
308         - added DBIx::Class::Table and TableInstance for table-per-class
309         - added DBIx::Class::ResultSetInstance which handles proxying
310           search etc. as a superclass of DBIx::Class::DB
311         - assorted test and code cleanup work
312
313 0.04001 2005-12-13 22:00:00
314         - Fix so set_inflated_column calls set_column
315         - Syntax errors in relationship classes are now reported
316         - Better error detection in set_primary_key and columns methods
317         - Documentation improvements
318         - Better transaction support with txn_* methods
319         - belongs_to now works when $cond is a string
320         - PK::Auto::Pg updated, only tries primary keys instead of all cols
321
322 0.04 2005-11-26
323         - Moved get_simple and set_simple into AccessorGroup
324         - Made 'new' die if given invalid columns
325         - Added has_column and column_info to Table.pm
326         - Refactored away from direct use of _columns and _primaries
327         - Switched from NEXT to Class::C3
328
329 0.03004
330         - Added an || '' to the CDBICompat stringify to avoid null warnings
331         - Updated name section for manual pods
332 0.03003 2005-11-03 17:00:00
333         - POD fixes.
334         - Changed use to require in Relationship/Base to avoid import.
335
336 0.03002 2005-10-20 22:35:00
337         - Minor bugfix to new (Row.pm)
338         - Schema doesn't die if it can't load a class (Schema.pm)
339         - New UUID columns plugin (UUIDColumns.pm)
340         - Documentation improvements.
341
342 0.03001 2005-09-23 14:00:00
343         - Fixes to relationship helpers
344         - IMPORTANT: prefetch/schema combination bug fix
345
346 0.03    2005-09-19 19:35:00
347         - Paging support
348         - Join support on search
349         - Prefetch support on search
350
351 0.02    2005-08-12 18:00:00
352         - Test fixes.
353         - Performance improvements.
354         - Oracle primary key support.
355         - MS-SQL primary key support.
356         - SQL::Abstract::Limit integration for database-agnostic limiting.
357
358 0.01    2005-08-08 17:10:00
359         - initial release