Skip to content

Releases: coresql/sql-query-identifier

v2.7.0

21 Feb 18:43
c17b973
Compare
Choose a tag to compare

Features

  • Add initial support for table identification by @azmy60 in #76

This feature requires passing identifyTables: true to the identify options. It will only pick up tables in very simple cases (no CTEs) for SELECT and INSERT queries and is not ready for broad usage. If enabled, should ideally see the tables used under new tables key in the identify result. If disabled, or using an unsupported query type, then tables will be an empty array.

Full Changelog: v2.6.0...v2.7.0

v2.6.0

05 Dec 02:39
9edeaa4
Compare
Choose a tag to compare

Features

  • Identify create virtual table sqlite statements by @MasterOdin in #73

Bugfixes

  • Fix parsing trailing non-alphanumerics in mssql parameters by @azmy60 in #72

Full Changelog: v2.5.0...v2.6.0

v2.5.0

06 Feb 05:32
Compare
Choose a tag to compare

Features

  • Add SHOW statements for generic/mysql to parser (#68) (thanks @wmontgomery)

v2.4.4

29 Aug 15:59
afb6b6d
Compare
Choose a tag to compare
  • Fix identifying queries with lowercase block openers (#63)
  • Fix parsing single END statement (#64)

v2.4.3

26 Aug 15:19
Compare
Choose a tag to compare
  • Fix identifying transaction statements (#60)
  • Fix parsing bigquery control structures (#61)

v2.4.2

10 Aug 18:10
Compare
Choose a tag to compare
  • Fix identifying DECLARE statements for bigquery (#58)

v2.4.1

05 Aug 16:00
Compare
Choose a tag to compare
  • Allow OR REPLACE syntax in generic dialect

v2.4.0

05 Aug 15:32
Compare
Choose a tag to compare
  • Fix identifying psql parameters followed by comma (#56)
  • Add support for CREATE/DROP/ALTER PROCEDURE statements (#57) (thanks @nicolasgarnil)
  • Add support for bigquery dialect (#57) (thanks @nicolasgarnil)

v2.3.0

22 Jun 02:10
Compare
Choose a tag to compare

Features

  • Support passing oracle for the dialect option
  • Support anonymous blocks for new Oracle dialect

v2.2.4

21 Nov 16:18
Compare
Choose a tag to compare

Bugfixes

  • Identify all invalid statements as unknown when not in strict mode