Debian Codegraph @

Changes

raw
1 0.28 2026-07-17
2 * Properly handle triggers with immediately preceding comments
3 These would have been stuffed together with the next statement(s).
4 * Better detect where a trigger ends
5 This was another cause for triggers not getting passed to the database
6 separately
7
8 0.27 2026-05-26
9 * Fix Github repo URL (fix by niceperl, thanks!)
10
11 0.26 2025-09-05
12 * Switch ->split_sql() to an iterator API
13 This allows us to run large SQL files without reading them into
14 RAM in one piece.
15 * Require Perl 5.020 as minimum Perl version
16
17 0.25 2024-08-15
18 * Don't use Test::More::isn't() anymore, in favour of Test::More::isnt()
19
20 0.24 2023-06-09
21 * We don't support 5.8.x due to use of //
22
23 0.23 2023-06-08
24 * Add "rotate" option to rotate the output by 90°
25 * Add "null" option for custom strings for NULL values (instead of blank)
26
27 0.22 2021-05-03
28 * Allow pass-through of DBI database options for ->create()
29 * Move URLs to https://
30 * Documentation updates
31
32 0.21 2019-03-09
33 * Use Module::Load to load renderers
34 * Check if a class isa Text::Table, otherwise dispatch to Text::Table::Any
35 This allows for rendering tables as HTML easily if you
36 install Text::Table::Any
37 * Properly install C<run-sql.pl>
38
39 0.20 2018-10-28
40 * Re-release including proper META.* information
41 * no need to upgrade
42
43 0.19 2018-04-21
44 * Fix implicit test prerequisite in formatter.t
45 This addresses RT 125157, reported and diagnosed by Slaven Rezic
46
47 0.18 2018-04-20
48 * List the Getopt::Long version we need
49 * Read SQL from STDIN if not given on the command line
50 This allows run-sql.pl to be used in a pipe
51
52 0.17 2018-02-23
53 * API change: ->handle_command_line() and ->parse_command_line()
54 now take an arrayREF for the command line items and modify that arrayref.
55 * new "--quiet" / no_header_when_empty option to allow scripts to run
56 from cron without producing too much output
57 * new "run-sql.pl" script in the distribution as a template or tool script
58 for running SQL commands.
59
60 0.16 2017-03-16
61 * Allow specifying the table formatter on the command line
62
63 0.15 2016-06-19
64 * Fix grammar error (RT #114768, contributed by eythian )
65 * Allow for trailing whitespace while parsing SQL
66 (RT #115442, contributed by niceperl)
67
68 0.14 2016-05-24
69 * ->handle_command_line now also accepts an SQL string
70 instead of only accepting SQL files
71 * Silence some warnings if a statement does not return columns
72 (like a CREATE statement). RT #114647
73
74 0.13 2015-05-19
75 * Fix bad thinko error in ->run_sql that prevented any
76 results from being shown
77
78 0.12 2014-02-22
79 * If Text::Table is installed, output SELECT statements
80 through it instead of simply using \t
81 * Document more of the internal helper routines
82
83 0.11 2013-11-20
84 * Add functionality for SELECT statements
85
86 0.10 2013-05-10
87 * Fix the MANIFEST which listed MYMETA.*
88 * Fix a bug where ->handle_command_line() never properly processed
89 the parameters given to it.
90
91 0.09 2012-06-11
92 * Parse triggers. This fixes RT #77378
93 Test and report by Gabor Szabo
94
95 0.08 2012-05-18
96 * Add a test for warnings raised while executing SQL
97 (contributed by David Golden)
98 * Respect the 'verbose' setting, fixes RT #77260
99 (contributed by David Golden)
100
101 0.07 2011-10-23
102 * Fix bad test skip count
103 * Documentation fixes
104 * no need to upgrade
105
106 0.06 2011-09-20
107 Suggested by Gabor Szabo
108 * allow a different output handle for the verbose messages
109 * Allow a callback for the verbose messages
110 * Separate the SQL statements by "--" in the verbose output
111 * SQL errors are now fatal
112 * Add --force option to ignore SQL errors (fixes RT #70998)
113
114 0.05 2011-01-27
115 * Fix synopsis to use :dbname instead of (wrong) :dbfile parameter
116 for DBD::SQLite
117 * Added link to github repo
118 * Added metainformation about bugtracker etc.
119 * Bumped copyright
120
121 0.04 2010-11-11
122 * Actually document ->handle_command_line, thanks to Terrence Brannon
123 * Add author information, license information
124
125 0.03 2010-05-18
126 * ->create now returns the database handle so you can use it
127 to create :memory: databases in SQLite
128
129 0.02 2010-02-13
130 * Collected from various copies and released