Cache column and primary/foreign/unique key info
[dbsrgits/DBIx-Class-Schema-Loader.git] / Changes
CommitLineData
af6c2665 1Revision history for Perl extension DBIx::Class::Schema::Loader
a78e3fed 2
a6fd0a48 3 - Fix Pg date/time types with zero fractional second digits
08886922 4 - Reduce the number of queries by caching the list of tables
8da6f199 5 and their columns and primary/foreign/unique keys
a6fd0a48 6
6bef6696 70.07043 2015-05-13
2fa358b6 8 - Fix many_to_many bridges with overlapping foreign keys
f08818c4 9 - Add option to allow extra columns in many_to_many link tables
ba12c8ac 10 - Document how to add perltidy markers via filter_generated_code
208bdf79 11 - Fix DB2 foreign-key introspection
ecf22f0a 12 - Remove dependency on List::MoreUtils and Sub::Name
160b07c5 13 - Ensure schema files are generated as binary files on Windows
c939b4ac 14 - Fix overwrite_modifications not overwriting if the table hasn't changed
48c1a6c5 15 - Filter out disabled constraints and triggers for Oracle (GH#5)
2fa358b6 16
f991529a 170.07042 2014-08-20
7c304e59 18 - Fix unescaped left braces in regexes in tests
ce75068d 19 - Use undef instead of '%' for the table and type arguments
36c8c37c 20 to $dbh->tables (fixes breakage with DBD::Pg 3.4.0)
7c304e59 21
802a1175 220.07041 2014-08-09
239fa6bc 23 - Fix many_to_many bridges going back to the same table
584aa86f 24 - Don't disconnect after ->load in static mode
2ebf0c39 25 (fixes Pg test failure with the upcoming DBIC 0.082800)
703d13f1 26 - Set up Travis smoking (mostly stolen from DBIC)
239fa6bc 27
53c4835c 280.07040 2014-05-27
c43d9f47 29 - Add options to omit the version and timestamp from the
30 generated code (RT#92300)
b32f8189 31 - Skip dumping unique indexes with expressions (RT#93613)
a01ac8ee 32 - Fix dumping unique indexes with DBD::Pg < 1.50
96d150a5 33 - Fix inconsistent naming of duplicate unique constraints
e94175f2 34 - Avoid clobbering caller's $_ (RT#96010)
c43d9f47 35
a6900c91 360.07039 2014-01-06
e80ea87b 37 - Fix table listing with DBD::DB2 >= 1.85 (RT#91764)
9f98bd82 38 - Add accessor for the list of (re)generated classes
28310f24 39 - Add dry-run mode for static schema creation
e80ea87b 40
242c1525 410.07038 2013-11-20
c4d629ab 42 - Allow coderef maps to call back into the hashref mapping code
55bcfd1a 43 - Fix MySQL column info detection with multiple schemas (RT#82358)
17ecc734 44 - Fix skip count for Oracle multi-schema tests
347cd75b 45 - Actually test data types that require separate tables
08ae3055 46 - Fix national character type sizes on DBD::Oracle >= 1.52
1de9c8e1 47 - Fix detection of qualified sequence names for Oracle (RT#90341)
c4d629ab 48
8a9cc3bb 490.07037 2013-10-30
392d1c58 50 - Allow overriding individual moniker parts
51
2f01b5e3 520.07036_04 2013-10-24
ce2f102a 53 - Set table_class to DBIx::Class::ResultSource::View for views, in
54 supported backends (SQLite, MySQL, and Pg) (arc@cpan.org)
55
02359603 560.07036_03 2013-10-22
c11cfe74 57 - Restore support for PostgreSQL 8.3 (RT#87291)
76e9a92a 58 - Fix t/23dumpmore on perl 5.8.8 and earlier
cfaae7fc 59 - Silence warnings from pure-perl Cwd::abs_path()
c11cfe74 60
6c3d66fe 610.07036_02 2013-09-25
e3c0a681 62 - Skip many_to_many bridges involving might_have relationships
63
4591a4ff 640.07036_01 2013-08-11
dee01f3b 65 - Fix typos in POD and comments (RT#87644)
c99880ce 66 - Don't ship MYMETA.* files (RT#87713)
b0cdc8a5 67 - Fix many_to_many bridges involving might_have relationships
ce620070 68 - Allow specifying custom attributes for many_to_many bridges
848731a7 69 - Allow specifying the separator when joining database, schema
70 and table names to form a moniker
fc972571 71 - Allow using all the moniker parts in hashref moniker_map
b187901e 72 - Allow matching all the moniker parts in constraint/exclude
dee01f3b 73
d372611d 740.07036 2013-07-08
2e86a3e6 75 - Fix stray comma in Pg on_delete/on_update => CASCADE (RT#84706)
afecb919 76 - Fix MySQL enums with empty strings and leading/trailing quotes (RT#86091)
77 - Fix "table" parameter in col_accessor_map callback (RT#84050)
9fc706c1 78 - Fix ordering issues in Pg loader
2e86a3e6 79
4a6249b2 800.07035 2013-02-26
81 - Release 0.07034_01 with a stable version number. 0.07034 is
82 skipped due to the improper dev release versioning.
83
616e34fe 840.07034_01 2013-01-21
85 - Fix fixture generation helper to work with older DBD::SQLite versions
e52d195f 86
616e34fe 870.07034_01 2013-01-16
7b2db7f3 88 - MSSQL: on > 2000 use schema_name() instead of user_name() to detect
89 current schema and query sys.schemas instead of sysusers.
4b5eca90 90 - SQL Anywhere: introspect ON DELETE/UPDATE rules, default is now
91 RESTRICT. is_deferrable still defaults to 1
f839d33b 92 - rewrite pg fk introspection to use catalog views instead of
93 information_schema as information_schema does not work for readonly
94 users
3492170f 95 - add rel_type param for relationship_attrs coderef
da7342ae 96 - pass link table details to rel_name_map for many_to_many bridges (RT#81091)
3492170f 97
ae151d4f 980.07033 2012-09-09 16:11:47
10b0a36e 99 - more thoroughly document the new behavior for relationship attributes
100 under "relationship_attrs" in ::Base POD
101 - add a loud WARNING to Makefile.PL about the new behavior for
102 relationship attributes
103
c34033b1 1040.07032 2012-09-09 13:17:20
add8bcf0 105 - SQLite: detect is_deferrable for inline FKs
7b6a8d73 106 - support coderefs for relationship_attrs
107
e505923e 1080.07031 2012-09-06 15:07:08
41bc1375 109 - fix 02pod.t failure due to lack of =encoding utf8 statement (patch by
110 Marcel Gruenauer) (RT#79481)
111
0af7cacc 1120.07030 2012-09-06 03:27:09
9890b10c 113 - allow user to set qualify_objects=0 in multischema configurations
0af7cacc 114 (andrewalker)
9890b10c 115
533d98c0 1160.07029 2012-09-05 16:41:56
a40434df 117 - Oracle: introspect ON DELETE and DEFERRABLE FK clauses
118 - Oracle WARNING: on_delete is now 'NO ACTION' by default, not
119 'CASCADE'. on_update is now 'NO ACTION' by default (Oracle does not
120 have update rules, this was done to preserve the behavior of the
121 schema when cross-deploying to SQLite.) is_deferrable is now
122 0 by default, not 1.
075473b9 123 - DB2: introspect ON DELETE/UPDATE FK clauses
124 - DB2 WARNING: the default for on_delete/on_update is now 'NO ACTION'
125 not 'CASCADE', the default for is_deferrable is still 1 because DB2
a40434df 126 does not have deferrable constraints.
075473b9 127 - SQLite: introspect ON DELETE/UPDATE and DEFERRABLE FK clauses
3b61a7ca 128 - SQLite WARNING: the default for on_delete/on_update is now 'NO ACTION'
129 not 'CASCADE', and the default for is_deferrable is now 0 not 1.
130
8990a2b2 1310.07028 2012-08-30 05:32:42
f8640ecc 132 - MSSQL: introspect ON DELETE/UPDATE clauses for foreign keys
133 - MSSQL WARNING: the default for on_delete/on_update is now 'NO ACTION'
134 not 'CASCADE'.
135
ef73d2ad 1360.07027 2012-08-26 22:39:45
958d5fcf 137 - PostgreSQL: introspect ON DELETE/UPDATE clauses for foreign keys and
138 the DEFERRABLE clause.
139 - PostgreSQL WARNING: the default for on_delete/on_update attributes for
140 belongs_to relationships is now 'NO ACTION' not 'CASCADE! The default
141 for is_deferrable is now 0 not 1.
142
b95e25c9 1430.07026 2012-08-26 01:01:26
9dedee1f 144 - MySQL: introspect ON DELETE/UPDATE clauses for foreign keys.
145 - MySQL WARNING: the default on_delete/on_update attributes for
146 belongs_to relationships is now RESTRICT, *NOT* CASCADE! This is
147 overridable via the relationship_attrs option.
148
70119893 1490.07025 2012-06-08 22:48:05
b8aba8da 150 - support SQL Server 2000 again (broken in 0.07011)
70119893 151 - some slight optimization for SQL Server driver
b8aba8da 152
c819561a 1530.07024 2012-05-08 15:35:16
79137580 154 - work around broken keyseq in DBD::Pg foreign_key_info (RT#77062)
155
835a650f 1560.07023 2012-05-05 11:44:15
a273b50c 157 - properly order FK columns when using base ::DBI loader (SineSwiper)
adf7b1a9 158 - bump Class::Inspector dep to 1.27 due to test failures with earlier
159 versions on perl >= 5.15.7 (RT#74236)
160
7c2059da 1610.07022 2012-04-08 12:11:00
006c8ed3 162 - do separate queries for default_value on Sybase ASE as some servers
163 can't join to that table (pcmantz) (RT#74170)
e17ad40a 164 - set correct size for nchar/nvarchar columns for Sybase ASE,
165 depending on @@ncharsize
166
bb46cd4b 1670.07021 2012-04-04 23:47:34
23fd9773 168 - use ::Schema::connect instead of ::Schema::connection in
169 make_schema_at (RT#74175)
170 - register sources on the schema class, never the instance, regardless
171 of how the connection is made for dynamic schemas
172
dec80986 1730.07020 2012-03-31 21:34:06
383bd2a8 174 - fix some mro issues under perl 5.8
175
22f91663 1760.07019 2012-03-28 17:23:09
116431d6 177 - fix some errors due to case issues (RT#75805)
178
18eb280f 1790.07018 2012-03-27 05:55:10
f21f7e97 180 - skip dbicdump tests on Win32 due to test fails (RT#75732)
5f4a9d44 181 - fix undefined warnings for DBDs without schemas
1af21646 182 - work around ORA-24345 from $dbh->column_info
a82f1dd4 183 - fix spelling mistake in Base POD (RT#74796)
184
b45a0999 1850.07017 2012-02-07 07:23:48
07307014 186 - *EXPERIMENTAL* support for dumping PostgreSQL schemas inside of a
187 transaction
b45a0999 188 - use DBI table_info/column_info REMARKS field if/where available for
189 table/column comments (SineSwiper)
190 - better compatibility with more DBDs (SineSwiper)
07307014 191
5fc335ab 1920.07015 2011-12-09 10:36:17
eaf23084 193 - generate many_to_many bridges for targets of link tables
194
0f844832 1950.07014 2011-11-18 17:06:34
c5694be0 196 - fix a bug in the automatic multischema clashing moniker disambiguation
197 code that overwrote $loader->moniker_parts
198
6bb8fa3c 1990.07013 2011-11-17 23:12:47
4c2e2ce9 200 - automatically prefix database/schema to clashing monikers for
201 the same table name in multischema configurations
202
eeeab540 2030.07012 2011-11-09 15:16:29
5b1d1376 204 - as of 0.07011 all callbacks receive a ::Loader::Table or
205 interface-compatible object instead of the table name, this object
206 stringifies to the table name (RT#72260)
50b95db6 207 - fix a bug in dynamic schema_base_class/schema_components
208 implementation that ran the connection method twice on subsequent
209 connects
310f3603 210 - use a temp file for filter_generated_code with a string program name
211 instead of IPC::Open2, which hangs on Win32 (RT#72226)
538bbf85 212 - previous version referred to the wrong RT# for the uniq_to_primary
213 change, it is actually (RT#51696)
214
8e6c80c9 2150.07011 2011-11-01 09:00:00
112415f1 216 - add -I option to dbicdump
b564fc4b 217 - do not delete default custom content comment and ending 1; from custom
218 content in files that are being renamed (RT#70507)
33c40155 219 - use MooseX::MarkAsMethods instead of namespace::autoclean for the
220 use_moose option, this protects operator overloads, only_autoclean
221 option added for the old behavior
57a3ea24 222 - add experimental naming=v8 mode with better CamelCase identifier
223 support, relationship naming and conversion of non-identifier chars
224 (RT#71945)
3bb5544f 225 - add naming => { force_ascii => 1 } option for Unicode database names
d3b8acfc 226 - implement schema_base_class and schema_components for dynamic and
227 working schemas
a79e1189 228 - remove dependency on File::Slurp
2db2c898 229 - allow the constraint and exclude options to be used simultaneously
230 (bphillips)
5975bbe6 231 - fix Oracle multi-db_schema unique detection (RT#70851)
f213ae4e 232 - fix Oracle common tests fail with multi_schema due to not resetting
233 the preserve_case option after the preserve_case tests (RT#70829)
1132d047 234 - handle <type> DEFAULT NULL for Pg
235 - handle boolean DEFAULT 0::boolean for Pg
3bb5544f 236 - config file support for dbicdump script (alnewkirk)
7dc01f79 237 - added filter_generated_code option (RT#53841)
ea998e8e 238 - generic table and column comments support
239 - MySQL table and column comments support
fcf328c7 240 - support DOS line endings on *nix and *nix line ending on Win32
900195eb 241 - add quiet option
39d5612f 242 - $schema->loader is now a public method
1fe6af07 243 - add schema_components option
b33d5949 244 - sort relationships so they always come out in the same order
6d358d58 245 - also sort unique constraints so they always come out in the same order
c4a69b87 246 - multi db_schema support with cross-schema rels (RT#39478)
247 - added moniker_parts option for name clashes in multi db_schema setups
59388920 248 - add rel_name_map option
3568bda9 249 - fix the decimal data type for MS Access over ODBC
698c11d8 250 - fix enum/set detection for MySQL (RT#68717)
2ae19e70 251 - fix is_nullable detection on MS Access
d5c9c286 252 - remove '$table has no primary key' warning
f92914ef 253 - added uniq_to_primary option to promote unique keys to primary keys
254 (RT#25944)
dc96667a 255 - support arrayrefs for result_namespace and resultset_namespace
256 (RT#40214)
c0a0986f 257 - add naming => { monikers => 'preserve' } or 'singular'/'plural' to
258 control moniker inflection (RT#44935)
259 - add naming => { column_accessors => 'preserve' } to not normalize
260 CamelCase column names to lower case for accessors (RT#64668)
12b86f07 261 - support quoted PostgreSQL schema names with special chars (RT#64766)
6ebd0f33 262 - automatically turn on quoting for MySQL (RT#60469)
af15ea33 263 - become utf8-aware (RT#67920)
dc379dc6 264 - handle duplicate relationship names (RT#64041)
265 - fix a bug in Sybase ASE foreign key detection
a8acb698 266 - generate POD for result_base_class, additional_classes,
267 additional_base_classes, left_base_classes, components,
8007f3a7 268 result_components_map, result_roles, result_roles_map, unique
269 constraints, set_primary_key and table
d36c8734 270 - rename result_component_map to result_components_map (old name still
271 works)
272 - fix accessor collision detection for methods from
273 result_components_map components
274 - add result_roles and result_roles_map options
c0767caf 275 - fix for mysql rel detection in mixed-case tables on mixed-case
276 filesystems (OSX and Windows)
308d65f0 277 - support for DBD::Firebird
5111e5d0 278 - support for unicode Firebird data types
0f21885a 279 - handle "use warnings FATAL => 'all';" in custom/external content
280 (RT#59849)
9c703ffb 281 - for dynamic schemas, if the naming option is set, will automatically
282 turn on use_namespaces=1 as well. Set use_namespaces=0 to disable
283 this behavior (RT#59849)
308d65f0 284
4295c4b4 2850.07010 2011-03-04 08:26:31
286 - add result_component_map option
287
c8845f2e 2880.07009 2011-02-25 11:06:51
ca2ca9c8 289 - fix a syntax error in MS Access ADO driver
290
3bdcf490 2910.07008 2011-02-25 01:54:43
3fea497f 292 - rename column_accessor_map to col_accessor_map, the old alias still
293 works
3b17d988 294 - support MSSQL over DBD::ADO
295 - support for MS Access over DBD::ODBC and DBD::ADO
3fea497f 296
3b71e53b 2970.07007 2011-02-15 10:00:07
298 - bump DBIx::Class dep to 0.08127
ae38ed69 299 - fix MSSQL data types for native client and EasySoft driver
300
e94ccbea 3010.07006 2011-02-01 02:18:32
da793144 302 - turn unloading of RelBuilder temp classes back on, now with proper
303 check for class existance using Class::Inspector->loaded
304 - bump up dep on namespace::clean to avoid breakage with earlier
305 versions (RT#65149)
306
c697835e 3070.07005 2011-01-25 23:07:55
667f1a0b 308 - support extra connect_info options like quote_char for dbicdump
07ba0049 309 - fix breakage on perl 5.8.x related to unloading temporary classes
310
4e793de7 3110.07004 2011-01-24 03:43:05
26c54680 312 - fix bug with result class methods being cached on in a closure instead
313 of the object, which breaks for multiple dynamic schemas in a single
314 perl instance
315
659817cf 3160.07003 2011-01-21 06:43:05
a7116285 317 - fix relname/method collisions (RT#62648)
71687093 318 - fix fully qualified component classes (RT#62624)
23ed3da1 319 - improve sybase/mssql db_schema detection
49643e1d 320 - remove MooseX::NonMoose from Schema files under use_moose=1
8f65b7e5 321 - better _tables_list for Sybase ASE
80b1e888 322 - add datetime_undef_if_invalid => 1 for MySQL datetime data types
57a9fc92 323 (RT#64820) This behavior can be turned off by passing
324 datetime_undef_if_invalid=0 as a loader option
cfc5dce3 325 - added column_accessor_map option
1ad8e8c3 326 - Preserve relationship names when redumping and another FK is added
327 (RT#62424)
328 - Remove resultset_components as ResultSetManager is deprecated
0dd4099e 329 - Fix a fail when very old Moose/CMOP is installed
15c4393b 330 - Added warning for column-accessor collisions, doc section in ::Base
331 ("COLUMN ACCESSOR COLLISIONS") and the col_collision_map option.
620f4ca4 332 - Handle column accessor collisions with UNIVERSAL methods
b8ae4518 333 - Generate custom_type_name hint for PostgreSQL enums, as used
334 by very recent SQL::Translator
12333562 335 - Added support for PostgreSQL enum types
4cd5155b 336 - Added table/column comment support for Oracle
61cd4bfc 337 - Fix missing require (RT#62072)
338
f671b630 3390.07002 2010-09-11 01:48:00
8de81918 340 - Properly detect a schema loaded with use_moose on subsequent
341 reloads
22edddda 342 - Die with a sensible message when a schema loaded with
343 use_moose => 1 is reloaded with use_moose => 0
942bd5e0 344 - Switch to MRO::Compat
1db66065 345 - Fix oracle common tests failure / lc(undef) warnings
a8ae008d 346 - Bump Moose/Moosex::NonMoose optional dependencies to fixed-up
347 versions
8dcf4292 348 - Fix mssql common tests failures with MSSQL 2005 (skip test of
349 datatypes found only on MSSQL 2008)
ebed3e6e 350 - Fix DB2 v8 test failures (skip tests of graphics types found
351 only on DB2 v9)
01f93238 352 - Fix dangerous invocation of ->meta on classes during upgrade
353 (may be *non* moosified and contain a user-defined meta() )
f671b630 354 - Multiple test cleanups and refactorings
942bd5e0 355
28949670 3560.07001 2010-07-24 21:28:08
aa0867ee 357 - put is_deferrable => 1 back into default attributes for belongs_to
9f333983 358 - fix Postgres sequence detection for qualified sequences
fb69f4f6 359 - detect DOS line ends in table/column comments and convert to \n
c9cf9b4d 360 - added use_moose option
10c0c4f3 361 - always mark pk columns is_nullable=0
4a1323d2 362 - fix unique constraint names for SQLite (actual names break ->deploy)
414c61a0 363 - fix bug in qualify_objects that would add schema to relnames
364 - better type info for Informix, except for DATETIME precision and
365 INTERVAL support
7640ef4b 366 - better type info for DB2
d2df9c9b 367 - fix some newly-introduced test bugs
6550c2ee 368 - fix composite PKs getting marked is_auto_increment on SQLite
7640ef4b 369
b1d11550 3700.07000 2010-05-22 23:40:15
371 - added qualify_objects option to prepend db_schema to table names
1b3e8f7a 372 - fix for negative numeric default values
5cd600fa 373 - sequence is detected for Oracle
374 - fix for SQLite is_auto_increment detection when table is empty (hobbs)
b511f36e 375 - rescan now reloads all tables
8c41c3ce 376 - minor type info improvements for all DBs
33aa3462 377 - fix erroneous default_value for MySQL NOT NULL columns (RT#57225)
6818ce9f 378 - remove is_deferrable => 1 from default for belongs_to rels
760fd65c 379 - better type info for Oracle
bc5afe55 380 - preliminary Informix support
0c1d5b47 381 - unregister dropped sources on rescan
b511f36e 382 - added 'preserve_case' option with support for all DBs where it makes
383 sense; removed the MSSQL 'case_sensitive_collation' and the
384 Firebird/InterBase 'unquoted_ddl' options in favor of it.
bc1cb85e 385 - support CamelCase table names and column names (in case-preserving
386 mode) at the v7 naming level
69219349 387 - rewrite datetime default functions as \'current_timestamp' where
8a64178e 388 possible (except for Sybase ASE) to ease cross-deployment
4337bddf 389 - use column_info instead of select to get Oracle column list (RT#42281)
be72dba7 390 - match quotes in MySQL parser in more places (RT#42101)
ae32aaf6 391 - fix unique detection in DB2 for multiple schemas (RT#39622)
9fdf3d5b 392 - fix column name collisions with methods (RT#49443)
3de915bc 393 - fix loading MySQL views on older MySQL versions (RT#47399)
394
5afd3e72 3950.06001 2010-04-10 01:31:12
81ade4d9 396 - fix type info for MSSQL
103e90da 397 - fix MSSQL collation detection on freetds tds version 8.0
398
231688f8 3990.06000 2010-04-06 01:12:25
26334ec1 400 - better type info for MySQL
401 - initial MySQL data type tests (jhannah)
2a8e93e9 402 - don't set result_namespace if it's 'Result'
9dc968df 403 - support for MSSQL databases with case sensitive collation, manually
404 overridable with 'case_sensitive_collation' option
71a6e88a 405 - do not try to detect driver and rebless when used with a custom
9dc968df 406 'loader_class'
bfb43060 407 - suppress 'bad table or view' warnings for filtered tables/views
27305cc1 408 - croak if several tables reduce to an identical moniker (ribasushi)
05f25b42 409 - better type info for Sybase ASE
df956aad 410 - better type info for Pg: sets sequence for serials, handles numerics
411 without precision
acfcc1fb 412 - better _tables_list for MSSQL
26da4cc3 413 - pick up views in SQLite too
414 - better rel inflection using Lingua::EN::Inflect::Phrase
53ef681d 415 - cascade_delete and cascade_copy are turned off for has_many/might_have
ee07e280 416 by default, and belongs_to has on_delete => 'CASCADE', on_update =>
417 'CASCADE' and is_deferrable => 1 by default, overridable via
418 relationship_attrs
419 - added config_file option for loading loader options from a file
0faae4b8 420 - set inflate_datetime => 1 for 'AS getdate()' computed columns in
421 Sybase
cf0ba25b 422 - Firebird support
829f17e3 423 - use introspection pragmas instead of regexes to introspect SQLite
424 (hobbs)
f170d55b 425 - generate POD for refs correctly from column_info
9dc968df 426 - fix tables list, fk introspection and type info for SQL Anywhere
05c54730 427
e42ec4ef 4280.05003 2010-02-20 05:19:51
d8cbfbb8 429 - support for custom_column_info, datetime_timezone and datetime_locale
430 (rbo)
9fd0726a 431 - improve parsing of SQLite tables when a column definition
432 spans multiple lines (hobbs)
db36a574 433 - fix missing trailing _id stripping for some relationship
434 names (rbuels)
0547c283 435 - fixed accessor POD bug, was not dereferencing scalar refs
436 before printing (rbuels)
db36a574 437
83b38372 4380.05002 2010-02-15 10:17:47
8793567f 439 - support for SQLAnywhere via DBD::SQLAnywhere and ODBC
83b38372 440 - fix picking up quoted tables for SQLite (RT#54538) patch from schwern
2a5dcfb3 441 - validate class/component loader_options to make sure classes
83b38372 442 are available before generating the schema, patch from bphillips
2a5dcfb3 443
dc767cd3 4440.05001 2010-02-05 14:29:27
41968729 445 - correct default_value for all backends with common tests
446 - fix bug with quoted Pg tables from $dbh->tables (RT#54338)
447 - add inflate_datetime => 0 to 'timestamp' types for Sybase
448
ca7feebf 4490.05000 2010-02-01 09:24:24
f730e1b6 450 - better data_type, default_value and size for Sybase
492dce8d 451 - added 'generate_pod' option, defaults to on
43b982ea 452 - added 'pod_comment_mode' and 'pod_comment_spillover_length' to
453 control table comment generation (waawaamilk)
492dce8d 454
04e60ed2 4550.04999_14 2010-01-14 06:47:07
540a8149 456 - use_namespaces now default, with upgrade/downgrade support
805dbe0a 457 - filter out un-selectable tables/views
d4d1a665 458 - fix NUMERIC/DECIMAL size column_info for postgres
59f54738 459 - now mentions skip_load_external feature in comments (jhannah)
460 - moniker_map POD correction (jhannah)
d4d1a665 461
1fa18849 4620.04999_13 2010-01-03 12:32:25
afb4c5bc 463 - exclude 'size' column_info for postgres when unnecessary, and
464 use the correct precision for varying types (except NUMERIC)
30a4c064 465 - 'naming' attribute and backward compatibility with 0.04006
afecb919 466 - added relationship_attrs option for setting attributes in
7b505bbd 467 generated relationships
72cd9295 468 - added overwrite_modifications option that ignores md5sums on
469 generated code
33fb8fa0 470 - added skip_load_external (jhannah)
1fa18849 471 - remove Class::Data::Accessor and Class::Accessor::Fast and switch
33fb8fa0 472 everything to Class::Accessor::Grouped (jhannah)
46065bcb 473 - better handling of db_schema for Oracle, based on (RT#35732)
474
0a701ff3 4750.04999_12 2009-11-30 23:36:14
309e2aa1 476 - fix MySQL rel introspection with on_connect_call =>
477 'set_strict_mode' (RT#52087)
478 - now using base 'DBIx::Class::Core' for Results (RT#52141)
479
a06118a6 4800.04999_11 2009-11-29 18:08:46
fbcfebdd 481 - added patch to generate POD from postgres by Andrey Kostenko (GUGU)
4daef04f 482 - added test for norewrite feature
5c6fb0a1 483 - fix default_value for MSSQL
484
b1ad1a84 4850.04999_10 2009-10-31 12:28:53
8803e4ed 486 - patch from Robert Bohne to make _table_uniq_info more correct for
487 Oracle
b1ad1a84 488 - fix data_type for identity columns with MSSQL
8803e4ed 489
c25ff208 4900.04999_09 2009-10-08
79193756 491 - Only redump the files when something has actually changed
b4dcbcc5 492 - Place a warning at the top of the files saying 'do not modify' to
493 match the one at the bottom of the auto-gen'd section
79193756 494
c25ff208 4950.04999_08 2009-08-28
6ae3f335 496 - Replace UNIVERSAL::require with Class::C3::Componentised
3f4461a5 497 - Add Sybase/MSSQL support through DBD::Sybase
1bcb47d3 498 - use $dbh->get_info(29/41) for qote_car/name_sep if available (semifor)
bfe03a54 499 - add MSSQL support through DBD::ODBC
1bcb47d3 500 - support MSSQL table names with a '.' in the name
501 - support MySQL CURRENT_TIMESTAMP()
6ae3f335 502
c25ff208 5030.04999_07 2009-04-18
a28b70f1 504 - Add result_base_class and schema_base_class options (RT #43977)
d70c335f 505 - Ignore duplicate uniq indices (including duplicates of the PK).
632cb26f 506 - Fix for DBD::SQLite 1.20
706ef173 507 - Fix for DBIx::Class 0.08100
76c488a6 508
c25ff208 5090.04999_06 Tue Nov 11, 2008
22270947 510 - Singularise table monikers by default
e7886624 511 - Strip trailing _id from single-column belongs_to relationships
ff746964 512 - Add "dbicdump" script for easy commandline dumping
af31090c 513 - Throw out the in-memory class generation, just dump to a temporary
514 directory if the user didn't specify one
c7bf4194 515 - Fix Oracle constraint and auto-increment detection for non-owned schemas
516 (RT #35732)
c25ff208 517 - Handle ResultSetManager deprecation warning in common tests
22270947 518
c25ff208 5190.04999_05 Mon Apr 14, 2008
072d5aae 520 - Fix limiting table list to the specified schema for DB2
7a930e63 521 - Default db_schema to the username for DB2
29ddb54c 522 - Allow specifying a custom loader_class, overriding the
523 storage_type-based detection
565ca24d 524 - Cosmetic fixes to dumping of externally defined classes
2a620a1b 525 - Make ResultSetManager notice externally defined :ResultSet methods
2328d1fc 526 - Fix test failure for non-InnoDB MySQL due to wrong skip count
390bbe3f 527 - Fix base class ordering in dumped classes
528 - Run the common tests against both dynamic and dumped versions of
529 the schema
072d5aae 530
c25ff208 5310.04999_04 Wed Mar 12, 2008
772cfe65 532 - Add is_auto_increment detecton for DB2
533
c25ff208 5340.04999_03 Wed Mar 12, 2008
28357fd3 535 - Fix DB2 support
536
c25ff208 5370.04999_02 Tue Feb 12, 2008
fb328d1a 538 - Add is_auto_increment detection for Oracle
d87d939a 539 - Unnhide the Oracle module now that the CPAN perms are sorted
540 out. Thanks to Tsunoda Kazuya for the quick response.
fb328d1a 541
c25ff208 5420.04999_01 Tue Feb 5, 2008
e7213f4f 543 - Mark foreign key columns with is_foreign_key => 1
c5baf131 544 - Add support for vendor-specific extra column attributes.
8fdd52a2 545 - Add support for extra => { unsigned => 1 } for MySQL.
46bef65f 546 - Add support for enum value lists for MySQL
7dba7c70 547 - Set join_type => 'LEFT OUTER' for nullable foreign keys
548 (patch from Bernhard Weißhuhn)
78b7ccaa 549 - Set is_auto_increment for auto-increment columns (RT #31473)
550 (Only SQLite, MySQL and PostgreSQL are currently supported)
af99957c 551 - Generate one-to-one accessors for unique foreign keys (ilmari)
a1726271 552 - Add support for load_namespaces-style class layout
45f3698a 553 - Fix test skip count for main skip_rels block
a1726271 554 - Fix auto-inc column creation for the Oracle tests
75a0d986 555 - Fix column ordering in unique constraints for Oracle
2ffd6b4c 556 - Fix Win32 test skip counts for good (RT #30568, Kenichi Ishigaki)
d0e184e9 557 - Default Oracle db_schema to db username (patch
558 from Johannes Plunien)
af99957c 559
c25ff208 5600.04003 Wed Oct 4, 2007
f1f25439 561 - Prevent users from running Kwalitee test automatically
9616156f 562 - Fix extra whitespace being added to output on
563 regeneration (from ilmari)
564
c25ff208 5650.04002 Tue Jul 24, 2007
c39e3507 566 - rescan method now returns the actual list of new tables
567 loaded (previously, the return value wasn't taking
568 constraint/exclude into account, even though the meat
569 of the operation was).
570 - Hid the Oracle module so that search.cpan.org will stop
571 ignoring this package, temporary fix until perms are
572 sorted out
1c1efbce 573 - Fix Win32 test skip counts (RT #27715, Alexandr Ciornii)
574 - Fix a small output quoting bug (RT #28073, Tokuhiro Matsuno)
09c19d42 575
c25ff208 5760.04001 Tue Jun 26, 2007
28b4691d 577 - Deprecated dump_overwrite. The changed behavior from
578 0.03xxx was confusing.
579 - Added new option really_erase_my_files, which does what
580 dump_overwrite did in 0.04000, which is not what it did
581 in 0.03xxx.
582
c25ff208 5830.04000 Thu Jun 7, 2007
7507c8ce 584 - Added some env vars for controlling the Makefile.PL feature
585 questions, to make automation easier.
586
c25ff208 5870.03999_02 Tue May 22, 2007
3fe9c5d9 588 - Converted to Module::Install
589
c25ff208 5900.03012 Tue May 22, 2007
0c0a7757 591 - Relationship names for multiple multi-col rels between
592 the same table fixed by ilmari
593 - Fix from Marc Espie for CREATE TABLE 'foo' for SQLite
522ee84e 594 - skip ^sqlite_ tables in SQLite (thanks chromatic)
595
c25ff208 5960.03999_01 Sat Apr 14 19:57:40 GMT 2007
e7262300 597 - Added *experimental* Oracle support from work done
598 by Tsunoda Kazuya some months ago. Not well tested.
7fa9a8b1 599 - Added "rescan" schema (and loader) method, which picks
600 up newly created tables at runtime
7cab3ab7 601 - Made dump_to_dir / dump_overwrite much more intelligent
602 (they now preserve customizations by default)
fd589700 603 - Added support for DBI's new standard "statistics_info"
604 method to gather unique key info (only supported by
79fe0081 605 DBD::Pg trunk afaik)
12af3806 606 - columns_info_for imported from DBIx::Class
607 - relationships are now on by default, use skip_relationships
608 to disable them
609 - Removed previously deprecated methods/options
32f784fc 610 - Added $VERSION to all packages in this dist
611
c25ff208 6120.03011 Sat Apr 14 19:03:07 UTC 2007
050003c5 613 - fix case-sensitivity in UNIQUE parsing for SQLite
614
c25ff208 6150.03010 Thu Mar 29 12:36:19 UTC 2007
518472fa 616 - Workaround for new incompatible changes in DBD::mysql's "tables"
617 method, which was causing us to find no tables w/ DBD::mysql
618 4.002+
9dedee1f 619 - Fixed quoting problem in _table_columns (could cause crash when
a0cc2498 620 dumping/doing a static create) (from ash)
621
c25ff208 6220.03009 Wed Nov 15 14:03:37 UTC 2006
a0cc2498 623 - fix for rt.cpan.org #22425 (use File::Spec where appropriate)
624 - use full instead of short classnames in relationships (from victori)
01de2418 625
c25ff208 6260.03008 Fri Oct 20 18:08:20 UTC 2006
88603c41 627 - fix for rt.cpan.org #21084 (dump_overwrite pathological output recursion)
628 - fix for rt.cpan.org #21758 (mysql reserved words as table names)
629 - fix for rt.cpan.org #21025 (SQLite FK parsing)
630 - workaround for rt.cpan.org #21746 ($Class::Accessor::Fast::VERSION issues)
631
c25ff208 6320.03007 Thu Jul 27 16:19:59 UTC 2006
e682950b 633 - Kill erroneous warning about connect/loader_options order (the real
634 case is warned about elsewhere)
635 - Fix t/22dump to work around ActiveState issues
636
c25ff208 6370.03006 Wed Jul 26 00:14:58 UTC 2006
520107ef 638 - Fixed column-case issue w/ columns_info_for
639
c25ff208 6400.03005 Wed Jul 19 15:09:30 UTC 2006
8ac8926d 641 [ Pretty much everything in this release originates from nilsonsfj patches ]
642 - bugfix: mysql unique constraint code had an
643 obvious but longstanding error
644 - bugfix: columns were being specified out-of-order,
645 bug was introduced in the 0.03004 column metadata
646 dumping feature
02356864 647 - dump code now skips+warns instead of dies when
8ac8926d 648 dump_overwrite not set
02356864 649
c25ff208 6500.03004 Tue Jul 11 04:38:09 UTC 2006
d65cda9e 651 - make_schema_at efficiency improvements
652 - improved debugging output
653 - column metadata now included in dumped schemas
d65cda9e 654 - Carp::Clan added, and some dies converted to croaks
655 - no longer overwrites files when dumping, unless asked
656 to do so via the dump_overwrite option
657 - loader_options can now be embedded in the connection info
658 - Documentation improvements
71b997e9 659 - Deprecation notices updated, most things that became
660 "deprecated" in 0.03 are now marked for death in 0.04000
661 - All deprecated usage patterns should now generate annoying
662 warnings (most did before).
663 - Somewhat improved test coverage
d65cda9e 664
c25ff208 6650.03003 Tue Jun 6 02:22:49 UTC 2006
e50425a9 666 - Fix inclusion of external add-on class definitions
667 in dump_to_dir output.
668
c25ff208 6690.03002 Tue Jun 6 01:27:25 UTC 2006
fc2b71fd 670 - rethrow exceptions that occur during make_schema_at
671
c25ff208 6720.03001 Mon Jun 5 23:17:57 UTC 2006
8f9d7ce5 673 - load_from_connection deprecation notice now mentions
674 upgrading Catalyst::Model::DBIC::Schema if that module
675 seems to be in use.
5223f24a 676 - DBIx::Class required version number fixed
677 - Loader statement caching for better load-time performance
678 - Improved Pg unique index loader, based on RDBO
679
c25ff208 6800.03000 Tue May 23 12:56:05 UTC 2006
074e81cd 681 - weakened the circular schema reference
682
c25ff208 6830.02999_10 Mon May 22 18:58:20 UTC 2006
996be9ee 684 - a few more small bugfixes
685 - more dump/debug improvements
686 - new exportable function "make_schema_at"
687
c25ff208 6880.02999_09 Sun May 21 23:26:58 UTC 2006
996be9ee 689 - More docs improvements
690 - default uniq_info just warns and returns nothing now,
691 instead of dying. In theory, this allows unsupported
692 DBD drivers to potentially work with this module, if
693 the generic methods happen to work for that vendor.
694 - New tests for the various current and legacy/deprecated
695 methods of connecting a Schema::Loader class/object.
696 - Bugfix to the new runtime object connect/load code.
697
c25ff208 6980.02999_08 Sat May 20 22:36:45 UTC 2006
996be9ee 699 - support for dumping to a directory for
700 conversion to manual DBIx::Class::Schema
701 - improved debugging output
702 - more documentation updates
703 - more backwards compatibility fixes
704 - runtime connection definitions (and cloning) work fine now.
705 - A couple of bugfixes related to db vendor "schemas", including
706 a fix for http://rt.cpan.org/Public/Bug/Display.html?id=19164
707
c25ff208 7080.02999_06 Thu May 18 16:32:41 UTC 2006
996be9ee 709 - backwards compat with all earlier versions
710 - no longer requires schema class to have a connection
711 - correctly determine source class names in the rel code generator
712 - fixed mysql testing w/o InnoDB
713 - Writing guide updated
714 - docs updated
715 - various trivial updates / fixes
716
c25ff208 7170.02999_05 Sun Mar 26 06:46:09 UTC 2006
996be9ee 718 - bugfixes to constraint/exclude code
719 - friendly warnings if we don't find any tables
720 - inflect_map becomes inflect_plural and inflect_singular
721 - Singularize relationship names where appropriate
722 - Test updates
723 - Supports multiple rels between the same pair of tables
724
c25ff208 7250.02007 Wed Mar 22 06:03:53 UTC 2006
ac890564 726 - Backported Class::C3::reinitialize changes from -refactor
a0cc2498 727 branch, resulting in significantly reduced load time
09d632a1 728
c25ff208 7290.02006 Fri Mar 17 04:55:55 UTC 2006
ac5ad557 730 - Fix long-standing table/col-name case bugs
731
c25ff208 7320.02999_04 Fri Mar 17 03:55:09 UTC 2006
996be9ee 733 - Fixed case-sensitivity issues for table/col names
734 - Punt columns_info_for to ->storage
735 - Large loading speedup (get rid of redundant C3 reinits)
736 - Removed TEST_POD checks
737 - Removed unneccesary storage->disconnect
738
c25ff208 7390.02999_03 Mon Mar 13 15:01:11 UTC 2006
996be9ee 740 - Added EXAMPLE section to pod [Kieren Diment]
741 - Invasive heavy changes to the DBI- and vendor-specific code
742 (expect some breakage in some cases until this settles down)
743 - Support for loading UNIQUE constraints
744 - Tests cleaned up a bit
745 - Relationship building seperated out into it's own file for
746 the changes that are coming, but still does basically what
747 it did before (this work is the next step).
748
c25ff208 7490.02999_02 Sat Mar 4 16:53:21 UTC 2006
996be9ee 750 - Merged in relevant changes from trunk since the split
751
c25ff208 7520.02005 Mon Feb 27 23:53:17 UTC 2006
d161cb49 753 - Move the external file loading to after everything else
a0cc2498 754 loader does, in case people want to define, override, or
755 build on top of the rels.
d161cb49 756
c25ff208 7570.02004 Mon Feb 27 23:53:17 UTC 2006
1b311bbb 758 - Minor fix to debugging message for loading external files
759
c25ff208 7600.02999_01 Sun Feb 28 00:24:00 UTC 2006
996be9ee 761 - Shuffle the modules around
762 - Make ourselves theoretically storage_type-agnostic
763 - Remove the _db_classes stuff, bump PK::Auto to Base
764 - Change default inflections to Lingua::EN::Inflect::Number::to_PL()
765
c25ff208 7660.02003 Sun Feb 19 20:42:01 UTC 2006
1031d4f6 767 - Deprecated arguments: dsn, user, password, options
768 - New argument: connect_info
769
c25ff208 7700.02002 Sat Feb 18 19:53:12 UTC 2006
4350370d 771 - Added moniker_map and inflect_map
772
c25ff208 7730.02001 Fri Feb 17 20:25:40 UTC 2006
c2849787 774 - tests fixed up a bit
17725ccb 775 - auto-loading of on-disk class definitions layered on top
776 of the generated definitions (create Foo::Schema::Bar, then
777 also try to ->require it if it exists on disk).
778 - new parameters components and resultset_components, which do
779 the obvious for the generated table classes.
780 - DBIx::Class pre-req bumped to 0.05006, since Schema::Loader
781 is virtually gauranteed to cause subtle mod_perl problems
782 without those fixes.
c2849787 783
c25ff208 7840.02000 Sun Feb 12 22:43:47 UTC 2006
89ecd854 785 - Just docs/version update, 0.01004 code released as 0.02000
786
c25ff208 7870.01004 Tue Feb 7 03:58:01 UTC 2006
738705c6 788 - No longer tries to parse out the table name from the dsn for mysql,
789 was unneccesary vestigial code from previous method.
790
c25ff208 7910.01003 Mon Feb 6 14:57:56 UTC 2006
c5de0b0c 792 - Fixed the has_many side of _make_cond_rel
793
c25ff208 7940.01002 Fri Feb 3 23:14:38 UTC 2006
f654c972 795 - Email address typo :(
796
c25ff208 7970.01001 Fri Feb 3 05:15:41 UTC 2006
457eb8a6 798 - Fixed up some documentation issues
799 - Load C3 at the right time
800
aec93e93 8010.01 Fri Feb 3 01:53:46 UTC 2006
802 - original release
803 - created from DBIx::Class::Loader 0.14