Sqlfluff

Latest version: v3.0.6

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 21 of 24

0.2.2

Not secure
Changed

- Tweak rule L005 to report more sensibly with newlines.
- Rework testing of rules to be more modular.
- Fix a config file bug if no root config file was present for some
values. Thanks [barrywhart](https://github.com/barrywhart).
- Lexing rules are now part of the dialect rather than a
global so that they can be overridden by other dialects
when we get to that stage.

0.2.0

Not secure
Added

- Templating support (jinja2, python or raw).
- Variables + Macros.
- The `fix` command is also sensitive to fixing over templates
and will skip certain fixes if it feels that it's conflicted.
- Config file support, including specifying context for the templater.
- Documentation via Sphinx and readthedocs.
- Including a guide on the role of SQL in the real world.
Assisted by [barrywhart](https://github.com/barrywhart).
- Documentation LINTING (given we're a linting project) introduced in CI.
- Reimplemented L006 & L007 which lint whitespace around operators.
- Ability to configure rule behaviour directly from the config file.
- Implemented L010 to lint capitalisation of keywords.
- Allow casting in the parser using the `::` operator.
- Implemented `GROUP BY`and `LIMIT`.
- Added `ORDER BY` using indexes and expressions.
- Added parsing of `CASE` statements.
- Support for window/aggregate functions.
- Added linting and parsing of alias expressions.

Changed

- Fixed a bug which could cause potential infinite recursion in configuration
- Changed how negative literals are handled, so that they're now a compound segment
rather than being identified at the lexing stage. This is to allow the parser
to resolve the potential ambiguity.
- Restructure of rule definitions to be more streamlined and also enable
autodocumentation. This includes a more complete `RuleSet` class which now
holds the filtering code.
- Corrected logging in fix mode not to duplicate the reporting of errors.
- Now allows insert statements with a nested `with` clause.
- Fixed verbose logging during parsing.
- Allow the `Bracketed` grammar to optionally match empty brackets using
the optional keyword.

0.1.9

- Re-order the quick fix options.
- Implement `sqlfluff.codeActions` options to disable code actions.

0.1.8

- Implement quick fix options to add the `--noqa` or `--noqa: <rule>` to the linter.

0.1.7

- Add `linter.lintEntireProject` configuration option that defaults to `false`.

0.1.6

- Add `linter.delay` configuration option.
- SQLFluff now lints all files when VSCode is loaded or a config is changed.
- Add `SQLFluff Lint` and `SQLFluff Fix` commands.

Page 21 of 24

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.