Skip to content

Commit 3eec44e

Browse files
committed
Update Changelog and bump version.
1 parent 8238a9e commit 3eec44e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

CHANGELOG

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
Development Version
2-
-------------------
1+
Release 0.4.2 (Sep 10, 2021)
2+
----------------------------
3+
4+
Notable Changes
5+
6+
* IMPORTANT: This release fixes a security vulnerability in the
7+
strip comments filter. In this filter a regular expression that was
8+
vulnerable to ReDOS (Regular Expression Denial of Service) was
9+
used.
10+
The vulnerability was discovered by @erik-krogh and @yoff from
11+
GitHub Security Lab (GHSL). Thanks for reporting!
312

413
Enhancements
514

sqlparse/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from sqlparse import formatter
1717

1818

19-
__version__ = '0.4.2.dev0'
19+
__version__ = '0.4.2'
2020
__all__ = ['engine', 'filters', 'formatter', 'sql', 'tokens', 'cli']
2121

2222

0 commit comments

Comments
 (0)