Releases: sbdchd/squawk
Releases · sbdchd/squawk
update `adding-field-with-default` documentation
Changed
- differentiate between
VOLATILE
and non-VOLATILE
defaults inadding-field-with-default
documentation (#201)
PG13 parser
v0.8.1
v0.8.0
v0.7.3
v0.7.2
v0.7.1
v0.7.0
Added
- link to website for tty reporter when there are lint errors. (#120)
DROP INDEX
support for "require-concurrent-index-creation" and "prefer-robust-stmts". (#124)- github comment now includes Squawk's version number. (#131)
- new
ban-drop-column
rule (#132)
Changed
- updated "adding-not-null-field" to warn about making a column non-nullable with
NOT NULL
. See the "adding-not-null-field" docs for more information. (#101)
Fixed
- false positive with
prefer-text-field
that wasn't allowingvarchar
without a length specified
v0.6.0
Added
- added "debug" option for
--dump-ast
to print out tree using Rust'sDebug
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
beforeADD CONSTRAINT
(#99)