@@ -10,6 +10,96 @@ changes that break via addition as "Added".
10
10
## [ Unreleased]
11
11
Check https://github.com/sqlparser-rs/sqlparser-rs/commits/main for undocumented changes.
12
12
13
+
14
+ ## [ 0.51.0] 2024-09-11
15
+ As always, huge props to @iffyio @jmhain and @lovasoa for their help reviewing and merging PRs 🙏.
16
+ Without them this project would not be possible.
17
+
18
+ Reminder: we are in the final phases of moving sqlparser-rs into the Apache
19
+ DataFusion project: https://github.com/sqlparser-rs/sqlparser-rs/issues/1294
20
+
21
+ ### Fixed
22
+ * Fix Hive table comment should be after table column definitions (#1413 ) - Thanks @git-hulk
23
+ * Fix stack overflow in ` parse_subexpr ` (#1410 ) - Thanks @eejbyfeldt
24
+ * Fix ` INTERVAL ` parsing to support expressions and units via dialect (#1398 ) - Thanks @samuelcolvin
25
+ * Fix identifiers starting with ` $ ` should be regarded as a placeholder in SQLite (#1402 ) - Thanks @git-hulk
26
+
27
+ ### Added
28
+ * Support for MSSQL table options (#1414 ) - Thanks @bombsimon
29
+ * Test showing how negative constants are parsed (#1421 ) - Thanks @alamb
30
+ * Support databricks dialect to dialect_from_str (#1416 ) - Thanks @milenkovicmalamb
31
+ * Support ` DROP|CLEAR|MATERIALIZE PROJECTION ` syntax for ClickHouse (#1417 ) - Thanks @git-hulk
32
+ * Support postgres ` TRUNCATE ` syntax (#1406 ) - Thanks @tobyhede
33
+ * Support ` CREATE INDEX ` with clause (#1389 ) - Thanks @lewiszlw
34
+ * Support parsing ` CLUSTERED BY ` clause for Hive (#1397 ) - Thanks @git-hulk
35
+ * Support different ` USE ` statement syntaxes (#1387 ) - Thanks @kacpermuda
36
+ * Support ` ADD PROJECTION ` syntax for ClickHouse (#1390 ) - Thanks @git-hulk
37
+
38
+ ### Changed
39
+ * Implement common traits for OneOrManyWithParens (#1368 ) - Thanks @gstvg
40
+ * Cleanup parse_statement (#1407 ) - Thanks @samuelcolvin
41
+ * Allow ` DateTimeField::Custom ` with ` EXTRACT ` in Postgres (#1394 ) - Thanks @samuelcolvin
42
+
43
+
44
+ ## [ 0.50.0] 2024-08-15
45
+ Again, huge props to @iffyio @jmhain and @lovasoa for their help reviewing and merging PRs 🙏.
46
+ Without them this project would not be possible.
47
+
48
+ Reminder: are in the process of moving sqlparser to governed as part of the Apache
49
+ DataFusion project: https://github.com/sqlparser-rs/sqlparser-rs/issues/1294
50
+
51
+ ### Fixed
52
+ * Clippy 1.80 warnings (#1357 ) - Thanks @lovasoa
53
+
54
+ ### Added
55
+ * Support ` STRUCT ` and list of structs for DuckDB dialect (#1372 ) - Thanks @jayzhan211
56
+ * Support custom lexical precedence in PostgreSQL dialect (#1379 ) - Thanks @samuelcolvin
57
+ * Support ` FREEZE|UNFREEZE PARTITION ` syntax for ClickHouse (#1380 ) - Thanks @git-hulk
58
+ * Support scale in ` CEIL ` and ` FLOOR ` functions (#1377 ) - Thanks @seve-martinez
59
+ * Support ` CREATE TRIGGER ` and ` DROP TRIGGER ` statements (#1352 ) - Thanks @LucaCappelletti94
60
+ * Support ` EXTRACT ` syntax for snowflake (#1374 ) - Thanks @seve-martinez
61
+ * Support ` ATTACH ` / ` DETACH PARTITION ` for ClickHouse (#1362 ) - Thanks @git-hulk
62
+ * Support Dialect level precedence, update Postgres Dialect to match Postgres (#1360 ) - Thanks @samuelcolvin
63
+ * Support parsing empty map literal syntax for DuckDB and Generic dialects (#1361 ) - Thanks @goldmedal
64
+ * Support ` SETTINGS ` clause for ClickHouse table-valued functions (#1358 ) - Thanks @Jesse-Bakker
65
+ * Support ` OPTIMIZE TABLE ` statement for ClickHouse (#1359 ) - Thanks @git-hulk
66
+ * Support ` ON CLUSTER ` in ` ALTER TABLE ` for ClickHouse (#1342 ) - Thanks @git-hulk
67
+ * Support ` GLOBAL ` keyword before the join operator (#1353 ) - Thanks @git-hulk
68
+ * Support postgres String Constants with Unicode Escapes (#1355 ) - Thanks @lovasoa
69
+ * Support position with normal function call syntax for Snowflake (#1341 ) - Thanks @jmhain
70
+ * Support ` TABLE ` keyword in ` DESC|DESCRIBE|EXPLAIN TABLE ` statement (#1351 ) - Thanks @git-hulk
71
+
72
+ ### Changed
73
+ * Only require ` DESCRIBE TABLE ` for Snowflake and ClickHouse dialect (#1386 ) - Thanks @ alamb
74
+ * Rename (unreleased) ` get_next_precedence_full ` to ` get_next_precedence_default ` (#1378 ) - Thanks @samuelcolvin
75
+ * Use local GitHub Action to replace setup-rust-action (#1371 ) - Thanks @git-hulk
76
+ * Simplify arrow_cast tests (#1367 ) - Thanks @alamb
77
+ * Update version of GitHub Actions (#1363 ) - Thanks @git-hulk
78
+ * Make ` Parser::maybe_parse ` pub (#1364 ) - Thanks @Jesse-Bakker
79
+ * Improve comments on 1Dialect` (#1366 ) - Thanks @alamb
80
+
81
+
82
+ ## [ 0.49.0] 2024-07-23
83
+ As always, huge props to @iffyio @jmhain and @lovasoa for their help reviewing and merging PRs!
84
+
85
+ We are in the process of moving sqlparser to governed as part of the Apache
86
+ DataFusion project: https://github.com/sqlparser-rs/sqlparser-rs/issues/1294
87
+
88
+ ### Fixed
89
+ * Fix quoted identifier regression edge-case with "from" in SELECT (#1346 ) - Thanks @alexander-beedie
90
+ * Fix ` AS ` query clause should be after the create table options (#1339 ) - Thanks @git-hulk
91
+
92
+ ### Added
93
+
94
+ * Support ` MATERIALIZED ` /` ALIAS ` /` EPHERMERAL ` default column options for ClickHouse (#1348 ) - Thanks @git-hulk
95
+ * Support ` () ` as the ` GROUP BY ` nothing (#1347 ) - Thanks @git-hulk
96
+ * Support Map literal syntax for DuckDB and Generic (#1344 ) - Thanks @goldmedal
97
+ * Support subquery expression in ` SET ` expressions (#1343 ) - Thanks @iffyio
98
+ * Support ` WITH FILL ` for ClickHouse (#1330 ) - Thanks @nickpresta
99
+ * Support ` PARTITION BY ` for PostgreSQL in ` CREATE TABLE ` statement (#1338 ) - Thanks @git-hulk
100
+ * Support of table function ` WITH ORDINALITY ` modifier for Postgres (#1337 ) - Thanks @git-hulk
101
+
102
+
13
103
## [ 0.48.0] 2024-07-09
14
104
15
105
Huge shout out to @iffyio @jmhain and @lovasoa for their help reviewing and merging PRs!
0 commit comments