Skip to content

Commit e5817a6

Browse files
committed
Update ChangeLog and version to 11.6
1 parent 20c0093 commit e5817a6

File tree

2 files changed

+91
-1
lines changed

2 files changed

+91
-1
lines changed

ChangeLog

+90
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,93 @@
1+
2021-09-04 - v11.6
2+
3+
This release of pgBadger fix some issues reported by users since past
4+
seven months as well as some improvements:
5+
6+
* Add detection of Query Id in log_line_prefix new in PG14. Thanks to
7+
Florent Jardin for the report.
8+
* Add advanced regression tests with db exclusion and the explode
9+
feature. Thanks to MigOps Inc for the patch.
10+
* Apply multiprocess to report generation when --explode is used.
11+
Thanks to MigOps Inc for the patch and Thomas Leclaire for the
12+
feature request.
13+
* Add --iso-week-number in incremental mode, calendar's weeks start
14+
on a Monday and respect the ISO 8601 week number, range 01 to 53,
15+
where week 1 is the first week that has at least 4 days in the new
16+
year. Thanks to Alex Muntada for the feature request.
17+
* Add command line option --keep-comments to not remove comments from
18+
normalized queries. It can be useful if you want to distinguish
19+
between same normalized queries. Thanks to Stefan Corneliu Petrea
20+
for the feature request.
21+
* Skip INFO lines introduced in PostgreSQL log file by third parties
22+
software. Thanks to David Piscitelli for the report.
23+
* Add compatibility with PostgresPro log file including rows number
24+
and size in bytes following the statement duration. Thanks to
25+
panatamann for the report.
26+
* Parse times with T's to allow using the timestamps from journalctl.
27+
Thanks to Graham Christensen for the patch.
28+
* Improve Windows port. Thanks to Bertrand Bourgier for the patches.
29+
30+
Important note:
31+
32+
* Expect that --iso-week-number will be the default in next major
33+
release and that --start-monday option will be removed as the week
34+
will always start a Monday. The possibility to have week reports
35+
start a Sunday will be removed to simplify the code.
36+
37+
Here is the complete list of changes and acknowledgments:
38+
39+
- Fix duplicate of warning message:
40+
"database ... must be vacuumed within ... transactions".
41+
Thank to Christophe Courtois for the report.
42+
- Fix use of uninitialized variable. Thanks to phiresky for the report.
43+
- Improve query id detection, it can be negative, as well as read it
44+
from csvlog.
45+
- Fix case where last file in incremental mode is always parsed even if
46+
it was already done. Thanks to Thomas Leclaire for the report.
47+
- Update syslog format regex to handle where session line indicator
48+
only contains one int vs two ints separated by dash. Thanks to
49+
Timothy Alexander for the patch.
50+
- Fix --exclude-db option to create anyway the related report with json
51+
log. Thanks to MigOps Inc for the patch and Thomas Leclaire for the
52+
report.
53+
- Add regression test about Storable buggy version.
54+
- Fix use of uninitialized value in substitution iterator in incremental
55+
mode during the week report generation. Thanks to Thomas Leclaire,
56+
Michael Vitale, Sumeet Shukla and Stefan Corneliu Petrea for the report.
57+
- Add 'g' option to replace all bind parameters. Thanks to Nicolas Lutic
58+
and Sebastien Lardiere for the patch.
59+
- Documentation improvements. Thanks to Stefan Petrea for the patch.
60+
- Fixes change log time zone calculation. Thanks to Stefan Petrea for
61+
the patch.
62+
- Fix log filter by begin/end time.
63+
- Fix wrong association of orphan lines for multi-line queries with a
64+
filter on database. Thanks to Abhishek Mehta for the report.
65+
- Fix reports in incremental mode when --dbname parameter is partially
66+
ignored with "explode" option (-E). Thanks to lrevest for the report.
67+
- Update javascript resources.
68+
- Fix display of menu before switching to hamburger mode when screen is
69+
reduced. Thanks to Guillaume Lelarge for the report.
70+
- Fix bind parameters values over multiple lines in the log that were
71+
not well supported.
72+
- Apply same fix for previous patch than in pgFormatter.
73+
- Fix an other use of uninitialized value in substitution iterator from
74+
pgFormatter code. Thanks to Christophe Courtois for the report.
75+
- Fix query normalization. Thanks to Jeffrey Beale for the patch.
76+
- Be sure that all statements end with a semicolon when --dump-all-queries
77+
is used. Thanks to Christian for the report.
78+
- Fix typo and init of EOL type with multiple log files.
79+
- Add auto detection of EOL type to fix LAST_PARSED offset when OEL is on
80+
2 bytes (Windows case). Thanks to Bertrand Bourgier for the patch.
81+
- Fix get_day_of_week() port on Windows where strftime %u is not supported.
82+
Thanks to Bertrand Bourgier for the patch.
83+
- Fix Windows port that call pl2bat.bat perl utility to create a corrupted
84+
pgbadger.bat du to the way __DATA__ was read in pgbadger. Thanks to
85+
Bertrand Bourgier for the patch.
86+
- Fix begin/end time filter and add regression test for timestamp filters.
87+
Thanks to Alexis Lahouze and plmayekar for the report.
88+
- Fix use of uninitialized value in pattern match introduced by pgFormatter
89+
update. Thanks to arlt for the report.
90+
191
2021-02-18 - v11.5
292

393
This release of pgBadger fix some issues reported by users since

pgbadger

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ use Socket;
5252
use constant EBCDIC => "\t" ne "\011";
5353
use Encode qw(encode decode);
5454

55-
$VERSION = '11.5';
55+
$VERSION = '11.6';
5656

5757
$SIG{'CHLD'} = 'DEFAULT';
5858

0 commit comments

Comments
 (0)