Highlights
This release makes a breaking change to the serialized output of the CLI (and by extension, any of the serialized outputs of the API).
-
The serialised output for
sqlfluff lintnow contains more information about the span of linting issues and initial proposed fixes. Beside the new fields, the original fields ofline_posandline_nohave been renamed tostart_line_posandstart_line_no, to distinguish them from the new fields startingend_*. -
The default
annotation_levelset by the--annotation-leveloption on thesqlfluff lintcommand has been changed fromnoticetowarning, to better distinguish linting errors from warnings, which always now have the level ofnotice. This is only relevant when using thegithub-annotationorgithub-annotation-nativeformats.
What’s Changed
- Build out rule and fix serialisation #5364 @alanmcruickshank
- Add warning about github actions annotations limit #5450 @alanmcruickshank
- chore: remove unused line initialization in ParseContext #5448 @gvozdvmozgu
- Refine CLI testing fixture #5446 @alanmcruickshank
- Update black linting #5447 @alanmcruickshank