forked from repo-mirrors/sqlfluff
Prep version 3.2.5 (#6401)
Co-authored-by: alanmcruickshank <alanmcruickshank@users.noreply.github.com> Co-authored-by: Alan Cruickshank <alan+git@designingoverload.com>
This commit is contained in:
committed by
GitHub
parent
baa32b8836
commit
36ad37b2a3
58
CHANGELOG.md
58
CHANGELOG.md
@@ -10,6 +10,62 @@ Note: Changes are now automatically tracked in [GitHub](https://github.com/sqlfl
|
||||
-->
|
||||
<!--Start Of Releases (DO NOT DELETE THIS LINE)-->
|
||||
|
||||
## [3.2.5] - 2024-10-25
|
||||
|
||||
## Highlights
|
||||
|
||||
This release is mostly bugfixes and dialect improvements. Notably:
|
||||
|
||||
* Whitespace handling improvements to `LT01` & `LT02`.
|
||||
* Better error messages around trying to iterate on missing jinja variables.
|
||||
* Better case sensitivity for `AL09`.
|
||||
* Improved handling of jinja context in inline config directives.
|
||||
* Enabling `AM02` for Trino and Snowflake.
|
||||
* Handling potential collisions between `ST02` & `LT01`.
|
||||
* Preventing false positives in AL05 with arrays.
|
||||
|
||||
There's also a bunch of documentation improvements in this release, including
|
||||
guides on how to troubleshoot SQLFluff and how to write custom rules. Check
|
||||
out https://docs.sqlfluff.com for more details.
|
||||
|
||||
We also saw **five** new contributors to the project this month. Welcome to
|
||||
the project, and thanks for taking the time to contribute! 🎉🏆🎉
|
||||
|
||||
## What’s Changed
|
||||
|
||||
* Guides for custom rules and for troubleshooting [#6379](https://github.com/sqlfluff/sqlfluff/pull/6379) [@alanmcruickshank](https://github.com/alanmcruickshank)
|
||||
* Documentation and small overhaul of parametrized rule test cases [#6380](https://github.com/sqlfluff/sqlfluff/pull/6380) [@alanmcruickshank](https://github.com/alanmcruickshank)
|
||||
* TSQL: add missing unreserved keyword NULLS (#5212) [#6390](https://github.com/sqlfluff/sqlfluff/pull/6390) [@simonhoerdumbonde](https://github.com/simonhoerdumbonde)
|
||||
* Introducing SQLFluff Guru on Gurubase.io [#6373](https://github.com/sqlfluff/sqlfluff/pull/6373) [@kursataktas](https://github.com/kursataktas)
|
||||
* Improve heuristics for inline config [#6391](https://github.com/sqlfluff/sqlfluff/pull/6391) [@rogalski](https://github.com/rogalski)
|
||||
* Postgres: Handle expressions that occur in `IN` functions [#6393](https://github.com/sqlfluff/sqlfluff/pull/6393) [@keraion](https://github.com/keraion)
|
||||
* Snowflake: Support bracketed lambda functions without datatypes [#6394](https://github.com/sqlfluff/sqlfluff/pull/6394) [@keraion](https://github.com/keraion)
|
||||
* LT01: Add default config for `match_condition` to touch [#6395](https://github.com/sqlfluff/sqlfluff/pull/6395) [@keraion](https://github.com/keraion)
|
||||
* Snowflake: Allow for additional `CONNECT BY` expressions that may use `PRIOR` [#6396](https://github.com/sqlfluff/sqlfluff/pull/6396) [@keraion](https://github.com/keraion)
|
||||
* Details on debugging and setup for diff-quality [#6381](https://github.com/sqlfluff/sqlfluff/pull/6381) [@alanmcruickshank](https://github.com/alanmcruickshank)
|
||||
* Fix edge case in Jinja reindents [#6383](https://github.com/sqlfluff/sqlfluff/pull/6383) [@rogalski](https://github.com/rogalski)
|
||||
* Support identifier clause for Databricks [#6377](https://github.com/sqlfluff/sqlfluff/pull/6377) [@PaulBurridge](https://github.com/PaulBurridge)
|
||||
* Enable AM02 for snowflake and trino by default. [#6369](https://github.com/sqlfluff/sqlfluff/pull/6369) [@mchen-codaio](https://github.com/mchen-codaio)
|
||||
* Postgres: Support identifiers in `ALTER DATABASE SET` [#6376](https://github.com/sqlfluff/sqlfluff/pull/6376) [@keraion](https://github.com/keraion)
|
||||
* SparkSQL: Improved lexing and parsing of file literals [#6375](https://github.com/sqlfluff/sqlfluff/pull/6375) [@keraion](https://github.com/keraion)
|
||||
* Fix Snowflake alter share [#6372](https://github.com/sqlfluff/sqlfluff/pull/6372) [@greg-finley](https://github.com/greg-finley)
|
||||
* Resolve collision between ST02 and LT01 [#6366](https://github.com/sqlfluff/sqlfluff/pull/6366) [@alanmcruickshank](https://github.com/alanmcruickshank)
|
||||
* Prevent false positives with AL05 and array functions [#6365](https://github.com/sqlfluff/sqlfluff/pull/6365) [@alanmcruickshank](https://github.com/alanmcruickshank)
|
||||
* Handle iteration and getting undefined jinja variables [#6364](https://github.com/sqlfluff/sqlfluff/pull/6364) [@alanmcruickshank](https://github.com/alanmcruickshank)
|
||||
* Update documentation with new dialects [#6337](https://github.com/sqlfluff/sqlfluff/pull/6337) [@mchen-codaio](https://github.com/mchen-codaio)
|
||||
* enable default values when creating databricks tables [#6362](https://github.com/sqlfluff/sqlfluff/pull/6362) [@VictorAtIfInsurance](https://github.com/VictorAtIfInsurance)
|
||||
* Postgres : Add `ALTER AGGREGATE` Statement [#6353](https://github.com/sqlfluff/sqlfluff/pull/6353) [@R3gardless](https://github.com/R3gardless)
|
||||
* Revise AL09 (self aliasing) - stricter case sensitivity [#6333](https://github.com/sqlfluff/sqlfluff/pull/6333) [@alanmcruickshank](https://github.com/alanmcruickshank)
|
||||
* Make dbt `RelationEmulator` safely callable [#6358](https://github.com/sqlfluff/sqlfluff/pull/6358) [@mroy-seedbox](https://github.com/mroy-seedbox)
|
||||
|
||||
## New Contributors
|
||||
|
||||
* [@VictorAtIfInsurance](https://github.com/VictorAtIfInsurance) made their first contribution in [#6362](https://github.com/sqlfluff/sqlfluff/pull/6362)
|
||||
* [@mchen-codaio](https://github.com/mchen-codaio) made their first contribution in [#6337](https://github.com/sqlfluff/sqlfluff/pull/6337)
|
||||
* [@PaulBurridge](https://github.com/PaulBurridge) made their first contribution in [#6377](https://github.com/sqlfluff/sqlfluff/pull/6377)
|
||||
* [@kursataktas](https://github.com/kursataktas) made their first contribution in [#6373](https://github.com/sqlfluff/sqlfluff/pull/6373)
|
||||
* [@simonhoerdumbonde](https://github.com/simonhoerdumbonde) made their first contribution in [#6390](https://github.com/sqlfluff/sqlfluff/pull/6390)
|
||||
|
||||
## [3.2.4] - 2024-10-14
|
||||
|
||||
## Highlights
|
||||
@@ -18,7 +74,7 @@ This release is almost all dialect fixes and bugfixes. Notably also, this
|
||||
release brings official python 3.13 support too (although most users should
|
||||
not realise any differences).
|
||||
|
||||
We also see **two** new contributors to the project. Welcome
|
||||
We also saw **two** new contributors to the project. Welcome
|
||||
[@R3gardless](https://github.com/R3gardless)
|
||||
& [@brandonschabell](https://github.com/brandonschabell)! 🎉🎉🎉
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ version number.
|
||||
.. code-block:: text
|
||||
|
||||
$ sqlfluff version
|
||||
3.2.4
|
||||
3.2.5
|
||||
|
||||
Basic Usage
|
||||
-----------
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "sqlfluff-templater-dbt"
|
||||
version = "3.2.4"
|
||||
version = "3.2.5"
|
||||
description = "Lint your dbt project SQL"
|
||||
readme = {file = "README.md", content-type = "text/markdown"}
|
||||
authors = [
|
||||
@@ -53,7 +53,7 @@ keywords = [
|
||||
"dbt",
|
||||
]
|
||||
dependencies = [
|
||||
"sqlfluff==3.2.4",
|
||||
"sqlfluff==3.2.5",
|
||||
"dbt-core>=1.4.1",
|
||||
"jinja2-simple-tags>=0.3.1",
|
||||
]
|
||||
|
||||
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "sqlfluff"
|
||||
version = "3.2.4"
|
||||
version = "3.2.5"
|
||||
description = "The SQL Linter for Humans"
|
||||
readme = {file = "README.md", content-type = "text/markdown"}
|
||||
requires-python = ">=3.8"
|
||||
@@ -128,7 +128,7 @@ sqlfluff_rules_tsql = "sqlfluff.rules.tsql"
|
||||
|
||||
[tool.sqlfluff_docs]
|
||||
# NOTE: Stable version is used by docs/conf.py
|
||||
stable_version = "3.2.4"
|
||||
stable_version = "3.2.5"
|
||||
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
|
||||
Reference in New Issue
Block a user