@@ -10,6 +10,166 @@ changes that break via addition as "Added".
1010## [ Unreleased]
1111Check https://github.com/sqlparser-rs/sqlparser-rs/commits/main for undocumented changes.
1212
13+ ## [ 0.50.0] 2024-08-15
14+ Again, huge props to @iffyio @jmhain and @lovasoa for their help reviewing and merging PRs 🙏.
15+ Without them this project would not be possible.
16+
17+ Reminder: are in the process of moving sqlparser to governed as part of the Apache
18+ DataFusion project: https://github.com/sqlparser-rs/sqlparser-rs/issues/1294
19+
20+ # Fixed
21+ * Clippy 1.80 warnings (#1357 ) - Thanks @lovasoa
22+
23+ # Added
24+ * Support ` STRUCT ` and list of structs for DuckDB dialect (#1372 ) - Thanks @jayzhan211
25+ * Support custom lexical precedence in PostgreSQL dialect (#1379 ) - Thanks @samuelcolvin
26+ * Support ` FREEZE|UNFREEZE PARTITION ` syntax for ClickHouse (#1380 ) - Thanks @git-hulk
27+ * Support scale in ` CEIL ` and ` FLOOR ` functions (#1377 ) - Thanks @seve-martinez
28+ * Support ` CREATE TRIGGER ` and ` DROP TRIGGER ` statements (#1352 ) - Thanks @LucaCappelletti94
29+ * Support ` EXTRACT ` syntax for snowflake (#1374 ) - Thanks @seve-martinez
30+ * Support ` ATTACH ` / ` DETACH PARTITION ` for ClickHouse (#1362 ) - Thanks @git-hulk
31+ * Support Dialect level precedence, update Postgres Dialect to match Postgres (#1360 ) - Thanks @samuelcolvin
32+ * Support parsing empty map literal syntax for DuckDB and Generic dialects (#1361 ) - Thanks @goldmedal
33+ * Support ` SETTINGS ` clause for ClickHouse table-valued functions (#1358 ) - Thanks @Jesse-Bakker
34+ * Support ` OPTIMIZE TABLE ` statement for ClickHouse (#1359 ) - Thanks @git-hulk
35+ * Support ` ON CLUSTER ` in ` ALTER TABLE ` for ClickHouse (#1342 ) - Thanks @git-hulk
36+ * Support ` GLOBAL ` keyword before the join operator (#1353 ) - Thanks @git-hulk
37+ * Support postgres String Constants with Unicode Escapes (#1355 ) - Thanks @lovasoa
38+ * Support position with normal function call syntax for Snowflake (#1341 ) - Thanks @jmhain
39+ * Support ` TABLE ` keyword in ` DESC|DESCRIBE|EXPLAIN TABLE ` statement (#1351 ) - Thanks @git-hulk
40+
41+ # Changed
42+ * Only require ` DESCRIBE TABLE ` for Snowflake and ClickHouse dialect (#1386 ) - Thanks @ alamb
43+ * Rename (unreleased) ` get_next_precedence_full ` to ` get_next_precedence_default ` (#1378 ) - Thanks @samuelcolvin
44+ * Use local GitHub Action to replace setup-rust-action (#1371 ) - Thanks @git-hulk
45+ * Simplify arrow_cast tests (#1367 ) - Thanks @alamb
46+ * Update version of GitHub Actions (#1363 ) - Thanks @git-hulk
47+ * Make ` Parser::maybe_parse ` pub (#1364 ) - Thanks @Jesse-Bakker
48+ * Improve comments on 1Dialect` (#1366 ) - Thanks @alamb
49+
50+
51+ ## [ 0.49.0] 2024-07-23
52+ As always, huge props to @iffyio @jmhain and @lovasoa for their help reviewing and merging PRs!
53+
54+ We are in the process of moving sqlparser to governed as part of the Apache
55+ DataFusion project: https://github.com/sqlparser-rs/sqlparser-rs/issues/1294
56+
57+ ### Fixed
58+ * Fix quoted identifier regression edge-case with "from" in SELECT (#1346 ) - Thanks @alexander-beedie
59+ * Fix ` AS ` query clause should be after the create table options (#1339 ) - Thanks @git-hulk
60+
61+ ### Added
62+
63+ * Support ` MATERIALIZED ` /` ALIAS ` /` EPHERMERAL ` default column options for ClickHouse (#1348 ) - Thanks @git-hulk
64+ * Support ` () ` as the ` GROUP BY ` nothing (#1347 ) - Thanks @git-hulk
65+ * Support Map literal syntax for DuckDB and Generic (#1344 ) - Thanks @goldmedal
66+ * Support subquery expression in ` SET ` expressions (#1343 ) - Thanks @iffyio
67+ * Support ` WITH FILL ` for ClickHouse (#1330 ) - Thanks @nickpresta
68+ * Support ` PARTITION BY ` for PostgreSQL in ` CREATE TABLE ` statement (#1338 ) - Thanks @git-hulk
69+ * Support of table function ` WITH ORDINALITY ` modifier for Postgres (#1337 ) - Thanks @git-hulk
70+
71+
72+ ## [ 0.48.0] 2024-07-09
73+
74+ Huge shout out to @iffyio @jmhain and @lovasoa for their help reviewing and merging PRs!
75+
76+ ### Fixed
77+ * Fix CI error message in CI (#1333 ) - Thanks @alamb
78+ * Fix typo in sqlparser-derive README (#1310 ) - Thanks @leoyvens
79+ * Re-enable trailing commas in DCL (#1318 ) - Thanks @MohamedAbdeen21
80+ * Fix a few typos in comment lines (#1316 ) - Thanks @git-hulk
81+ * Fix Snowflake ` SELECT * wildcard REPLACE ... RENAME ` order (#1321 ) - Thanks @alexander-beedie
82+ * Allow semi-colon at the end of UNCACHE statement (#1320 ) - Thanks @LorrensP-2158466
83+ * Return errors, not panic, when integers fail to parse in ` AUTO_INCREMENT ` and ` TOP ` (#1305 ) - Thanks @eejbyfeldt
84+
85+ ### Added
86+ * Support ` OWNER TO ` clause in Postgres (#1314 ) - Thanks @gainings
87+ * Support ` FORMAT ` clause for ClickHouse (#1335 ) - Thanks @git-hulk
88+ * Support ` DROP PROCEDURE ` statement (#1324 ) - Thanks @LorrensP-2158466
89+ * Support ` PREWHERE ` condition for ClickHouse dialect (#1328 ) - Thanks @git-hulk
90+ * Support ` SETTINGS ` pairs for ClickHouse dialect (#1327 ) - Thanks @git-hulk
91+ * Support ` GROUP BY WITH MODIFIER ` for ClickHouse dialect (#1323 ) - Thanks @git-hulk
92+ * Support DuckDB Union datatype (#1322 ) - Thanks @gstvg
93+ * Support parametric arguments to ` FUNCTION ` for ClickHouse dialect (#1315 ) - Thanks @git-hulk
94+ * Support ` TO ` in ` CREATE VIEW ` clause for Clickhouse (#1313 ) - Thanks @Bidaya0
95+ * Support ` UPDATE ` statements that contain tuple assignments (#1317 ) - Thanks @lovasoa
96+ * Support `BY NAME quantifier across all set ops (#1309 ) - Thanks @alexander-beedie
97+ * Support SnowFlake exclusive ` CREATE TABLE ` options (#1233 ) - Thanks @balliegojr
98+ * Support ClickHouse ` CREATE TABLE ` with primary key and parametrised table engine (#1289 ) - Thanks @7phs
99+ * Support custom operators in Postgres (#1302 ) - Thanks @lovasoa
100+ * Support ClickHouse data types (#1285 ) - Thanks @7phs
101+
102+ ### Changed
103+ * Add stale PR github workflow (#1331 ) - Thanks @alamb
104+ * Refine docs (#1326 ) - Thanks @emilsivervik
105+ * Improve error messages with additional colons (#1319 ) - Thanks @LorrensP-2158466
106+ * Move Display fmt to struct for ` CreateIndex ` (#1307 ) - Thanks @philipcristiano
107+ * Enhancing Trailing Comma Option (#1212 ) - Thanks @MohamedAbdeen21
108+ * Encapsulate ` CreateTable ` , ` CreateIndex ` into specific structs (#1291 ) - Thanks @philipcristiano
109+
110+ ## [ 0.47.0] 2024-06-01
111+
112+ ### Fixed
113+ * Re-support Postgres array slice syntax (#1290 ) - Thanks @jmhain
114+ * Fix DoubleColon cast skipping AT TIME ZONE #1266 (#1267 ) - Thanks @dmitrybugakov
115+ * Fix for values as table name in Databricks and generic (#1278 ) - Thanks @jmhain
116+
117+ ### Added
118+ * Support ` ASOF ` joins in Snowflake (#1288 ) - Thanks @jmhain
119+ * Support ` CREATE VIEW ` with fields and data types ClickHouse (#1292 ) - Thanks @7phs
120+ * Support view comments for Snowflake (#1287 ) - Thanks @bombsimon
121+ * Support dynamic pivot in Snowflake (#1280 ) - Thanks @jmhain
122+ * Support ` CREATE FUNCTION ` for BigQuery, generalize AST (#1253 ) - Thanks @iffyio
123+ * Support expression in ` AT TIME ZONE ` and fix precedence (#1272 ) - Thanks @jmhain
124+ * Support ` IGNORE/RESPECT NULLS ` inside function argument list for Databricks (#1263 ) - Thanks @jmhain
125+ * Support ` SELECT * EXCEPT ` Databricks (#1261 ) - Thanks @jmhain
126+ * Support triple quoted strings (#1262 ) - Thanks @iffyio
127+ * Support array indexing for duckdb (#1265 ) - Thanks @JichaoS
128+ * Support multiple SET variables (#1252 ) - Thanks @iffyio
129+ * Support ` ANY_VALUE ` ` HAVING ` clause (#1258 ) in BigQuery - Thanks @jmhain
130+ * Support keywords as field names in BigQuery struct syntax (#1254 ) - Thanks @iffyio
131+ * Support ` GROUP_CONCAT() ` in MySQL (#1256 ) - Thanks @jmhain
132+ * Support lambda functions in Databricks (#1257 ) - Thanks @jmhain
133+ * Add const generic peek_tokens method to parser (#1255 ) - Thanks @jmhain
134+
135+
136+ ## [ 0.46.0] 2024-05-03
137+
138+ ### Changed
139+ * Consolidate representation of function calls, remove ` AggregateExpressionWithFilter ` , ` ArraySubquery ` , ` ListAgg ` and ` ArrayAgg ` (#1247 ) - Thanks jmhain
140+ * Extended dialect trait to support numeric prefixed identifiers (#1188 ) - Thanks @groobyming
141+ * Update simple_logger requirement from 4.0 to 5.0 (#1246 ) - Thanks @dependabot
142+ * Improve parsing of JSON accesses on Postgres and Snowflake (#1215 ) - Thanks @jmhain
143+ * Encapsulate Insert and Delete into specific structs (#1224 ) - Thanks @tisonkun
144+ * Preserve double colon casts (and simplify cast representations) (#1221 ) - Thanks @jmhain
145+
146+ ### Fixed
147+ * Fix redundant brackets in Hive/Snowflake/Redshift (#1229 ) - Thanks @yuval-illumex
148+
149+ ### Added
150+ * Support values without parens in Snowflake and DataBricks (#1249 ) - Thanks @HiranmayaGundu
151+ * Support WINDOW clause after QUALIFY when parsing (#1248 ) - Thanks @iffyio
152+ * Support ` DECLARE ` parsing for mssql (#1235 ) - Thanks @devanbenz
153+ * Support ` ? ` -based jsonb operators in Postgres (#1242 ) - THanks @ReppCodes
154+ * Support Struct datatype parsing for GenericDialect (#1241 ) - Thanks @duongcongtoai
155+ * Support BigQuery window function null treatment (#1239 ) - Thanks @iffyio
156+ * Support extend pivot operator - Thanks @iffyio
157+ * Support Databricks SQL dialect (#1220 ) - Thanks @jmhain
158+ * Support for MSSQL CONVERT styles (#1219 ) - Thanks @iffyio
159+ * Support window clause using named window in BigQuery (#1237 ) - Thanks @iffyio
160+ * Support for CONNECT BY (#1138 ) - Thanks @jmhain
161+ * Support object constants in Snowflake (#1223 ) - Thanks @jmhain
162+ * Support BigQuery MERGE syntax (#1217 ) - Thanks @iffyio
163+ * Support for MAX for NVARCHAR (#1232 ) - Thanks @ bombsimon
164+ * Support fixed size list types (#1231 ) - @@universalmind303
165+ * Support Snowflake MATCH_RECOGNIZE syntax (#1222 ) - Thanks @jmhain
166+ * Support quoted string backslash escaping (#1177 ) - Thanks @iffyio
167+ * Support Modify Column for MySQL dialect (#1216 ) - Thanks @KKould
168+ * Support ` select * ilike ` for snowflake (#1228 ) - Thanks @HiranmayaGundu
169+ * Support wildcard replace in duckdb and snowflake syntax (#1226 ) - Thanks @HiranmayaGundu
170+
171+
172+
13173## [ 0.45.0] 2024-04-12
14174
15175### Added
0 commit comments