Updated version number and Change log for recent patches.
[dbsrgits/SQL-Translator.git] / Changes
1 # -----------------------------------------------------------
2 # 0.08_04 2006-11-10
3 # -----------------------------------------------------------
4
5 * Added patch to Producer::DB2 to avoid dependency issues with foreign keys
6 * Added patch to remove single quotes for numeric default values in Producer::DB2
7 * Fixed Parser::SQLite to require a semicolon after a create trigger statement
8
9 # -----------------------------------------------------------
10 # 0.08_03
11 # -----------------------------------------------------------
12
13 * Added patch to use default values for Pg timestamp fields
14
15 # -----------------------------------------------------------
16 # 0.08_02    2006-11-03
17 # -----------------------------------------------------------
18
19 * Added patch from Ash to separate DROP statements in mysql producer in list-context
20 * Fixed up SQLites usage of no-comments
21
22 # -----------------------------------------------------------
23 # 0.08_01    2006-07-23
24 # -----------------------------------------------------------
25
26 * Made Trigger check that a give table exists in on_table - castaway
27 * Split some producers (DB2, MySQL, SQLite, PostgreSQL) into sub methods (others to follow) - castaway
28 * Add alter_* methods to some Producers and docs to Producer.pm (for use by Diff later) - castaway
29 * Made changes to allow producers to return a list of statements - castaway
30 * Split sqlt-diff into script and module - castaway
31 * Added quote_table_names and quote_field_names patch (omega, zamolxes) - castaway
32 * Added DB2 Producer - castaway
33 * Added mysql_character_set for 4.1+ -mda
34 * New filters, Names and Globals. -mda
35 * Added the initial work on a template based Dia UML producer. -mda
36
37 # -----------------------------------------------------------
38 # 0.07    2005-06-10
39 # -----------------------------------------------------------
40 *   YAML parser supports extra attributes on tables.
41
42 *   All schema objects now support the extra attribute, so can
43     have arbitary name/value data attached to them.
44
45 *   Refactoring: Added SQL::Translator::Schema::Object - base 
46     class for all Schema objects.
47
48 *   Changes to MySQL Parser (Dave Howorth)
49     - ignore INSERT statements
50     - permit ALTER TABLE ADD FOREIGN KEY
51     - allow trailing comma on last field in CREATE statements
52     - collect the database name
53
54 *   TTSchema Producer
55     - Can pass extra variables using tt_vars producer arg.
56     - Can pass extra config using tt_conf producer arg.
57     - Variables and config can be passed on the command line
58       with --tt-var and --tt-conf options to sqlt.
59
60 *   Added schema filters.
61
62 *   MySQL Producer
63     - Added 'mysql_table_type' extra attribute on tables.
64     - Works out InnoDB tables from constraints.
65     - mysql_charset and mysql_collate extra attributes for tables and fiels.
66
67
68 # -----------------------------------------------------------
69 # 0.06    2004-05-13
70 # -----------------------------------------------------------
71 *   Added SQL::Translator::Manual
72
73 *   Installation process now uses Module::Build
74
75 *   Added new "Dumper" producer
76
77 *   Changed the native SQL Fairy XML format to a fixed mapping.
78     *NB:* You should convert your existing XML schema. See the
79     SQL::Translator::Parser::XML::SQLFairy docs.
80
81 *   Added producers: TT::Base and TT::Table.
82
83 # -----------------------------------------------------------
84 # 0.05    2004-02-27
85 # -----------------------------------------------------------
86 *   Added "COMMENT ON *" syntax to PostgreSQL parser
87
88 *   Some fixes to Oracle parser as reported by Gail Binkley
89
90 *   Added support in PostgreSQL parser for all "ALTER TABLE" statements
91
92 *   Now distributing sqlt-diff script as it's pretty usable
93
94 *   Added new options to sqlt-graph and GraphViz producer (Dave Cash)
95
96 # -----------------------------------------------------------
97 # 0.04    2003-11-07
98 # -----------------------------------------------------------
99
100 *   Increased version of Constants module to 1.41 to avoid a problem 
101     where 0.02 has 1.4 of that file and 0.03 had 1.06 which confused
102     CPAN
103
104 *   Hard-coded all the PREREQ_PM modules in Makefile.PL (rather than
105     setting them dynamically) so that automated tests would pass
106
107 # -----------------------------------------------------------
108 # 0.03    2003-11-06
109 # -----------------------------------------------------------
110
111 *   Added parsers: XML::SQLFairy, Sybase, SQLite, DBI-MySQL, 
112     DBI-PostgreSQL, DBI-SQLite, DBI-Sybase, Storable, YAML
113
114 *   Added producers: XML::SQLFairy, TTSchema, Storable, YAML
115
116 *   HTML producer now uses stylesheets to allow easy customization of colors
117
118 *   Many bug fixes to most every module
119
120 *   Added "sqlt-dumper" script to help create a script for dumping
121     a database a la "mysqldump"
122
123 *   Reversed the arrowheads on the graphical producers to show the 
124     relationships in a more standard way
125
126 *   Changes all included script names to start with "sqlt"
127
128 *   Added capturing and printing most embedded table and field comments
129
130 # -----------------------------------------------------------
131 # 0.02    2003-06-17
132 # -----------------------------------------------------------
133
134 *   Added parsers for Excel and Oracle
135
136 *   Removed Sybase parser because it didn't actually work
137
138 *   Added ClassDBI, Diagram, GraphViz, HTML, POD, SQLite, Sybase producers
139
140 *   Added Schema classes to represent schema as objects
141
142 *   Removed "Raw" producer in favor of the Schema classes
143
144 *   Removed "Validator" class as the Schema classes validate themselves
145
146 *   Improved all existing parsers and producers, expanding them to 
147     handle foreign keys much better, produce better output, etc.
148
149 *   Added sqlt-diagram.pl and sqlt-graphviz.pl as CLI frontends to the 
150     graphical producers
151
152 *   Added sql_translator.cgi as a web-form frontend to graphical producers
153
154 *   Expanded test suite
155
156 # -----------------------------------------------------------
157 # 0.01    2003-02-27
158 # -----------------------------------------------------------
159
160 *   Added parsers: XML::SQLFairy, Sybase, SQLite, DBI-MySQL, 
161     DBI-PostgreSQL, DBI-SQLite, DBI-Sybase, Storable, YAML
162
163 *   Added producers: XML::SQLFairy, TTSchema, Storable, YAML
164
165 *   HTML producer now uses stylesheets to allow easy customization of colors
166
167 *   Many bug fixes to most every module
168
169 *   Added "sqlt-dumper" script to help create a script for dumping
170     a database a la "mysqldump"
171
172 *   Reversed the arrowheads on the graphical producers to show the 
173     relationships in a more standard way
174
175 *   Changes all included script names to start with "sqlt"
176
177 *   Added capturing and printing most embedded table and field comments