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
On this page
Latest version 4.6.0, released December 3, 2026. Source repository
Its 3.0.0 release drops Python 3.7. Python end of life dates.
- From 3.0.0 to 4.0.0: 10 breaking changes in 1 version.
- From 2.0.0 to 4.0.0: 60 breaking changes in 4 versions.
sqlfluff 4.0.0 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 - 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 - Signature changed
sqlfluff.core.Lexer
Was class Lexer; now Lexer. pypi.org - 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 - 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 - 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 - 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 - 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 - 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 - 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
sqlfluff 3.0.0 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 - Removed
--disable_progress_bar
The long-deprecated --disable_progress_bar option has been removed. Use --disable-progress-bar instead. github.com - 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 - 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 - 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 - 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 - 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 - 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 - 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 - Signature changed
sqlfluff.cli.commands.LintingResult.as_records
Was def as_records(self) -> List[dict]; now def as_records(self) -> List[LintingRecord]. pypi.org
And 36 more in this version. Sign up to see every change
sqlfluff 3.0.0a5 breaking changes
- Default changed
AL01
The aliasing.table rule AL01 is now disabled by default for the Oracle dialect. github.com - 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
sqlfluff 3.0.0a1 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 - 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
sqlfluff 2.0.0 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 - Renamed
L005
Legacy layout rule L005 was combined into LT01. github.com - Renamed
L006
Legacy layout rule L006 was combined into LT01. github.com - Renamed
L008
Legacy layout rule L008 was combined into LT01. github.com - Renamed
L023
Legacy layout rule L023 was combined into LT01. github.com - Renamed
L024
Legacy layout rule L024 was combined into LT01. github.com - Renamed
L039
Legacy layout rule L039 was combined into LT01. github.com - Renamed
L048
Legacy layout rule L048 was combined into LT01. github.com - Renamed
L071
Legacy layout rule L071 was combined into LT01. github.com - Configuration changed
Layout and whitespace rules were rewritten and layout is now configured differently. github.com
And 31 more in this version. Sign up to see every change
sqlfluff 2.0.0a6 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 - Behavior changed
Databricks is no longer treated as an alias for sparksql. Select the databricks dialect explicitly in configuration. github.com - 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
Older versions
1 older version.
Show 1 older version
sqlfluff 2.0.0a1 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 - 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.