Debian Codegraph @

Changes

raw
1 Revision history for PGObject-Util-DBAdmin
2
3 1.6.2 2024-09-13
4 * Fix port number not being propagated into the connection string
5 * Add logging statements for better problem detection
6
7 1.6.1 2021-11-07
8 * Fix syntax error
9
10 1.6.0 2021-11-07
11 * Add support for passing variables to 'psql' invocations
12 * Sort keys in environment variable settings being logged
13 * Add support for the 'pg_isready' tool
14
15 1.5.0 2021-09-25
16 * Don't parse the server version string; use the database handle's
17 'pg_server_version' property instead -- parsing the server version
18 may return the wrong tuple if multiple are included
19
20 1.4.0 2020-10-25
21 * Add (debug) logging through Log::Any; each instance has a
22 logger through the new `logger` attribute
23
24 1.3.0 2020-10-24
25 * Restore umask using Scope::Guard for maximum reliability
26 * More meaningful error messages
27
28 1.2.3 2020-10-24
29 * Restore pre-1.2.0 compatibility by allowing a reference
30 to be passed into the constructor/BUILDARGS
31
32 1.2.2 2020-10-23
33 * Fall back to dbname in 'connect_data' init_arg when
34 no explicit 'dbname' init_arg is supplied.
35
36 1.2.1 2020-10-22
37 * Fix 'Odd number of elements in hash assignment' bug
38
39 1.2.0 2020-10-21
40 * Deprecate attributes 'username', 'password' and 'dbname'
41 * Introduce new 'connect_data' attribute which can hold all
42 the attributes supported by PostgreSQL as documented on
43 https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS
44
45 1.1.0 2020-09-21
46 * Add optional parameter to 'list_dbs' and 'server_version'
47
48 1.0.3 2019-09-29
49 * Run 'verify_helpers' test only in AUTHOR_TESTING mode as it
50 requires the Pg client applications to be installed on testers
51 (including cpantesters, which don't all have those)
52
53 1.0.2 2019-09-20
54 * Fix the MANIFEST listing non-existing files
55
56 1.0.1 2019-07-09
57 * Fix: the 'verify_helpers' API bleeds output through to the
58 STDERR and STDOUT streams.
59
60 1.0.0 2019-07-08
61 * Extend API with 'verify_helpers' class method to allow users to
62 assert whether the module can successfully run its helpers or not
63
64 0.131.0 2019-07-06
65 * Sanitize the environment before shelling out to external programs,
66 because (a) that's the secure thing to do and (b) it breaks the
67 called programs if the environment contains debugging settings
68
69 0.130.1 2018-06-05
70 * Correct typos in documentation
71
72 0.130.0 2018-04-21
73 * Backups use pg_dump and pg_dumpall `-f` option, not stdout capture
74 * Document effect of localizing filehandles on output capture
75 * Add `compress` parameter to backup() method
76 * Set DB_TESTING=1 to run file tests as they require postgreSQL utilities
77 * In Makefile.PL, correctly classify test deps as TEST_REQUIRES
78
79 0.120.0 2018-03-27
80 * Documentation fixes
81 * Don't use shell to execute external commands, blocks command injection
82 * Trap shell errors running external commands
83 * Test exit code after running external commands
84 * Don't attempt to parse stderr from external commands for errors
85 * External command stdout/stderr available via object property
86 * Default to temporary directory provided by File::Temp
87 * Respect method parameters if defined (previously only if true)
88 * Add further tests, including Perl::Critic
89 * Create backup output files with umask 0600
90 * Delete incomplete backup files after error
91 * Raise exceptions with croak/carp rather than die/warn
92 external psql command now run with `--set=ON_ERROR_STOP=on`
93 external pg_restore command now run with `--exit-on-error`
94 * Bump minimum perl version to 5.10
95
96 0.110.0 2017-11-21
97 * Correctly invoke 'pg_dump' (it doesn't recognise a '-d' option)
98 * Remove tabs from sources
99 * Fix #6: 'host' and 'port' arguments not used in 'connect()'
100
101 0.100.0 2016-12-17
102 * Publish 0.10 as 0.100; CPAN considers 0.09 equal to 0.090, which is
103 higher than 0.10.0 (which is 0.010_000)
104
105 0.10.0 2016-12-17
106 * Removed MYMETA.* (rt.cpan.org#109062)
107 * Correct spelling errors reported by Robert James Clay ([email protected])
108 * Correct copyright years (rt.cpan.org#117202 and #10)
109
110 0.09 2016-07-18
111 * Fixed handling of &'s in db names
112
113 0.08 2016-02-11
114 * Added ability to pass connection parameters to connect()
115
116 0.07 2015-07-16
117 * Fixed handling of connection when connection fails
118
119 0.06 2014-09-18
120 * Fixed support for remote hosts.
121
122 0.05 2014-09-14
123 * Added backup of globals
124
125 0.04 2014-09-14
126 * Additional tests
127 * Fixing packaging bugs
128 * Adding server_version api
129
130 0.03 2014-09-13
131 * Better handling of auth environment variables so they don't always clobber
132 * Fixes to exception handling
133 * More tests
134
135 0.02 2014-09-12
136 * Better error handling of external programs, using Tiny::Capture to
137 process external stderr
138
139 0.01 2014-09-11
140 * First version, released on an unsuspecting world.
141