diff --git a/ChangeLog b/ChangeLog index 306053a..aa6476a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,27 @@ +December 03 2021 - v5.2 + +This maintenance release fixes issues reported by users since the last six +months with some improvements and new features. + +New options and features: + + * Allow to pass multiple files when using --inplace. Thanks to mieszko4 + for the patch. + * Add a button to copy formatted text to clipboard in the CGI interface. + Thanks to Yan Sheng for the feature request. + +Here is the complete list of changes and acknowledgments: + + - Fix bad formatting of materialized view ddl with parameters. Thanks to + Wilson Lin for the report. + - Fix/unicode and --inplace argument causing an error. Thanks to mieszko4 + for the patch. + - Fix anonymizing disabled in last version. Thanks to Nikolas Poniros for + the report. + - Correctly format casts to quoted types. Thanks to Adam Vartanian for the + patch. + + September 28 2021 - v5.1 This maintenance release fixes issues reported by users since the last six diff --git a/lib/pgFormatter/Beautify.pm b/lib/pgFormatter/Beautify.pm index 1b182af..1529ffe 100755 --- a/lib/pgFormatter/Beautify.pm +++ b/lib/pgFormatter/Beautify.pm @@ -27,12 +27,12 @@ pgFormatter::Beautify - Library for pretty-printing SQL queries =head1 VERSION -Version 5.1 +Version 5.2 =cut # Version of pgFormatter -our $VERSION = '5.1'; +our $VERSION = '5.2'; # Inclusion of code from Perl package SQL::Beautify # Copyright (C) 2009 by Jonas Kramer diff --git a/lib/pgFormatter/CGI.pm b/lib/pgFormatter/CGI.pm index e0f0d6c..96ff39b 100755 --- a/lib/pgFormatter/CGI.pm +++ b/lib/pgFormatter/CGI.pm @@ -11,12 +11,12 @@ pgFormatter::CGI - Implementation of CGI-BIN script to format SQL queries. =head1 VERSION -Version 5.1 +Version 5.2 =cut # Version of pgFormatter -our $VERSION = '5.1'; +our $VERSION = '5.2'; use pgFormatter::Beautify; use File::Basename; diff --git a/lib/pgFormatter/CLI.pm b/lib/pgFormatter/CLI.pm index 7379aab..9f392d4 100755 --- a/lib/pgFormatter/CLI.pm +++ b/lib/pgFormatter/CLI.pm @@ -15,12 +15,12 @@ pgFormatter::CLI - Implementation of command line program to format SQL queries. =head1 VERSION -Version 5.1 +Version 5.2 =cut # Version of pgFormatter -our $VERSION = '5.1'; +our $VERSION = '5.2'; use autodie; use pgFormatter::Beautify; diff --git a/pg_format b/pg_format index 72c50d3..9b0d7f6 100755 --- a/pg_format +++ b/pg_format @@ -33,7 +33,7 @@ local $SIG{ __WARN__ } = sub { use FindBin; use lib "$FindBin::RealBin/lib"; -our $VERSION = '5.1'; +our $VERSION = '5.2'; # Find out whether current run should be treated as CGI or CLI my $program;