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