github sqlfluff/sqlfluff 4.0.0
[4.0.0] - 2026-01-15

latest releases: 4.2.2, 4.2.1, 4.2.0...
6 months ago

Highlights

This major release brings support for internal rust optimisations. Rust support is still effectively in beta and is available on an opt in basis. To take advantage of these performance improvements, users can install sqlfluff[rs] to get the parser and lexer running in rust. The current implementation does yield noticeable gains on large files and projects - although for small individual files, the overhead of moving data into rust means that performance is a tiny bit slower. Functionality has proven fairly stable during pre release testing, and we anticipate that the rust implementations will become defaults from 5.0 onwards.

We advise testing the rust package in a development environment before going direct to production.

A massive shout out to @keraion, who's been leading the way on this effort.

Additionally in this release:

  • We drop support for dbt 1.4 and older, and include support for dbt 1.10.
  • We add the capability to force implicit indents.
  • Bufixes for CV12 and RF01.
  • Tons of docs and dialect improvements.

What’s Changed

New Contributors

Don't miss a new sqlfluff release

NewReleases is sending notifications on new releases.