Skip to content

v0.6.0

Compare
Choose a tag to compare
@chdsbd chdsbd released this 19 Feb 23:53
· 178 commits to master since this release
3c35c26

Added

  • added "debug" option for --dump-ast to print out tree using Rust's Debug formatter (#92)
  • added new rule, "adding-foreign-key-constraint", to provide suggestions for safely adding foreign key constraints (#91)

Changed

  • updated "robust-stmts" suggestions with caveat about IF NOT EXISTS (#95)
  • updated "constraint-missing-not-valid" to warn about adding a constraint as NOT VALID and then using "VALIDATE CONSTRAINT" in the same transaction (#97)
  • updated "prefer-robust-stmts" with exception for using DROP CONSTRAINT IF EXISTS before ADD CONSTRAINT (#99)

Fixed

  • error reporting is more user friendly (#89, #90)