Highlights
This is primarily a bugfix release for 2.2.0 which introduced a bug in the exit_code returned by linting commands which ignored errors while setting processes > 1.
In addition to that this release introduces bugfixes for:
- Errors raised by two specific
dbtexceptions. - Issues with unwanted logging output when using
-f yamlor-f jsonalongside thedbttemplater.
This also introduces dialect improvements for Oracle and for LIMIT clauses.
Thanks also to @adityapat3l who made their first contribution as part of this release! πππ
Whatβs Changed
- Split apart the grammar tests #5078 @alanmcruickshank
- Resolve pickling of errors #5066 #5074 @alanmcruickshank
- Better context based tracking #5064 @alanmcruickshank
- fixing limit handling for bracketed arithmathic operations #5068 @adityapat3l
- Never run in multiprocessing mode with only 1 file. #5071 @alanmcruickshank
- Add dbt 1.6 tests #5073 @alanmcruickshank
- Handle two kinds of dbt errors more gracefully #5072 @alanmcruickshank
- Try to silence dbt logging #5054 #5070 @alanmcruickshank
- Move
_prune_optionswithin_longest_trimmed_match. #5063 @alanmcruickshank - Fix issue 4998 - Add backup and auto refresh grammar to redshift materialized view #5060 @adityapat3l
- Add mypy strict typing for sqlfluff.core.rules #5048 @pwildenhain
- β¬οΈ Bump mypy version in pre-commit #5055 @pwildenhain
- Add SQL Plus bind variable support (Oracle) #5053 @joaostorrer
New Contributors
- @adityapat3l made their first contribution in #5060