Skip to content

Releases: joereynolds/sql-lint

v0.0.11

08 May 07:23
Compare
Choose a tag to compare
  • Add and implement ignore-errors option (see doc/configuration.md)
  • Add preliminary support for CALL, REPLACE, RETURN, DECLARE, LEAVE and SHOW statements
  • Support Postgres (yay.)
  • Reduce executable size
  • More consistent error messages when sql-lint is ran over a file
  • Add check for invalid options on ALTER statements

For developers, there has been some small refactors and big improvements on test coverage (now around ~95% coverage)

v0.0.10

12 Feb 16:16
Compare
Choose a tag to compare
  • Many developer friendly improvements (See these commits for the full list)
  • Added --format option.
    The format option changes how sql-lint outputs its errors. At time of writing, there are two formats, simple which is the format that was already there, and also json which can be consumed by a web service or whatever else you crazy kids do these days.
  • Added support for CREATE statements
  • Added InvalidCreateOption check.
    This is triggered when an invalid word comes after the CREATE keyword in a CREATE statement.

v0.0.9

06 Feb 12:14
Compare
Choose a tag to compare
  • Fix wrong version number in executable

v0.0.8

06 Feb 12:02
Compare
Choose a tag to compare
  • Add support for DROP statements
  • Warn if configuration file is not found
  • Make -v --verbose option actually work
  • Add check for invalid drop options
  • Clarify MySQL versions in the README

v0.0.7

19 Jan 08:47
Compare
Choose a tag to compare
  • Ignore comments in queries
  • Warn if no file is present when using the -f flag
  • Add support for UPDATE and CREATE statements

v0.0.6

29 Aug 16:31
Compare
Choose a tag to compare
v0.0.6