Skip to content

Bump sqlfluff from 4.2.1 to 4.2.2 in /sqlfluff - #2488

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/sqlfluff/sqlfluff-4.2.2
Jul 2, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/sqlfluff/sqlfluff-4.2.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps sqlfluff from 4.2.1 to 4.2.2.

Release notes

Sourced from sqlfluff's releases.

[4.2.2] - 2026-06-04

Highlights

This patch release brings a broad set of parser fixes and dialect enhancements across T-SQL, PostgreSQL, MariaDB/MySQL, Snowflake, Athena, Materialize, and other dialects. T-SQL receives several improvements around privileges, labels, DROP CREDENTIAL, DROP SEQUENCE IF EXISTS, and reference handling for CONTAINSTABLE, while MariaDB/MySQL support is expanded for trigger, partitioning, system versioning, charset/collation, and ALTER TABLE syntax.

There are also rule and templater fixes, including a new Postgres-specific CV13 rule to prefer CREATE INDEX CONCURRENTLY, fewer ST11 false positives for LEFT SEMI and LEFT ANTI joins, and dbt templater support for the DBT_TARGET and DBT_TARGET_PATH environment variables. Performance is also improved by deferring parse-tree serialisation in logging calls.

Alongside the user-facing fixes, this release adds beta docs deployment, versioned documentation publishing, and support for building multiple Docker images. It also includes first-time contributions from twelve new contributors. Thank you all for your contributions. 🏆

What’s Changed

New Contributors

... (truncated)

Changelog

Sourced from sqlfluff's changelog.

[4.2.2] - 2026-06-04

Highlights

This patch release brings a broad set of parser fixes and dialect enhancements across T-SQL, PostgreSQL, MariaDB/MySQL, Snowflake, Athena, Materialize, and other dialects. T-SQL receives several improvements around privileges, labels, DROP CREDENTIAL, DROP SEQUENCE IF EXISTS, and reference handling for CONTAINSTABLE, while MariaDB/MySQL support is expanded for trigger, partitioning, system versioning, charset/collation, and ALTER TABLE syntax.

There are also rule and templater fixes, including a new Postgres-specific CV13 rule to prefer CREATE INDEX CONCURRENTLY, fewer ST11 false positives for LEFT SEMI and LEFT ANTI joins, and dbt templater support for the DBT_TARGET and DBT_TARGET_PATH environment variables. Performance is also improved by deferring parse-tree serialisation in logging calls.

Alongside the user-facing fixes, this release adds beta docs deployment, versioned documentation publishing, and support for building multiple Docker images. It also includes first-time contributions from twelve new contributors. Thank you all for your contributions. 🏆

What’s Changed

... (truncated)

Commits
  • 1c2ec52 Prep version 4.2.2 (#7909)
  • f9fce5c Add beta docs deployment and versioned publishing (#7912)
  • 2b05ce0 perf: defer parse-tree serialisation in logging calls (#7911)
  • facb9b0 Fix typo: 'the the' -> 'the' in test comment (#7908)
  • 8f6b6d3 Support T-SQL DROP CREDENTIAL (#7904)
  • 0ace3fd fix(dbt-templater): honor DBT_TARGET / DBT_TARGET_PATH env vars (#7900)
  • b6cd5e1 fix(mariadb): support CREATE OR REPLACE TRIGGER syntax (#7897)
  • 29b12d4 fix(postgres): parse \crosstabview after WITH compound statement (CTE) (#7895)
  • e4dff15 Add support for various T-SQL privileges (#7894)
  • 20125ba fix(tsql): parse label following SELECT without semicolon (#7867)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jul 1, 2026
@github-actions
github-actions Bot enabled auto-merge July 1, 2026 00:08
@codecov

codecov Bot commented Jul 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.73%. Comparing base (27f8e97) to head (0310175).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2488   +/-   ##
=======================================
  Coverage   93.73%   93.73%           
=======================================
  Files         312      312           
  Lines        3929     3929           
  Branches      532      533    +1     
=======================================
  Hits         3683     3683           
  Misses        245      245           
  Partials        1        1           

☔ View full report in Codecov by Harness.
📢 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 commented Jul 2, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/pip/sqlfluff/sqlfluff-4.2.2 branch from f2619f4 to 26501d5 Compare July 2, 2026 15:10
@slifty
slifty force-pushed the dependabot/pip/sqlfluff/sqlfluff-4.2.2 branch from 26501d5 to cb21b82 Compare July 2, 2026 15:30
@slifty
slifty disabled auto-merge July 2, 2026 15:30
@github-actions
github-actions Bot enabled auto-merge July 2, 2026 15:30
@slifty
slifty requested a review from bickelj July 2, 2026 15:30
@github-actions

github-actions Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

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

@bickelj
bickelj disabled auto-merge July 2, 2026 15:37
Comment thread .sqlfluffignore Resolved

@bickelj bickelj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! This reminds me of the superiority of the liquibase approach, where you define prerequisites for changesets, and the changesets run when the prerequisites are there.

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

---
updated-dependencies:
- dependency-name: sqlfluff
  dependency-version: 4.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@slifty
slifty force-pushed the dependabot/pip/sqlfluff/sqlfluff-4.2.2 branch from cb21b82 to 0310175 Compare July 2, 2026 15:43
@github-actions
github-actions Bot enabled auto-merge July 2, 2026 15:43
@github-actions
github-actions Bot merged commit cab24d4 into main Jul 2, 2026
21 checks passed
@github-actions
github-actions Bot deleted the dependabot/pip/sqlfluff/sqlfluff-4.2.2 branch July 2, 2026 15:46
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.

2 participants