---
title: "sqlfluff 4.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each sqlfluff release removed, renamed or changed: 106 breaking changes in 7 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/sqlfluff
last_updated: 2026-12-04
---

# sqlfluff breaking changes

sqlfluff 4.0.0 (January 15, 2026) is its newest release with breaking changes, 10 of them. The first: Drops support for dbt 1.4 and older in sqlfluff 4.0.0. Every breaking API change we have recorded in sqlfluff on PyPI: 106 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.6.0`, released December 3, 2026. [Source repository](https://github.com/sqlfluff/sqlfluff)

Its 3.0.0 release drops [Python 3.7](https://since.dev/calendar/python/3.7.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 10 breaking changes in 1 version.
- From [2.0.0](#v-2-0-0) to [4.0.0](#v-4-0-0): 60 breaking changes in 4 versions.

## sqlfluff 4.0.0 breaking changes

sqlfluff 4.0.0, released January 15, 2026: 10 breaking changes.

- **Removed**  

SQLFluff 4.0 no longer supports dbt 1.4 and older. Users on those dbt versions must upgrade dbt to keep using this release. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/4.0.0)
- **Signature changed** `sqlfluff.core.errors.PositionMarker.from_child_markers`  

Was @classmethod def from_child_markers(cls, \*markers: Optional\[PositionMarker\]) -> PositionMarker; now @classmethod def from_child_markers(cls, markers: Sequence\[Optional\[PositionMarker\]\]) -> PositionMarker. [pypi.org](https://pypi.org/project/sqlfluff/4.0.0/)
- **Signature changed** `sqlfluff.core.Lexer`  

Was class Lexer; now Lexer. [pypi.org](https://pypi.org/project/sqlfluff/4.0.0/)
- **Signature changed** `sqlfluff.core.parser.markers.PositionMarker.from_child_markers`  

Was @classmethod def from_child_markers(cls, \*markers: Optional\[PositionMarker\]) -> PositionMarker; now @classmethod def from_child_markers(cls, markers: Sequence\[Optional\[PositionMarker\]\]) -> PositionMarker. [pypi.org](https://pypi.org/project/sqlfluff/4.0.0/)
- **Signature changed** `sqlfluff.utils.reflow.config.ReflowConfig.__init__`  

Was def \_\_init\_\_(self, \_config_dict: ConfigDictType, config_types: set\[str\], tab_space_size: int = 4, indent_unit: str = ' ', max_line_length: int = 80, hanging_indents: bool = False, skip_indentation_in: frozenset\[str\] = frozenset()... [pypi.org](https://pypi.org/project/sqlfluff/4.0.0/)
- **Signature changed** `sqlfluff.utils.reflow.elements.ReflowConfig.__init__`  

Was def \_\_init\_\_(self, \_config_dict: ConfigDictType, config_types: set\[str\], tab_space_size: int = 4, indent_unit: str = ' ', max_line_length: int = 80, hanging_indents: bool = False, skip_indentation_in: frozenset\[str\] = frozenset()... [pypi.org](https://pypi.org/project/sqlfluff/4.0.0/)
- **Signature changed** `sqlfluff.utils.reflow.reindent.lint_indent_points`  

Was def lint_indent_points(elements: ReflowSequenceType, single_indent: str, skip_indentation_in: frozenset\[str\] = frozenset(), allow_implicit_indents: bool = False, ignore_comment_lines: bool = False) -> tuple\[ReflowSequenceType... [pypi.org](https://pypi.org/project/sqlfluff/4.0.0/)
- **Signature changed** `sqlfluff.utils.reflow.reindent.lint_line_length`  

Was def lint_line_length(elements: ReflowSequenceType, root_segment: BaseSegment, single_indent: str, line_length_limit: int, allow_implicit_indents: bool = False, trailing_comments: str = 'before') -> tuple\[ReflowSequenceType... [pypi.org](https://pypi.org/project/sqlfluff/4.0.0/)
- **Signature changed** `sqlfluff.utils.reflow.sequence.lint_indent_points`  

Was def lint_indent_points(elements: ReflowSequenceType, single_indent: str, skip_indentation_in: frozenset\[str\] = frozenset(), allow_implicit_indents: bool = False, ignore_comment_lines: bool = False) -> tuple\[ReflowSequenceType... [pypi.org](https://pypi.org/project/sqlfluff/4.0.0/)
- **Signature changed** `sqlfluff.utils.reflow.sequence.lint_line_length`  

Was def lint_line_length(elements: ReflowSequenceType, root_segment: BaseSegment, single_indent: str, line_length_limit: int, allow_implicit_indents: bool = False, trailing_comments: str = 'before') -> tuple\[ReflowSequenceType... [pypi.org](https://pypi.org/project/sqlfluff/4.0.0/)

## sqlfluff 3.0.0 breaking changes

sqlfluff 3.0.0, released March 12, 2024: 46 breaking changes.

- **Removed**  

The release no longer supports Python 3.7, which reached end of life in June 2023. Users on Python 3.7 must upgrade Python before installing this version. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0)
- **Removed** `--disable_progress_bar`  

The long-deprecated --disable_progress_bar option has been removed. Use --disable-progress-bar instead. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0)
- **Renamed** `line_no`  

The serialised lint output field line_no is renamed to start_line_no. Code reading the old field name must use the new one. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0)
- **Renamed** `line_pos`  

The serialised lint output field line_pos is renamed to start_line_pos. Code reading the old field name must use the new one. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0)
- **Default changed** `--annotation-level`  

The default annotation level changed from notice to warning, and warnings now always have the notice level. This affects only the github-annotation and github-annotation-native formats. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0)
- **Default changed** `aliasing.table`  

The AL01 rule is now disabled by default for the Oracle dialect. Oracle users who want this check must enable it explicitly. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0)
- **Default changed** `convention.not_equals`  

The default behaviour for convention.not_equals is now consistent, which is slightly more relaxed than before. Configurations relying on the old default may report different results. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0)
- **Configuration changed**  

The python packaging configuration file is now pyproject.toml instead of setup.cfg, with setuptools still the default build backend. Build and packaging setups that read setup.cfg need updating. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0)
- **Signature changed** `sqlfluff.cli.commands.fix`  

Was def fix(force: bool, paths: Tuple\[str\], bench: bool = False, quiet: bool = False, fixed_suffix: str = '', logger: Optional\[logging.Logger\] = None, processes: Optional\[int\] = None, disable_progress_bar: Optional\[bool\] = False... [pypi.org](https://pypi.org/project/sqlfluff/3.0.0/)
- **Signature changed** `sqlfluff.cli.commands.LintingResult.as_records`  

Was def as_records(self) -> List\[dict\]; now def as_records(self) -> List\[LintingRecord\]. [pypi.org](https://pypi.org/project/sqlfluff/3.0.0/)

And 36 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## sqlfluff 3.0.0a5 breaking changes

sqlfluff 3.0.0a5, released March 12, 2024: 2 breaking changes.

- **Default changed** `AL01`  

The aliasing.table rule AL01 is now disabled by default for the Oracle dialect. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0a5)
- **Default changed** `convention.not_equals`  

The default behaviour for convention.not_equals is now consistent, which is stricter than before; users relying on the old default may see new lint results. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0a5)

## sqlfluff 3.0.0a1 breaking changes

sqlfluff 3.0.0a1, released March 12, 2024: 2 breaking changes.

- **Removed**  

The package no longer supports Python 3.7, so users on that runtime must upgrade Python before installing this version. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0a1)
- **Configuration changed**  

The core project now uses pyproject.toml as its packaging configuration file instead of setup.cfg, though setuptools remains the default backend. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/3.0.0a1)

## sqlfluff 2.0.0 breaking changes

sqlfluff 2.0.0, released March 14, 2023: 41 breaking changes.

- **Renamed** `L001`  

Legacy layout rule codes such as L001 were combined into LT01 and must be referenced by the new code. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0)
- **Renamed** `L005`  

Legacy layout rule L005 was combined into LT01. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0)
- **Renamed** `L006`  

Legacy layout rule L006 was combined into LT01. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0)
- **Renamed** `L008`  

Legacy layout rule L008 was combined into LT01. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0)
- **Renamed** `L023`  

Legacy layout rule L023 was combined into LT01. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0)
- **Renamed** `L024`  

Legacy layout rule L024 was combined into LT01. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0)
- **Renamed** `L039`  

Legacy layout rule L039 was combined into LT01. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0)
- **Renamed** `L048`  

Legacy layout rule L048 was combined into LT01. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0)
- **Renamed** `L071`  

Legacy layout rule L071 was combined into LT01. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0)
- **Configuration changed**  

Layout and whitespace rules were rewritten and layout is now configured differently. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0)

And 31 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## sqlfluff 2.0.0a6 breaking changes

sqlfluff 2.0.0a6, released March 14, 2023: 3 breaking changes.

- **Renamed** `L031`  

Rule L031 is now AL07 and is disabled. The legacy code remains available as an alias for backward compatibility. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0a6)
- **Behavior changed**  

Databricks is no longer treated as an alias for sparksql. Select the databricks dialect explicitly in configuration. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0a6)
- **Configuration changed**  

Configuration files and inline flags should now use rule names rather than codes. Configs referencing legacy or unknown rules now show warnings. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0a6)

## Older versions

1 older version.

### sqlfluff 2.0.0a1 breaking changes

sqlfluff 2.0.0a1, released March 14, 2023: 2 breaking changes.

- **Removed**  

The dbt templater no longer supports dbt versions before 1.0.0. Upgrade dbt to 1.0.0 or later before using this release. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0a1)
- **Configuration changed**  

The rewrite of indentation (L003) and long line (L016) logic brought breaking changes to layout configuration. Review the layout docs and the new default configuration. [github.com](https://github.com/sqlfluff/sqlfluff/releases/tag/2.0.0a1)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
