Handle errors in perl scripts better and remove suport for $0
[dbsrgits/DBIx-Class-DeploymentHandler.git] / Changes
1 Revision history for {{$dist->name}}
2
3 {{$NEXT}}
4        - Handle errors in Perl Scripts better
5        - Stop supporting FindBin by localizing $0, just use Dir::Self if you
6          need that
7
8 0.002111  2012-03-29 20:09:45 America/Chicago
9        - Improve docs by linking from implementations to their roles
10
11 0.002110  2012-03-14 21:22:36 America/Chicago
12        - Use ->count instead of ->next to check if version storage is deployed
13          (->next caused issues on MSSQL due to length of DDL)
14        - Fix a couple stupid documentation issues (Phillip Smith)
15
16 0.002100  2012-03-03 17:09:21 CST6CDT
17        - Wrap upgrades, downgrades, and installs in a transaction, as a failure
18          to add a version to the version table should cause a rollback
19        - Allow user to specify version of schema to install
20        - Added better sandboxing (stolen straight from Plack::Util) for coderefs
21          to avoid accidental leakage
22        - Sandboxing also makes $0 and thus FindBin et al work in perl scripts
23
24 0.002000  2012-02-28 21:20:48 CST6CDT
25        - Added DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator::ScriptHelpers,
26          ALL users who use perl scripts during migrations are encouraged to use
27          schema_from_schema_loader from that package.
28
29 0.001008  2012-02-19 10:12:34 CST6CDT
30        - Added dep on parent, bump dep on DBD::SQLite to avoid silly failures
31
32 0.001007  2012-02-16 08:58:30 CST6CDT
33        - removed the rest of the references to Method::Signatures::Simple
34
35 0.001006  2012-02-01 21:18:38 CST6CDT
36        - Fix install to allow you to deploy to a given version (jnap)
37        - Fix the backup method to use storage, not schema (jnap)
38        - Fix the reasonable defaults for downgrading (jnap)
39        - Stop warning all the time (ribasushi)
40        - croak on a couple errors that should be fatal
41        - Stop deleting the wrong version (for downgrades)
42        - Fix documentation for in the Cookbook (moltar)
43        - removed Method::Signatures::Simple stuff (dhoss)
44
45 0.001005  2011-04-13 15:21:08 CST6CDT
46        - Add _any "version" for running code for all versions
47        - Fix more minor pod niggles
48
49 0.001004  2010-07-29 22:09:10 CST6CDT
50        - Fix incorrect POD in SYNOPSIS
51        - Add missing attribute to DBIx::Class::DeploymentHandler (force_overwrite)
52
53 0.001003  2010-07-15 20:30:37 CST6CDT
54        - Add Catalyst-y intro (norkakn)
55        - fix bug caused by install_version_storage not passing a required param
56        - add force_overwrite attribute to SQLTDM
57
58 0.001002  2010-07-07 21:11:45 CST6CDT
59        - Add basic intro (norkakn)
60        - install should now work in all cases, previously had a really bad bug
61          where it would try to install the version storage table twice, which
62          breaks everything
63        - Fix issue where the ignore_version connect attr doesn't work in all
64          situations
65
66 0.001001  2010-06-26 10:46:03 CST6CDT
67        - Fix bad parameters in version_storage install methods
68        - Fix Try::Tiny typo
69
70 0.001000  2010-06-10 21:55:40 CST6CDT
71        - Use package logger instead of default logger
72
73 0.001000_14 2010-06-03 20:17:03 CST6CDT
74        - Rename preinstall to initialize
75
76 0.001000_13 2010-06-01 23:30:15 CST6CDT
77        - No more serialized SQL, we serialize the SQLT schema instead
78        - Completely reorganize the name of directories for more user friendlyness
79        - take out support for _generic since it's against my creed
80
81 0.001000_12 2010-05-27 19:12:20 CST6CDT
82        - Add missing dep
83        - Better defaults and cascading for Logging
84        - Die on SQL errors
85
86 0.001000_11 2010-05-21 00:16:13 CST6CDT
87        - Make default (and preferred) way of using this tool serialized SQL
88          instead of just sql files
89        - Add logging with Log::Contextual
90
91 0.001000_10 2010-05-18 00:07:31 CST6CDT
92        - upgrade_directory is wrong and vague, instead we use script_directory
93        - stricter validation (no undef) on versions to prevent weird surprises
94        - change method args to named args
95        - document method args
96        - preconnect should not connect to the database
97
98 0.001000_09 2010-05-15 23:19:05 CST6CDT
99        - Schemata is no longer required to add version checking component
100
101 0.001000_08 2010-05-11 22:42:20 CST6CDT
102        - Add missing dep namespace::autoclean
103
104 0.001000_07 2010-05-09 01:59:59 CST6CDT
105        - Downgrades swap from version and to version, so instead of up 1-2
106          being down 1-2, it's down 2-1, which clearly makes more sense
107        - perl scripts are now just anonymous subroutines, instead of files
108          with a single run subroutine
109        - Serious changes to architecture by using MXRP instead
110          of lots of repetitive roles
111
112 0.001000_06 2010-05-05 00:46:24 CST6CDT
113        - Add a bunch of boilerplate and not so boilerplate doc
114        - rename sqltargs attribute to sql_translator_args
115
116 0.001000_05 2010-05-04 13:37:29 CST6CDT
117        - put schema_version attr in more places
118
119 0.001000_04 2010-04-27 13:29:14 CST6CDT
120        - schema_version is now an attr so that users can more easily force the
121          version of the schema
122        - add prepare_install method which installs everything as well as the
123          version storage
124
125 0.001000_03 2010-04-20 23:19:36 CST6CDT
126        - bump File::Path dep
127
128 0.001000_02 2010-04-19 18:46:16 CST6CDT
129        - add autodie as dep
130
131 0.001000_01
132        - initial dev release