Skip to content

Releases: modeldba/sql-surveyor

1.4.1

20 Jun 01:57
Compare
Choose a tag to compare
  • Switch @ import to use relative path
  • Fix logging error during initial SQL parse when logging option is disabled

1.5.0-alpha.0

13 Jun 01:47
Compare
Choose a tag to compare
1.5.0-alpha.0 Pre-release
Pre-release

Initial implementation of:

  • Stored procedure execution parsing for PL/SQL
  • Control flow statement parsing for PL/SQL

1.4.0

28 Mar 20:08
Compare
Choose a tag to compare
  • Updated dependencies
    • Includes improved T-SQL, PL/SQL and PL/pgSQL parsing

1.3.0

25 Jan 23:36
Compare
Choose a tag to compare
  • Adds ability to control how errors are handled while surveying a SQL script. Optionally choose between logging errors or throwing errors (or neither). By default SQL Surveyor will throw errors. These options are specified during SQL Surveyor instance creation (second constructor argument).
  • Can now change the SQL dialect for a SQLSurveyor instance that has already been instantiated using the setDialect method.

1.2.2

19 Dec 22:12
Compare
Choose a tag to compare

Fixes #2.

  • Fix handling of "tableName AS alias" syntax for PL/pgSQL
  • Improve handling of "tableName AS alias" syntax for MySQL

1.2.1

13 Dec 22:02
Compare
Choose a tag to compare
  • Detect referenced columns within subqueries in a SELECT list
  • Fix aggregated output column detection in T-SQL
  • Fix table location identification inside aggregation functions for MySQL, PL/SQL, and PL/pgSQL

1.2.0

12 Dec 03:11
Compare
Choose a tag to compare
  • Add type attribute to the Token class. Tokens are now identified as a comment, identifier, keyword, literal or operator.

1.1.1

31 Oct 02:39
Compare
Choose a tag to compare

Fix column alias parsing for CASE statements

1.1.0

30 Oct 22:53
Compare
Choose a tag to compare
  • Add support for column aliases in OutputColumns
  • Improve consistency when parsing table names or aliases from output columns
  • Attempt to finish parsing if an error occurs
  • Fix bug where attempting to retrieve a subquery at a location between two other subqueries (would return the next subquery)

1.0.0

22 Oct 02:50
Compare
Choose a tag to compare
Add license