Skip to content

Releases: sbdchd/squawk

support glob matching for paths parameter

12 Jun 23:40
f0dba18
Compare
Choose a tag to compare

Changed

  • provided paths now support glob matching. squawk 'migrations/*.sql' (#352)

v0.29.0

31 May 13:04
d2a8e26
Compare
Choose a tag to compare

Added

  • added --excluded-paths flag and excluded_paths = ["example.sql"] configuration option to ignore paths when searching for files (#350). Thanks @rdaniels6813!

v0.28.0

13 Jan 00:57
6437c3c
Compare
Choose a tag to compare

Changed

  • add exceptions for ban-concurrent-index-creation-in-transaction to handle golang-migrate. Thanks @janrueth! (#339)
  • improve disallowed-unique-constraint to handle alter table...add column... unique. (#337)

v0.27.0

12 Jan 04:41
5e0b0a9
Compare
Choose a tag to compare

Added

  • added ban-concurrent-index-creation-in-transaction rule. Thanks @alixlahuec! (#335)

v0.26.0

13 Dec 01:49
7417733
Compare
Choose a tag to compare

Changed

  • squawk upload-to-github will always leave a pull request comment if files are evaluated. Previously if violations were resolved, stale warnings would be left in a comment. (#330)

v0.25.0

09 Dec 16:57
ddeed02
Compare
Choose a tag to compare

Added

  • added squawk upload-to-github --fail-on-violations flag to exit with error if violations are found (#327). Thanks @wmartins!

support parsing `alter database refresh collation` statements

07 Nov 23:41
fdbb684
Compare
Choose a tag to compare

Fixed

  • support parsing alter database refresh collation statements (#324)

Fix parsing `alter table set` statements

25 Oct 21:59
e6983b4
Compare
Choose a tag to compare

Fixed

  • support parsing alter table set statements (#321)

add transaction-nesting. add adding-required-field. change adding-not-nullable-field.

12 Apr 12:59
84ea5eb
Compare
Choose a tag to compare

Added

Changed

  • functionality in adding-not-nullable-field for adding non-nullable fields was moved into adding-required-field. Thanks @andrewsmith! (#301)

only read from stdin when file paths are not provided

31 Mar 03:39
0a17907
Compare
Choose a tag to compare

Changed

  • Only read from stdin when file paths are not provided. (#295)