Release commit for 1.59_01
[dbsrgits/SQL-Translator.git] / Changes
CommitLineData
deeb46b3 1Changes for SQL::Translator
7313cecb 2
b7b547bc 31.59_01 - 2019-04-28
1f742579 4 * Add support for parsing PostgreSQL dollar-quoted strings
8d59dd51 5 * Add support for materialized views in Oracle producer
b39d4d3a 6 * switched JSON backend from JSON.pm to JSON::MaybeXS
32be8496 7 * Port Makefile.PL from Module::Install to Distar
9b573dbd 8 * Synchronise the version number across all modules
1f742579 9
34b8fea4 100.11024 2018-01-09
11
12 * Remove temporary diagnostics added in 0.11023_01
13
fae59414 140.11023_02 2017-12-08
15
c481687c 16 * Make maybe_plan skip on unrecognised failures to load modules
17
e8ce6480 180.11023_01 2017-12-07
19
20 * Add diagnostics to t/postgresql-rename-table-and-field.t that's
21 failing mysteriously on some smokers
22
3cdaa7b8 230.11023 2017-12-05
24
deb63b42 25 * Fix error handling for Test::PostgreSQL 1.20
26
79ed8ef1 270.11022 2017-12-04
28
7f3f64d7 29 * Add support for monotonically increasing SQLite autoincs (GH#47)
e773f3ff 30 * Add support for CHECK constraint in SQLite producer (GH#57)
59d5eaf6 31 * Add support for CHECK constraint in POD producer (GH#63)
237e4855 32 * Fix forgotten quoting in the MySQL DROP TABLE diff producer (GH#50)
84ef6e4e 33 * Fix Pg grammar parsing of UUID, time, timetz columns (RT#100196, GH#52)
5b36314d 34 * Add support for USING and WHERE on indexes in PostgreSQL producer
9c05d806 35 and parser (RT#63814, GH#52)
e533bcdd 36 * Improve add_trigger consistency between producers (GH#48)
c0ec0e22 37 * Add trigger 'scope' attribute support to JSON, YAML and XML producers,
38 and XML and SQLite parsers (RT#119997)
c1f9a59d 39 * Declare dependencies in deterministic order (RT#102859)
237e4855 40 * Multiple speedups of naive internal debugging mechanism (GH#54)
a1c9c64f 41 * Remove dependency on List::MoreUtils ( http://is.gd/lmu_cac_debacle )
fd498bb0 42 * Fix parsing of strings with leading whitespace for MySQL, Oracle, PostgreSQL,
43 SQLServer and SQLite
13e41152 44 * Fix parsing of MySQL column comments (RT#83380)
31bed2c0 45 * Fix multi-line comments in YAML, JSON and PostgreSQL producers
f7410082 46 * Fix identifier quoting in PostgreSQL diff producer
9d430e09 47 * Fix incorrect type conversion from various BigInt AutoIncrement to the
48 PostgreSQL-specific bigserial (GH#72)
6440741a 49 * Fix missing semicolons between PostGIS statements
3963e31d 50 * Fix string and identifier quoting in PostGIS statements
0b20d468 51 * Fix intermittent test failures (RT#108460)
49f0f316 52 * Fix relying on exact serialisation for JSON/YAML tests (RT#121901)
7f3f64d7 53
d46a0890 540.11021 2015-01-29
55
ad5cf454 56 * Fix Oracle producer generating an unnecessary / at the end in case there
57 are no triggers
ae4a60a5 58 * Skip HTML tests if CGI is not installed (RT#98027)
4f2693e3 59 * Fix JSON and YAML tests if the defaults have been tweaked (RT#98824)
855de323 60 * Fixes for parsing and producing identifiers and values that need
61 quoting and escaping for SQLite, MySQL, PostgreSQL, SQLServer and
62 Oracle (RT#90700, RT#31034)
2d6f061e 63 * Add support for ALTER TABLE ... ADD CONSTRAINT to Oracle parser
7368f0ee 64 * Add trigger support to Oracle parser (RT#62927)
90089d63 65 * Fix erroneous PostgreSQL floating point type translations (RT#99725)
35a4c843 66 * Remove executable bit from Parser/JSON.pm (RT#100532)
36585096 67 * Update the Free Software Foundation's address (RT#100531)
2491a467 68 * Provide default index names for SQLite (GH#45)
e5385855 69 * Fix SQLite diffing on perl 5.8.1
db195df8 70 * Fix multi-column indexes in Parser::DBI::PostgreSQL
9da488f2 71 * Fix array data types in Parser::PostgreSQL (GH#49)
72 * Fix multidimensional sizes in Parser::PostgreSQL
ae4a60a5 73
8e03c1a7 740.11020 2014-09-02
75
dbdb7508 76 * Fix test failure if Test::PostgreSQL is installed but not working
77
5ae23b58 780.11019 2014-09-02
79
329a9f7e 80 * Add Json and hstore types to Pg Parser (cloudinstustrie)
f851dfea 81 * Fix DROP TABLE in SQL Server Producer
329a9f7e 82 * Fix Pg DBI parser test (Dagfinn Ilmari Mannsåker)
20ca8e38 83 * Remove spurious warnings (Matt Phillips, Wallace Reis)
84 * Fix MySQL producer for columns with scalar ref in 'ON UPDATE' (Wallace Reis)
15128a24 85 * Fix handling of views in MySQL DBI parser
627e37c6 86 * Fix handling of renamed fields in SQLite diff (Peter Mottram)
4f1186cf 87 * Check numeric equality of default values in numeric-type fields (Wallace Reis)
5502f490 88 * Fix handling of renamed fields in renamed tables in Pg diff (Peter Mottram)
f851dfea 89
67fc882f 900.11018 2013-10-31 🎃
91
7313cecb 92 * Revert "Fix AUTOINCREMENT in SQLite"
deeb46b3 93
67dd1456 940.11017 2013-10-30
95
deeb46b3 96 * Apply quotes to fix tables that are reserved words, DBI::SQLServer (Jonathan C. Otsuka)
97 * Add DECIMAL_DIGITS to field size for scale info, DBI::SQLServer (Jonathan C. Otsuka)
98 * De-linkify XML namespace in docs (RT#81838)
99 * Allow both single and double quotes for values in MySQL parser
100 * Fix diff for altering two things per column - add ; at the end
101 * Call all diff methods in list context (it can be merged later)
102 * Fix Pg diff issue with drop constraint on primary keys
103 * SQLite support for SET NULL, SET DEFAULT and NO ACTION in FK clauses
104 * Clean up properly after Parser::DBI::PostgreSQL tests
105 * Fix typos in error messages
106 * Add SQL_TINYINT and SQL_BIGINT to the type map in
107 SQL::Translator::Schema::Field
108 * Add JSON parser and producer (Jon Jensen)
109 * Clean up TTSchema doc some (Gavin Shelley)
7483dc9d 110 * Fix AUTOINCREMENT in SQLite (Rafael Porres Molina)
deeb46b3 111
1120.11016 2012-10-09
113
114 * Allow passing an arrayref to SQLT->filename (lost in Mooification)
115
1160.11015 2012-10-05
117
118 * Fix stupid missing version number in SQL::Translator::Schema::Object
119
1200.11014 2012-10-05
121
122 * Relicense under Perl 5 terms
123
1240.11013_03 2012-09-25
125
126 * Remove SQL::Translator::Schema::Graph as announced in 0.11011
127 * Remove a number of no longer needed deps
128
1290.11013_02 2012-09-23
130
131 * Fix missing dep (List::MoreUtils)
132
1330.11013_01 2012-09-22
134
135 * Convert SQL::Translator, ::Schema and ::Schema::* to Moo
136 * Fix leaks by weakening circular references between schema objects
137
1380.11013 2012-09-22
139
140 * Make MySQL producer add NULL after every nullable field, conforming to SQL
141 standard, and avoiding MySQL bugs
142
1430.11012 2012-07-02
144
145 * Fix/update quoting in PostgreSQL producer
146 * Add missing quote function to SQLServer producer
147 * Fix incorrect Parser::DBI documentation (RT#60878)
148
1490.11011 2012-05-09
150
151[ INCOMPATIBLE CHANGES ]
152
153 * SQLT no longer supports setting separate conflicting values for the now
154 deprecated 'quote_table_names' and 'quote_field_names'. Instead their values
155 are proxied to the new 'quote_identifiers'. If 'quote_identifiers' is
156 supplied, the legacy settings are ignored (with a warning). If nothing is
157 specified the default is TRUE as before. If only one is specified - default
158 to its value for everything, and if both are specified with a conflicting
159 value an exception is thrown.
160
161 * Partial quoting support has been added in SQLite. It is currently disabled by
162 default, you need to request is explicitly with quote_identifiers => 1. In a
163 future version of SQL::Translator *THIS DEFAULT BEHAVIOR WILL CHANGE*.
164 If you do NOT WANT quoting, set quote_identifiers to a false value to
165 protect yourself from changes in a future release.
166
167 * Bump the default MySQL parser version to MySQL 4.0
168
169[ OTHER CHANGES ]
170
171 * script/sqlt-graph now accepts a --trace option
172 * Fixes to SQLite foreign keys production (patch from Johan Viklund)
173 closes RT#16412, RT#44769
174 * ON DELETE/UPDATE actions for SQLite (patch from Lukas Thiemeier)
175 closes RT#70734, RT#71283, RT#70378
176 * Fix data preservation on SQLite diffs involving adding/dropping columns
177 * Support for triggers in PostgreSQL producer and parser
178 * Correct Data Type in SQLT::Parser::DBI::PostgreSQL (patch from Andrew Pam)
179 * Fix index issue in SQLT::Parser::DBI::PostgreSQL
180 * Add column and table comments in SQLT::Parser::DBI::PostgreSQL(patch from Andrew Pam)
181 * Stop the DBI parser from disconnecting externally supplied DBI handles (RT#35868)
182 * Fixed alter_drop_constraint for foreign keys and applying multiple changes
183 via alter_field to a column in Postgres Producer
184 * Added a working mechanism for naming foreign keys in the PostgreSQL producer
185 * Fix PostgreSQL ignoring default values with specified data type
186 * Fix PostgreSQL parser support for (N)::int defaults (patch by Tina Müller)
187 * Fix possible name duplication in SQLlite producer
188 * Oracle does not accept ON DELETE/UPDATE RESTRICT (though it is the actual default)
189 fix by not adding the ON DELETE/UPDATE clause at all
190 * Changed dependency on Digest::SHA1 to the core-bundled Digest::SHA (RT#67989)
191 * Support for double quoted and bit strings as default values in MySQL parser
192 * Improved VIEW support in MySQL parser
193 * Proper handling of CURRENT_TIMESTAMP default values in MySQL parser (RT#65844)
194 * Check in MySQL parser to avoid trying to parse a table defined twice in the same
195 file as indices (and probably other things) get messed up
196 * Workaround for some MySQL quirks on primary key definitions
197 * Fix dropping primary keys in MySQL diffs (RT#62250, patch from Nick Bertrand)
198 * MySQL producer does not attempt to write out non-existent unique constraint names
199 * MySQL parser correctly differentiates between signed and unsigned integer column
200 display sizes
201 * Replace Class::Accessor::Fast dependency with already-included Moo
202 * Entire codebase is now free of tabs and trailing whitespace
203 * Spellfixes (RT#68912)
204 * Fix Diagram Producer POD (RT#71397, RT#71398)
205 * Fix Diagram Producer to use correct binmode on output (RT#71399)
206 * Fix ignored option to script/sqlt-diagram (RT#5992)
207 * Fix t/17sqlfxml-producer.t failures due to whitespace differences introduced by
208 environment config snippets (RT#70786)
209 * Fix assembly of Table objects with numbered columns being added out of order
210 (RT#74771) (based on patch from Jonathan Otsuka)
211 * Fix syntax error in SQL::Translator::Producer::Latex (RT#74953)
212 * Deprecate SQL::Translator::Schema::Graph and the as_graph() schema method
213 * Bump minimum supported perl version to 5.8.1 (mostly due to Moo)
214
2150.11010 2011-10-05
216
217 * Add "if exists" to drop view statements in Pg.
218
2190.11009 2011-09-02
220
221 * Fix MySQL producer to properly quote all table names on output (patch from geistteufel)
222
2230.11008 2011-05-04
224
225 * Correctly create and parse FK constraints in SQLite
226 * Correct postgis geography type insertion and linebreak fix for multiple geometry/geography columns
227 * made PostgreSQL producer consistent with other producers in terms of
228 quoting and allowing functions in constraints and indices
229 * Add distinction of autoinc and regular primary keys to the GraphViz producer
230 * Fix odd invocation of Test::More::pass() in t/36-filters.t (RT#64728)
231 * Quote everything in SQL Server
232 * Turn off constraints before dropping tables in SQL Server
233 * Make true unique constraints if needed in SQL Server
234 * Fixed Producer::PostgresSQL to output array type after type size,
235 i.e. varchar(64)[] rather than varchar[](64)
236
2370.11007 2010-11-30
238
239 * Fix POD typo in SQL/Translator/Schema/Trigger.pm
240 * Add explicit Scalar::Util to the deplist for really old perls
241 * Add support for PostGIS Geometry and Geography data types in the Pg producer
242 * Some minor fixes to squash warnings on new perls
243 * Support a custom_type_name hint when creating enum types in PostgreSQL
244 * Fix sqlt options/pod mismatch (RT#58318)
245 * Oracle Producer multicolumn constraint support
246 * Add support for triggers in the MySQL producer
247 * Fix unstable order of View's in MySQL parser
248
2490.11006 2010-06-03
250
251 * Fix Producer::Oracle varchar2 without size def (ORA-00906: missing right
252 parenthesis)
253 * Fix Producer::Oracle translate float and double to float instead of number
254 * Fix Producer::Oracle generation of too long unique constraint names
255 * Fix Producer::SQLite when generating VIEWs with add_drop_table => 1
256 * Fix Producer::MySQL not quoting index names when requested (RT#56173)
257 * Fix Producer::MySQL wrapping extra ()s around VIEW SELECT-ors (RT#56419)
258 * Fix Field::default_value to behave like a real accessor (allow undef as
259 an unsetting argument)
260 * Fix Mysql/Pg/SQLite/MSSQL producers to properly *not* quote numeric default
261 values (RT#57059)
262 * Producer::Oracle tests now use Test::Differences
263 * Prettify output of SQLite producer (less bogus newlines)
264 * Augment SQLite and Pg producers to accept a perl-formatted (%d.%03d%03d)
265 and regular no-leading-zero (X.X.X) *_version producer args
266
2670.11005 2010-02-24
268
269 * Fix Parser::DBI::Oracle reading too many tables (RT#49413)
270 * Fix Parser::MySQL tripping up on PRIMARY KEY ... USING (currently value is ignored) (RT#50468)
271 * Fix runaway debug trace (RT#52276)
272 * Fix Parser::PostgreSQL choking on commit; statements in DDL (#RT52277)
273 * Producer::Oracle now respects quote_field|table_names, and
274 no longer does name munging of reserved table names
275 * Producer::Oracle now correctly outputs databse-unique index names
276
2770.11004 2010-02-14
278
279 * Fix PG producer numeric precision regression (RT#49301)
280 * Add DB2 producer numeric/decimal precision output
281 * Fix Oracle producer creating numeric precision statements that the test case expects (no whitespace)
282 * Add Oracle producer creating drop view statements like PG producer does
283 * Fix SQL::Translator::Diff to use producer_args instead of producer_options
284
2850.11003 2009-09-28
286
287 * Pg parser fixes to deal properly with MATCH <type>
288 * Pg parser fixes to parse timestamp attributes correctly
289 * Fix broken default detection in script/sqlt (RT#27438)
290 * Fix dependency issues with LibXML and TT
291
2920.11002 2009-08-30
293
294 * Depend on fixed Parse::RecDescent
295 * Added skip-tables and skip-tables-like options to Diagram
296
2970.11001 2009-08-18
298
299 * Removed last use of Readonly
300 * Adjusted YAML dependency
301
3020.11000 2009-08-18
303
304 * Re-add version numbers to files, else cpan's "upgrade" gets very confused
305 * Replaced code using Readonly, since most of the rest uses constant, and thats already a dep
306 * Moved YAML and XML::LibXML back to recommends, the tests for both now skip if not installed
307 * Bumped to 0.11000 to supercede 0.10 which has incorrect numbering scheme
308
3090.10 2009-08-13
310
311 * Resolved the following RT bugs (thanks to everyone for reporting!):
312 - 25791 does not recognize PostgreSQL ON_ERROR_STOP
313 - 29265 sqlt-diagram: --natural-join needs Graph::Directed
314 - 37814 SQLite translator failing to parse schema
315 - 42548 Producer::PostgreSQL incorrectly inserts the size in
316 'time(stamp)? with(out) time zone' fields
317 - 43173 SQL::Translator::Parser without versionnumber - will install
318 old 0.09002
319 - 46805 (No subject)
320 - 47026 META.yml is not packaged due to MANIFEST.SKIP (easyfix)
321 - 32130 Move from XML::XPath to XML::LibXML::XPathContext
322 - 22261 MySQL parse
323 - 13915 missing optional prerequisite cause make test to fail
324 - 8847 Diagram.pm: BINMODE missing in printing of graphic file.
325 - 21065 GraphViz producer fails on tables named 'node'
326 - 35448 Producer::PostgreSQL types without size
327 - 22026 sqlt-diagram uses -f arg twice
328 - 47897 [PATCH] Fix uninitialized value within @_ in (uc|lc)
329 - 47668 Mysql Parser doesn't recognize key types
330 - 46448 sqlt-graph errors out on MySQL DDL with btree keys
331 - 47176 Add Foreign Key support to Parser::DBI::PostgreSQL.pm
332 - 48025 MySQL Producer: Case inconsistency between elements in
333 @no_length_attr and $data_type
334 - 48569 sqlt-diagram fails to load SQLite schema
335 - 48596 SQL::Translator::Diff::schema_diff should produce a list in
336 list context
337 - 44907 SQL::Translator::Producer::PostgreSQL produce() in list context
338 should return a list of statements
339
3400.09007 2009-06-25
341
342 * Fixed Pg parser - caching the compiled P::RD schema is a *very*
343 bad idea
344 * Fix MSSQL handling of ON UPDATE/DELETE RESTRICT
345 * Delay MSSQL FK constraint deployment until after all CREATE TABLE
346 statements
347 * Coerce other engine's bytea/blob/clob datatypes to VarBinary
348
3490.09006 2009-06-10
350
351 * Multiple test and dependency adhustments to make smokers happy
352 * Fix YAML producer wrt extra attribute
353 * Added support for "time(stamp) (p) with time zone" for Pg producer (mo)
354
3550.09005 2009-06-08
356
357 * Add parser support for MySQL default values with a single quote
358 * Properly quote absolute table names in the MySQL producer
359 * Added CREATE VIEW subrules for mysql parser (wreis)
360 * Many fixes to code and tests for trigger's "database_events"
361 * Added semi-colon for (DROP|CREATE) TYPE statements in the Pg producer (wreis)
362 * ALTER TABLE/ALTER COLUMN/DROP DEFAULT support in Pg producer (mo)
363 * XML parser support for multi-event triggers
364 * SQLite producer support for multi-event triggers
365 * XML parser switched from XML::XPath to XML::LibXML
366 * Pg producer ALTER TABLE/COLUMN and DROP DEFAULT support
367 * MySQL producer skips length attribute for columns which do not support that
368 attribute. Currently following column types are added to that list:
369 date time timestamp datetime year
370 * Switch to Module::Install (mandates minimum perl 5.005)
371 * Major cleanup of GraphViz proucer
372 * Massive amount of fixes to SQLite/Pg/Mysql/MSSQL parsers/producers
373 Fix most of the problems uncovered by the roundtrip test framework
374 Some highlights:
0a2d7cf1 375 - Rewind exhausted globs before attempting a read
376 - Do not add xml comment header if no_comments is set
377 - table/field counts are held per schema object, not globally
378 - no more variable table and column names in SQLite and MSSQL
0a2d7cf1 379 - VIEW support for Pg parser, also some cleanups
380 - The way we generate Pg create view statements was not standards compliant
381 (per RhodiumToad in #postgresql)
bd3c4e06 382 - Disable MSSQL view/procedure production - they never worked in the first place
0a2d7cf1 383 - SQLite/MSSQL improvements:
384 - Support parsing of all DROP clauses
385 - Support parsing of field-level comments
386 - When producing do not append table names to constraint/index names
8d693a85 387
deeb46b3 3880.09004 2009-02-13
389
390 * Add support for temporary tables in Pg (nachos)
391 * Create Trigger support for SQLite
392 * GraphViz producer improvements
393
3940.09003 2009-02-07
395
396 * <BORKED RELEASE DELETED OFF CPAN>
397
3980.09002 2008-12-05
399
400 * parsing MySQL CURRENT_TIMESTAMP as scalar ref so it can be produced without
401 quotes (jgoulah)
402 * Add ignore_opts parser arg (to ignore table options) in Parser::MySQL (jgoulah)
403 * Skip tests for buggy Spreadsheet::ParseExcel versions (rbo)
404 * Add support for skip tables parser arg in Parser::DBI::MySQL (jgoulah)
405 * Changed behaviour of ::Producer::Oracle when returning an array of statements
406 to make it compatible to DBI->do()
407 * Fixed a few bugs in ::Producer::Oracle
408 * Applied patch from jgoulah to support mysql's MERGE option
409 * Applied patch from rbo to add support of multiple database events on a trigger
410 * Applied patch from lukes to allow drop if exists in sqlite producer, with
411 version >= 3.3
412 * Applied patch from rjbs with minor changes, now we support scalar refs in
413 default values!
414 * Fixed SQLite producer to end index statements in newlines, in scalar context
415 * Decreed that all list context statements shall not end in ; or ;\n
416 * Fixed SQLite, Diff and MySQL producers to agree with Decree.
417 * Added support for CREATE VIEW + tests in the Pg producer (wreis)
418 * Added support for CREATE VIEW + tests in the sqlite producer (groditi)
419 * Added proper argument parsing and documentation to MySQL Parser and
420 Producer (ribasushi)
421 * Using DROP VIEW instead of OR REPLACE clause in the Pg producer, as replace
422 only allows replacement with identical set of columns (wreis)
423 * Added support for DROP VIEW and fixed CREATE VIEW statement in the sqlite
424 producer (wreis)
425 * Removed source_db and target_db accessors from Diff (throwback to old version,
426 only output_db is used)
427 * Support for longer varchar fields in MySQL
428
4290.09001 2008-08-19
430
431 * Added support for CREATE VIEW + tests in the mysql producer (groditi)
432 * Added support for SET fields in the mysql producer + test (groditi)
433 * Added support for proper booleans in the mysql producer, when a mysql version
434 of at least 4.x is supplied
435 * Added support for proper enums under pg (as of 8.3), with pg version check,
436 and deferrable constraints
437 * Added support to truncate long constraint and index names in the mysql
438 producer, because of a change to DBIx::Class to produce such long names in
439 some cases.
440
4410.09000 2008-02-25
442
443 * Fix Pg produces idea of which field types need a size param (wreis)
444 * Add support for COLLATE table option to MySQL parser
445 * Allow DEFAULT CHARACTER SET without '=' (as produced by mysqldump)
446
4470.0899_02 2008-01-29
448
449 * Major refactoring of SQL::Translator::Diff again:
450 * Diff is no longer one huge monolithic function.
451 * Added more tests for diff
452 * When producing diffs for MySQL you will (by default) get single alter
453 statements per table
454 * SQLite can also do remove columns (by creating a temp table as shown in
455 http://sqlite.org/faq.html#q11
456 * Columns can be renamed if the new schema is from a form that can have metadata
457 (which is pretty much anything but an SQL file.) It does this by looking at
458 renamed_from in the $field->extra
459 * Updated Oracle and Postgres producers
460 * More tests!
461
4620.0899_01 2007-10-21
463
464 * SQL::Translator::Diff now uses the ::Producer modules to create diffs
465 This *will* break back-compatibility
466 Use sqlt-diff-old for the previous one, and fix producers!
467
4680.08001 2007-09-26
469
470 * Patched to ignore all TT versions >= 2.15 until TT is fixed :(
471
4720.08 2006-12-07
473
474 * Patched 18ttschema-producer.t and 33tt-table-producter.t to skip on TT 2.15,
475 thanks Ash!
476
4770.08_04 2006-11-10
478
479 * Patched MySQL producer to name constraints sanely, thanks Ash
480 * Added patch to Producer::DB2 to avoid dependency issues with foreign keys
481 * Added patch to remove single quotes for numeric default values in Producer::DB2
482 * Fixed Parser::SQLite to require a semicolon after a create trigger statement
483 * Added patch from avinash to add CASCADE to pg table drops
484
4850.08_03
486
487 * Added patch to use default values for Pg timestamp fields
488
4890.08_02 2006-11-03
490
491 * Added patch from Ash to separate DROP statements in mysql producer in
492 list-context
493 * Fixed up SQLites usage of no-comments
494
4950.08_01 2006-07-23
496
497 * Made Trigger check that a give table exists in on_table - castaway
498 * Split some producers (DB2, MySQL, SQLite, PostgreSQL) into sub methods (others
499 to follow) - castaway
500 * Add alter_* methods to some Producers and docs to Producer.pm (for use by Diff
501 later) - castaway
502 * Made changes to allow producers to return a list of statements - castaway
503 * Split sqlt-diff into script and module - castaway
504 * Added quote_table_names and quote_field_names patch (omega, zamolxes) - castaway
505 * Added DB2 Producer - castaway
506 * Added mysql_character_set for 4.1+ -mda
507 * New filters, Names and Globals. -mda
508 * Added the initial work on a template based Dia UML producer. -mda
509
5100.07 2005-06-10
511
512 * YAML parser supports extra attributes on tables.
513 * All schema objects now support the extra attribute, so can
514 have arbitary name/value data attached to them.
515 * Refactoring: Added SQL::Translator::Schema::Object - base
516 class for all Schema objects.
517 * Changes to MySQL Parser (Dave Howorth)
13aec984 518 - ignore INSERT statements
519 - permit ALTER TABLE ADD FOREIGN KEY
520 - allow trailing comma on last field in CREATE statements
521 - collect the database name
deeb46b3 522 * TTSchema Producer
f9725390 523 - Can pass extra variables using tt_vars producer arg.
524 - Can pass extra config using tt_conf producer arg.
525 - Variables and config can be passed on the command line
526 with --tt-var and --tt-conf options to sqlt.
deeb46b3 527 * Added schema filters.
528 * MySQL Producer
5a0c7b43 529 - Added 'mysql_table_type' extra attribute on tables.
530 - Works out InnoDB tables from constraints.
1ded8513 531 - mysql_charset and mysql_collate extra attributes for tables and fiels.
5a0c7b43 532
deeb46b3 5330.06 2004-05-13
534
535 * Added SQL::Translator::Manual
536 * Installation process now uses Module::Build
537 * Added new "Dumper" producer
538 * Changed the native SQL Fairy XML format to a fixed mapping.
539 *NB:* You should convert your existing XML schema. See the
540 SQL::Translator::Parser::XML::SQLFairy docs.
541 * Added producers: TT::Base and TT::Table.
542
5430.05 2004-02-27
544
545 * Added "COMMENT ON *" syntax to PostgreSQL parser
546 * Some fixes to Oracle parser as reported by Gail Binkley
547 * Added support in PostgreSQL parser for all "ALTER TABLE" statements
548 * Now distributing sqlt-diff script as it's pretty usable
549 * Added new options to sqlt-graph and GraphViz producer (Dave Cash)
550
5510.04 2003-11-07
552
553 * Increased version of Constants module to 1.41 to avoid a problem
554 where 0.02 has 1.4 of that file and 0.03 had 1.06 which confused
555 CPAN
556 * Hard-coded all the PREREQ_PM modules in Makefile.PL (rather than
557 setting them dynamically) so that automated tests would pass
558
5590.03 2003-11-06
560
561 * Added parsers: XML::SQLFairy, Sybase, SQLite, DBI-MySQL,
562 DBI-PostgreSQL, DBI-SQLite, DBI-Sybase, Storable, YAML
563 * Added producers: XML::SQLFairy, TTSchema, Storable, YAML
564 * HTML producer now uses stylesheets to allow easy customization of colors
565 * Many bug fixes to most every module
566 * Added "sqlt-dumper" script to help create a script for dumping
567 a database a la "mysqldump"
568 * Reversed the arrowheads on the graphical producers to show the
569 relationships in a more standard way
570 * Changes all included script names to start with "sqlt"
571 * Added capturing and printing most embedded table and field comments
572
5730.02 2003-06-17
574
575 * Added parsers for Excel and Oracle
576 * Removed Sybase parser because it didn't actually work
577 * Added ClassDBI, Diagram, GraphViz, HTML, POD, SQLite, Sybase producers
578 * Added Schema classes to represent schema as objects
579 * Removed "Raw" producer in favor of the Schema classes
580 * Removed "Validator" class as the Schema classes validate themselves
581 * Improved all existing parsers and producers, expanding them to
582 handle foreign keys much better, produce better output, etc.
583 * Added sqlt-diagram.pl and sqlt-graphviz.pl as CLI frontends to the
584 graphical producers
585 * Added sql_translator.cgi as a web-form frontend to graphical producers
586 * Expanded test suite
587
5880.01 2003-02-27
589
590 * Added parsers: XML::SQLFairy, Sybase, SQLite, DBI-MySQL,
591 DBI-PostgreSQL, DBI-SQLite, DBI-Sybase, Storable, YAML
592 * Added producers: XML::SQLFairy, TTSchema, Storable, YAML
593 * HTML producer now uses stylesheets to allow easy customization of colors
594 * Many bug fixes to most every module
595 * Added "sqlt-dumper" script to help create a script for dumping
596 a database a la "mysqldump"
597 * Reversed the arrowheads on the graphical producers to show the
598 relationships in a more standard way
599 * Changes all included script names to start with "sqlt"
600 * Added capturing and printing most embedded table and field comments