NOTE: This is an alpha release for testing purposes. There are several new features here, and breaking changes to configuration. We welcome testing feedback from the community, but know that this release may feel less polished than usual.
Highlights
This is the first alpha version for 2.0.0. It brings all of the changes to whitespace handing, including a total rewrite of indentation and long line logic (L003 & L016). That brings several breaking changes to the configuration of layout, see the layout docs for more details and familiarise yourself with the new default configuration.
In addition, for the dbt templater, this introduces a large re-write of the codebase, dropping support for dbt versions before 1.0.0. This leverages functionality from dbt-osmosis to reduce the amount of functionality supported directly by SQLFluff, and performance during testing of the new version has been reported as significantly faster.
There will likely be more changes to rule classification before a full release of 2.0.0, so anticipate that configuration files may change slightly again in future alpha releases.
What’s Changed
- Fixed False Positive for L037 (#4198) @WillAyd
- Fix #4215 (#4217) @alanmcruickshank
- don't consider templated whitespace (#4213) @alanmcruickshank
- show fatal errors regardless (#4214) @alanmcruickshank
- don't pickle the templater (#4208) @alanmcruickshank
- MySQL: Support column character set and collation (#4204) @yoichi
- Fix some issues with Docker Compose environment (#4201) @barrywhart
- Implicit Indents (#4054) @alanmcruickshank
- Tweak Coveralls settings (#4199) @barrywhart
- In addition to Codecov, also upload to Coveralls (#4197) @barrywhart
- Fix: create table default cast returns unparsable section (#4192) @NelsonTorres
- Fix JSON parsing issue with diff-quality plugin (#4190) @barrywhart
- Codecov migration (#4195) @alanmcruickshank
- Stop adding trailing os.sep if ignore file is on the root of the file… (#4182) @baa-ableton
- Port dbt-osmosis templater changes to SQLFluff (#3976) @barrywhart
- Reflow 4: Long Lines (#4067) @alanmcruickshank
- Fix comment bug on reindent (#4179) @alanmcruickshank
- Reflow 3: Reindent (#3942) @alanmcruickshank
New Contributors
- @baa-ableton made their first contribution in #4182
- @WillAyd made their first contribution in #4198