e16d09886a90c85874e4f56fd99ae4b4abf2a7b9
[DBIx-DBSchema.git] / Changes
1 Revision history for Perl module DBIx::DBSchema
2
3 0.46 unreleased
4     - Add IF EXISTS to DROP INDEX (except under MySQL)
5     - Fix table fetching for Sybase and SQLite drivers; refactor table fetching
6       into a driver-overridable DBIx::DBSchema::DBD->tables method, patches
7       from Nathan Anderson <http://1id.com/=nathan.anderson>
8
9 0.45 Wed May  6 22:17:33 PDT 2015
10     - MySQL does not support DEFAULT for TEXT/BLOB columns, closes: CPAN#58505
11     - doc: Add repository information
12     - fix SQLite reverse-engineering, closes: CPAN#95961
13     - fix Pg reverse-engineering of foreign key MATCH/ON DELETE/ON UPDATE
14       clauses
15
16 0.44 2013-11-15 17:54:37 PST
17     - POD fixes from Xavier Guimard <x.guimard@free.fr> and Damyan Ivanov
18       <dmn@debian.org> of the Debian Perl Group, closes: CPAN#82187
19     - More foreign key support
20       + Table alteration (removing foreign keys)
21       + Fix MATCH / ON DELETE / ON UPDATE
22
23 0.43 2013-11-04 14:58;32 PST
24     - Incorporate CPAN::Changes::Spec-compliant Changes file from Neil Bowers
25       <neilb@cpan.org>, closes: CPAN#90023, thanks!
26     - Fix table creation broken by 0.42
27     - Create/alter tables before foreign key changes
28
29 0.42 2013-11-03 01:09:27 PST
30     - Basic foreign key support
31       + table creation
32       + table alteration (adding new foreign keys)
33       + reverse-engineering (Pg driver)
34
35 0.41_01 not released
36     - consolidate multiple ADD/ALTER COLUMN statements into one ALTER TABLE
37
38 0.40 2011-12-17 17:03:51 PST
39     - doc: sql_update_schema link to sql_add_column misspelled
40     - Pg: fix mapping for DOUBLE PRECISION type to avoid needless alter cols
41     - mysql: implement altering column types & lengths
42
43 0.39 2010-03-26 20:24:58 PDT
44     - mysql: TEXT->LONGTEXT
45     - mysql: when reverse engineering, transform a default of
46       CURRENT_TIMESTAMP into the more common NOW()
47     - mysql: fix reverse-engineering of empty string default
48
49 0.38 2010-01-14 15:26:13 PST
50     - Bump version number for ->quoted_default availability & default
51       reverse-engineering changes
52
53 0.37 not released
54     - Patch from Slavin Rezic <srezic@cpan.org> to prevent quoting around
55       numeric defaults in Pg.
56     - Pg: use default_db_schema when adding SERIAL columns instead of
57       hardcoding "public".
58     - Pg: Initial support for handling changes to a column's type or size.
59     - Case sensitivity fix for Slavin's patch to prevent quoting around
60       numeric defaults in Pg.
61     - Column default values: refactor handling, improve Pg reverse
62       engineering and implement schema changes.
63
64 0.36 2007-12-13 17:49:35 PST
65     - Patch from ISHIGAKI@cpan.org to suppress unnecessary warnings about
66       undefined local_options, thanks!
67     - fix bug preventing adding new columns as primary keys under Pg
68
69 0.35 2007-10-29 18:58:36 PDT
70     - Fix minor breakage (pretty_print) resulting from Jesse's changes.
71     - Update mysql driver to handle BIGSERIAL columns
72     - Update Column.pm, move all mysql and Pg-specific code to DBD driver
73       callbacks
74     - Update Table.pm, add local_options
75     - Fix mysql NULL reverse-engineering and updating code
76
77 0.34 2007-08-19 10:08:51 PDT
78     - More work on update schema from Slaven Rezic <srezic@cpan.org>,
79       thanks!
80       + implement table dropping (closes: CPAN#27936)
81       + implement column dropping (closes: CPAN#27896)
82     - Fix to quiet warnings from internal use of old API from Jesse Vincent
83       <jesse+cpan@fsck.com>, thanks! (closes: CPAN#27958)
84     - Make table dropping optional, not the default.
85
86 0.33 2007-06-28 18:46:15 PDT
87     - Overhaul of index representation: indices (both normal and unique)
88       now have names and are DBIx::DBSchema::Index objects
89     - update_schema now handles indices!
90     - Bump version numbers in Table.pm, Column.pm and DBD.pm
91     - Pg reverse-engineering fix for column order in multi-column indices,
92       to prevent needless drop/add of identical indices
93     - mysql reverse-engineering patch from Brian Phillips
94       <bphillips@cpan.org>, closes: CPAN#17582, thanks!
95     - mysql NAME vs NAME_lc patch from Ralf Hack <ralf@beetlecraft.net>,
96       closes: CPAN#16715, thanks!
97     - mysql fix for additional column data from Chris Mungall
98       <cjm@fruitfly.org>, closes: CPAN#20859, thanks!
99     - SQLite SERIAL patch from IN SUK JOUNG <i.joung@gmail.com>, and fix
100       for mis-application of said patch from Slaven Rezic
101       <srezic@cpan.org>, thanks!
102     - Update README wrt current CVS info and URL, closes: CPAN#27577
103
104 0.32 2007-04-18 15:02:25 PDT
105     - increment the version numbers in Column.pm and Table.pm and the
106       "use" statements accordingly
107     - Error reporting for load constructor
108     - Update documentation wrt supported databases and new update_schema
109       stuff
110     - Fixes for dropping nullability on old Pg (<= 7.2)
111     - Fixes for adding nullability on old Pg (<= 7.3)
112     - Throw a warning if pg_server_version is unavailable, assume >= 7.3
113     - fix POD error in DBSchema::DBD::SQLite that confused pod2man and
114       prevented the documentation from being installed.  Patch from Niko
115       Tyni <ntyni@iki.fi>, thanks!
116
117 0.31 2006-03-30 05:28:20 PST
118     - more schema update stuff:
119     - added Column::sql_alter_column
120     - added Table::sql_alter_table
121     - added DBSchema::sql_update_schema and DBSchema::update_schema
122
123 0.30 2006-02-16 16:43:01 PST
124     - "Too much uptime"
125     - Remove buggy debugging from Column.pm
126     - Remove removed TODO from MANIFEST
127
128 0.29 2006-02-16 13:54:42 PST
129     - Column::sql_add_column fix when adding primary keys to Pg 7.2.x
130     - workaround for PAUSE parsing of DBIx::DBSchema::DBD::Pg version: move
131       DBD::Pg verison checking after $VERSION declaration, thanks Andreas!
132     - kludge: allow scalar ref default to force quoting off, to add things
133       like functions and empty values as defaults
134     - Move TODO file to DBSchema.pm and DBS/Column.pm BUGS sections
135
136 0.28 2005-11-30 09:46:47 PST
137     - Initial SQLite support from Jesse Vincent
138     - fix typo in DBIx::DBSchema::DBD POD doc
139
140 0.27 2005-08-15 23:31:54 PDT
141     - MySQL patch for enum types from Andy Orr
142     - new Column::sql_add_column method!
143
144 0.26 2005-04-07 01:09:53 PDT
145     - ask for "public" db schema only from Pg
146
147 0.25 2005-04-06 16:12:38 PDT
148     - depend on DBD::Pg 1.32 or 1.41+ (1.40 was bunk)
149
150 0.24 2005-03-11 02:20:55 PST
151     - Oracle driver from Daniel Hanks <hanksdc@about-inc.com> and Peter
152       Bowen <pbowen@aboutws.com>.
153     - Switch from FreezeThaw to Storable, keep ability to read old files
154
155 0.23 2004-02-16 17:35:54 PST
156     - Update Pg dependancy to 1.32
157     - Update the simple load test so it skips DBIx::DBSchema::DBD::Pg if
158       DBD::Pg 1.32 is not installed.
159
160 0.22 2003-10-23 15:18:21 PDT
161     - Pg reverse-engineering fix: varchar with no limit
162     - Pg needs (unreleased) DBD::Pg 1.30 (or deb 1.22-2... interesting)
163
164 0.21 2002-09-19 05:04:18 PDT
165     - Pg reverse-engineering fix: now sets default
166
167 0.20 2002-03-04 04:58:34
168     - documentation updates
169     - fix Column->new when using named params
170     - fix Pg driver reverse-engineering length of numeric columns:
171       translate 655362 to 10,2, etc.
172     - fix Pg driver reverse-engineering of text columns (don't have a
173       length)
174
175 0.19 2001-10-23 08:49:12
176     - documentation for %typemap
177     - preliminary Sybase driver from Charles Shapiro
178       <charles.shapiro@numethods.com> and Mitchell J. Friedman
179       <mitchell.friedman@numethods.com>.
180     - Fix Column::line to return a scalar as documented, not a list.
181     - Should finally eliminate the Use of uninitialized value at
182       ... DBIx/DBSchema/Column.pm line 251
183
184 0.18 2001-08-10 17:07:28
185     - Added Table::delcolumn
186     - patch from Charles Shapiro <cshapiro@numethods.com> to add
187       `ORDER BY a.attnum' to the SQL in DBIx::DBSchema::DBD::Pg::columns
188
189 0.17 2001-07-07 17:55:33
190     - Rework Table->new interface for named params
191     - Fixes for Pg blobs, yay!
192     - MySQL doesn't need non-standard index syntax anymore (since 3.22).
193     - patch from Mark Ethan Trostler <mark@zzo.com> for generating
194       tables without indices.
195
196 0.16 2001-01-05 15:55:50
197     - Don't overflow index names.
198
199 0.15 2000-11-24 23:39:16
200     - MySQL handling of BOOL type (change to TINYINT)
201
202 0.14 2000-10-24 14:43:16
203     - MySQL handling of SERIAL type (change to INTEGER AUTO_INCREMENT)
204
205 0.13 2000-10-11 10:47:13
206     - fixed up type mapping foo, added default values, added named
207       parameters to Column->new, fixed quoting of default values
208
209 0.11 2000-09-28 02:16:25
210     - oops, original verison got 0.10, so this one will get 0.11
211
212 0.01 2000-09-17 07:57:35
213     - original version; created by h2xs 1.19
214