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