Skip to content

Commit 5a3da57

Browse files
committed
release: 2.2.0
1 parent 576ae9c commit 5a3da57

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## v2.2.0 - 2025-05-12
11+
12+
### Added
13+
14+
- Style guide for linter error messages
15+
16+
### Fixed
17+
18+
- Error messages for `prefer-robust-statements` to be less confusing. We were saying to add `if not exists` every time, even when the statement didn't have that option.
19+
20+
- Fixed parsing nested compound select that has parens (#464).
21+
The following now parses:
22+
23+
```sql
24+
SELECT (
25+
(SELECT id FROM code_categories WHERE "language" = @language::char(4) ORDER BY "id" ASC LIMIT 1)
26+
UNION
27+
(SELECT id FROM code_categories WHERE "language" = 'nl-NL' ORDER BY "id" ASC LIMIT 1)
28+
) LIMIT 1;
29+
```
30+
1031
## v2.1.0 - 2025-05-08
1132

1233
### Added

0 commit comments

Comments
 (0)