- Better exception handling for the simple parsing API (`sqlfluff.parse`) which now raises an exception which holds all potential parsing issues and prints nicely with more than one issue. - Fix bug [1037](https://github.com/sqlfluff/sqlfluff/issues/1037), in which fix logging had been sent to stdout when reading data from stdin. - Add a little bit of fun on CLI exit 🎉! - Disabled models in the dbt templater are now skipped entirely rather than returning an untemplated file. - Add a changelog check to SQLFluff continuous integration. - Fix bug [1083](https://github.com/sqlfluff/sqlfluff/issues/1083), adding support for BigQuery named function arguments, used with functions such as [ST_GEOGFROMGEOJSON()](https://cloud.google.com/bigquery/docs/reference/standard-sql/geography_functions#st_geogfromgeojson) - Update documentation links to sqlfluff-online.
0.6.0a1
Not secure
Added
- Lint and fix parallelism using `--parallel` CLI argument - Fix [1051](https://github.com/sqlfluff/sqlfluff/issues/1051), adding support for bitwise operators `&`, `|`, `^`, `<<`, `>>`
0.5.6
Not secure
- Bugfix release for an issue in `L016` introduced in `0.5.4`. - Fix for `L016` issue where `DISTINCT` keywords were mangled during fixing [1024](https://github.com/sqlfluff/sqlfluff/issues/1024).
0.5.5
Not secure
- Bugfix release for an off-by-one error introduced in L016 as part of `0.5.4`.
0.5.4
Not secure
Added
- Parsing of Postgres dollar quoted literals. - Parsing of Postgres filter grammar. - Parsing of "ALTER DEFAULT PRIVILEGES" Postgres statement. - Parsing of Postgres non-explicit role granting and function execution. - Early failing on fatal dbt templater fails.
Changed
- Big rewrite of the lexer, segments and position markers for simplicity and to support future parallelism work. - Fix to L036 which previously mangled whitespace.
0.5.3
Not secure
Added
- [`L009`](https://docs.sqlfluff.com/en/stable/rules.html#sqlfluff.core.rules.Rule_L009) can now be enforced when `templater = dbt`. - Parsing of `EXPLAIN`, `USE` statements. - Parsing of `ALTER TABLE x RENAME TO y` syntax. - Parsing of `ALTER SESSION` in snowflake. - Parsing of numeric literals with exponents. - Added rule codes to diff_cover output.
Changed
- Fix `templater = dbt` L009 bug [861](https://github.com/sqlfluff/sqlfluff/issues/861) where: - `sqlfluff lint` would incorrectly always return `L009 | Files must end with a trailing newline.` - `sqlfluff fix` would remove trailing newlines when `exclude_rules = L009`. - Fix bug with BigQuery comparison operators. - Fix recursion bug with L045. - Fix tuple index bug with L016. - Fix mange coalecse bug with L043. - Fix Jinja templating error with _UnboundLocalError_. - Improve array parsing. - Simplify bracket parsing. - Speed up L010 with caching capitalisation policy. - Output of `sqlfluff dialects` is now sorted. - Handle disabled `dbt` models.