Skip to content

Commit

Permalink
Update ChangeLog and version to 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
darold committed Dec 3, 2021
1 parent dffa2b5 commit fe95448
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 7 deletions.
24 changes: 24 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/pgFormatter/Beautify.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/pgFormatter/CGI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions lib/pgFormatter/CLI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion pg_format
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe95448

Please sign in to comment.