Skip to content

Bump sqlfluff from 4.1.0 to 4.2.0 in /sqlfluff#2422

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sqlfluff/sqlfluff-4.2.0
Open

Bump sqlfluff from 4.1.0 to 4.2.0 in /sqlfluff#2422
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sqlfluff/sqlfluff-4.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Bumps sqlfluff from 4.1.0 to 4.2.0.

Release notes

Sourced from sqlfluff's releases.

[4.2.0] - 2026-05-13

Highlights

This minor release contains four particular changes of note:

  • The default render_variant_limit is now 5 instead of 1, so SQLFluff may report new linting violations from templated branches that were previously not inspected in Jinja and dbt projects. Documentation for the feature is now also available in Template Variant Rendering.
  • This release drops support for Python 3.9, which reached end of life at the end of October 2025.
  • Security improvements that protect against resource exhaustion through malicious queries by limiting total parsed nodes. Users can configure the new max_parse_nodes config setting to enable parsing of larger files in their project if necessary.
  • A new AL10 rule requires aliases on FROM subqueries, because omitting them causes parse errors in most major dialects.

Beyond that, there are parser improvements for T-SQL, PostgreSQL, Snowflake, BigQuery, DuckDB, ClickHouse, Oracle, Hive/SparkSQL, Databricks, DB2, Athena, Trino, MariaDB/MySQL, StarRocks, Teradata, and Greenplum. There are also rule fixes for ST06, ST11, LT02, and LT09, better handling for placeholder and dbt/Jinja rendering edge cases, and a new option to fail when files are skipped for size.

This release also includes first-time contributions from twenty new contributors. Thank you all for your contributions. 🏆

What’s Changed

... (truncated)

Changelog

Sourced from sqlfluff's changelog.

[4.2.0] - 2026-05-13

Highlights

This minor release contains four particular changes of note:

  • The default render_variant_limit is now 5 instead of 1, so SQLFluff may report new linting violations from templated branches that were previously not inspected in Jinja and dbt projects. Documentation for the feature is now also available in Template Variant Rendering.
  • This release drops support for Python 3.9, which reached end of life at the end of October 2025.
  • Security improvements that protect against resource exhaustion through malicious queries by limiting total parsed nodes. Users can configure the new max_parse_nodes config setting to enable parsing of larger files in their project if necessary.
  • A new AL10 rule requires aliases on FROM subqueries, because omitting them causes parse errors in most major dialects.

Beyond that, there are parser improvements for T-SQL, PostgreSQL, Snowflake, BigQuery, DuckDB, ClickHouse, Oracle, Hive/SparkSQL, Databricks, DB2, Athena, Trino, MariaDB/MySQL, StarRocks, Teradata, and Greenplum. There are also rule fixes for ST06, ST11, LT02, and LT09, better handling for placeholder and dbt/Jinja rendering edge cases, and a new option to fail when files are skipped for size.

This release also includes first-time contributions from twenty new contributors. Thank you all for your contributions. 🏆

What’s Changed

... (truncated)

Commits
  • 406f9ef Prep version 4.2.0 (#7838)
  • ce634cd fix(postgres): support CORRELATION in CREATE STATISTICS and IF EXISTS in ALTE...
  • 72f1654 TSQL: allow set expressions in DECLARE ... CURSOR FOR (#7812)
  • 048591f fix: Ensure pool.join() is called in ParallelRunner (#7686)
  • a276af1 fix(clickhouse): allow WHERE/PREWHERE after ARRAY JOIN (#7837)
  • aa1535c fix(postgres): parse \crosstabview as query buffer terminator (#7833)
  • 6832161 Add max_parse_nodes parser limit (#7816)
  • 4649341 fix(athena): allow START as identifier (not reserved for SELECT) (#7834)
  • b0b2a69 TSQL: parse ALTER TABLE ... ENABLE|DISABLE TRIGGER (#7811)
  • 20f81d5 Support Teradata CAST character set phrases (#7766)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 19, 2026
@github-actions github-actions Bot enabled auto-merge May 19, 2026 21:43
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.54%. Comparing base (02a98b1) to head (9ae22b0).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2422   +/-   ##
=======================================
  Coverage   93.54%   93.54%           
=======================================
  Files         301      301           
  Lines        3826     3826           
  Branches      491      491           
=======================================
  Hits         3579     3579           
  Misses        246      246           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@slifty slifty force-pushed the dependabot/pip/sqlfluff/sqlfluff-4.2.0 branch from 3339dde to 9ae22b0 Compare May 21, 2026 18:12
@slifty slifty requested a review from hminsky2002 May 21, 2026 18:13
@slifty
Copy link
Copy Markdown
Member

slifty commented May 21, 2026

This required some changes to how we do things!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 21, 2026

🔎 A preview deployment of this pull request is available at https://utilities.philanthropydatacommons.org/pdc-service-preview-2422-mgz6e/ (and upstream https://pdc-service-preview-2422-mgz6e.ondigitalocean.app) assuming this PR is still open. 🔍

Bumps [sqlfluff](https://github.com/sqlfluff/sqlfluff) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/sqlfluff/sqlfluff/releases)
- [Changelog](https://github.com/sqlfluff/sqlfluff/blob/main/CHANGELOG.md)
- [Commits](sqlfluff/sqlfluff@4.1.0...4.2.0)

---
updated-dependencies:
- dependency-name: sqlfluff
  dependency-version: 4.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@slifty slifty force-pushed the dependabot/pip/sqlfluff/sqlfluff-4.2.0 branch from 9ae22b0 to 479217b Compare May 21, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant