Skip to content

Releases: sbdchd/squawk

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)

add ban-drop-table and not-null-constraint. libpg 15. bug fixes

25 Mar 22:20
eabd83d
Compare
Choose a tag to compare

v0.22.0 - 2023-03-25

Added

Fixed

  • Fixed building Squawk on platforms where c_char is unsigned. Thanks @ods! (#285)
  • Fixed Squawk compatiblity with Nix. Thanks @andrewsmith! (#287)
  • Fixed regression in parsing union queries. Fixed parsing call statement. (#293)

Changed

static linking openssl. Better support non-volatile defaults

15 Feb 13:46
181babe
Compare
Choose a tag to compare

Fixed

  • Better support non-volatile defaults for adding-field-with-default. (#278)
  • Static link for openssl and glibc. Thanks @tripcher! (#283)

update prefer-bigint and bug fixes

31 Jan 13:37
d224f92
Compare
Choose a tag to compare

Added

  • added prefer-bigint-over-int and prefer-bigint-over-smallint to replace prefer-big-int. Thanks @aldenquimby! (#273)

Fixed

  • Support TableLikeClause in table creation. Thanks @qoelet! (#271)
  • Recognize most DROP statements within a transaction as robust. Thanks @andrewsmith! (#276)

add --assume-in-transaction configuration

26 Jan 13:07
c62770b
Compare
Choose a tag to compare

Added

  • added --assume-in-transaction flag and configuration option to indicate that each SQL file is wrapped in a transaction by an external tool. Thanks @andrewsmith! (#264)

add prefer-big-int and prefer-identity

22 Jul 13:55
968c04e
Compare
Choose a tag to compare

Added

  • added prefer-big-int rule to prefer 64 bit types over 32 bit types. (#238)
  • added prefer-identity rule to prefer identity columns over serial columns. (#243)