Debian Codegraph @

Changes

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