You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+56Lines changed: 56 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,62 @@ Note: Changes are now automatically tracked in [GitHub](https://github.com/sqlfl
10
10
-->
11
11
<!--Start Of Releases (DO NOT DELETE THIS LINE)-->
12
12
13
+
## [3.0.4] - 2024-04-07
14
+
15
+
## Highlights
16
+
17
+
This is a standard bugfix release bringing a bunch of dialect improvements and
18
+
bugfixes. Almost every dialect sees some improvements and it also includes
19
+
quality of life improvements to the CLI, pre-commit hooks, docs and several
20
+
rules.
21
+
22
+
Thanks also to the **eight** new contributors whose first contributions are
23
+
included in this release. 🎉🎉🏆🎉🎉
24
+
25
+
## What’s Changed
26
+
27
+
* TSQL: Move PROPERTY to unreserved [#5759](https://github.com/sqlfluff/sqlfluff/pull/5759)[@WittierDinosaur](https://github.com/WittierDinosaur)
28
+
* Mysql: Add Character Set Literals [#5755](https://github.com/sqlfluff/sqlfluff/pull/5755)[@WittierDinosaur](https://github.com/WittierDinosaur)
29
+
* Snowflake: Support ASOF Joins [#5756](https://github.com/sqlfluff/sqlfluff/pull/5756)[@WittierDinosaur](https://github.com/WittierDinosaur)
30
+
* Mysql: Support scoped function calls [#5757](https://github.com/sqlfluff/sqlfluff/pull/5757)[@WittierDinosaur](https://github.com/WittierDinosaur)
31
+
* Postgres: Support pgvector vector type [#5758](https://github.com/sqlfluff/sqlfluff/pull/5758)[@WittierDinosaur](https://github.com/WittierDinosaur)
32
+
* SQLite: Support RETURNING Clause [#5760](https://github.com/sqlfluff/sqlfluff/pull/5760)[@WittierDinosaur](https://github.com/WittierDinosaur)
33
+
* Postgres: Allow return control structures in atomic functions [#5761](https://github.com/sqlfluff/sqlfluff/pull/5761)[@WittierDinosaur](https://github.com/WittierDinosaur)
34
+
* ST04: Retain comments when flattening `CASE`[#5753](https://github.com/sqlfluff/sqlfluff/pull/5753)[@keraion](https://github.com/keraion)
35
+
* dbt templater: Raise UserError when using stdin [#5752](https://github.com/sqlfluff/sqlfluff/pull/5752)[@keraion](https://github.com/keraion)
* Databricks: Fix Aliases for Join-like objects [#5748](https://github.com/sqlfluff/sqlfluff/pull/5748)[@keraion](https://github.com/keraion)
38
+
* Add missing README ref, and issues labels [#5741](https://github.com/sqlfluff/sqlfluff/pull/5741)[@WittierDinosaur](https://github.com/WittierDinosaur)
39
+
* Qual: Add pre-commit to CI [#5730](https://github.com/sqlfluff/sqlfluff/pull/5730)[@mdeweerd](https://github.com/mdeweerd)
40
+
* Added support for 'greater/less than or equal' on ANSI CASE statement [#5728](https://github.com/sqlfluff/sqlfluff/pull/5728)[@IliyanKostov9](https://github.com/IliyanKostov9)
41
+
* Remove `--force` flag from pre-commit hook definition [#5739](https://github.com/sqlfluff/sqlfluff/pull/5739)[@borchero](https://github.com/borchero)
42
+
* adding snake_case to CP01 extended_capitalisation_policy [#5736](https://github.com/sqlfluff/sqlfluff/pull/5736)[@alecsgonz](https://github.com/alecsgonz)
43
+
* ST04: Ignore simplifying `CASE`s with different expressions [#5735](https://github.com/sqlfluff/sqlfluff/pull/5735)[@keraion](https://github.com/keraion)
44
+
* Fix #5724 mysql: Allow Line comments without space after -- [#5731](https://github.com/sqlfluff/sqlfluff/pull/5731)[@mdeweerd](https://github.com/mdeweerd)
* Fix implementation for view_column_name_list in BigQuery's CREATE VIEW [#5738](https://github.com/sqlfluff/sqlfluff/pull/5738)[@kzosabe](https://github.com/kzosabe)
47
+
* CLI: Suppress tracebacks on render/fix/format [#5734](https://github.com/sqlfluff/sqlfluff/pull/5734)[@keraion](https://github.com/keraion)
48
+
* Clickhouse: add parsing for select except clause [#5725](https://github.com/sqlfluff/sqlfluff/pull/5725)[@tojahech](https://github.com/tojahech)
49
+
* Add array type support to Trino dialect [#5722](https://github.com/sqlfluff/sqlfluff/pull/5722)[@kirkhansen](https://github.com/kirkhansen)
50
+
* Fix/snowflake unparsable tag in create stmt [#5720](https://github.com/sqlfluff/sqlfluff/pull/5720)[@mariq41](https://github.com/mariq41)
* Clickhouse: add parsing for "distinct on" syntax [#5716](https://github.com/sqlfluff/sqlfluff/pull/5716)[@tojahech](https://github.com/tojahech)
53
+
* added refresh mode init on create table statement [#5715](https://github.com/sqlfluff/sqlfluff/pull/5715)[@IliyanKostov9](https://github.com/IliyanKostov9)
54
+
* added `ifNotExistsGrammar` to Snowflake procedure [#5709](https://github.com/sqlfluff/sqlfluff/pull/5709)[@IliyanKostov9](https://github.com/IliyanKostov9)
55
+
* Trino: 'TIMESTAMP(p)' no longer triggers LT01 [#5711](https://github.com/sqlfluff/sqlfluff/pull/5711)[@rileymcdowell](https://github.com/rileymcdowell)
56
+
* Snowflake: add support for streamlit [#5692](https://github.com/sqlfluff/sqlfluff/pull/5692)[@vgw-chriskruger](https://github.com/vgw-chriskruger)
57
+
58
+
## New Contributors
59
+
60
+
*[@vgw-chriskruger](https://github.com/vgw-chriskruger) made their first contribution in [#5692](https://github.com/sqlfluff/sqlfluff/pull/5692)
61
+
*[@IliyanKostov9](https://github.com/IliyanKostov9) made their first contribution in [#5709](https://github.com/sqlfluff/sqlfluff/pull/5709)
62
+
*[@tojahech](https://github.com/tojahech) made their first contribution in [#5716](https://github.com/sqlfluff/sqlfluff/pull/5716)
63
+
*[@mariq41](https://github.com/mariq41) made their first contribution in [#5714](https://github.com/sqlfluff/sqlfluff/pull/5714)
64
+
*[@kirkhansen](https://github.com/kirkhansen) made their first contribution in [#5722](https://github.com/sqlfluff/sqlfluff/pull/5722)
65
+
*[@kzosabe](https://github.com/kzosabe) made their first contribution in [#5738](https://github.com/sqlfluff/sqlfluff/pull/5738)
66
+
*[@mdeweerd](https://github.com/mdeweerd) made their first contribution in [#5729](https://github.com/sqlfluff/sqlfluff/pull/5729)
67
+
*[@alecsgonz](https://github.com/alecsgonz) made their first contribution in [#5736](https://github.com/sqlfluff/sqlfluff/pull/5736)
0 commit comments