Releases: sbdchd/squawk
Releases · sbdchd/squawk
v0.25.0
support parsing `alter database refresh collation` statements
Fixed
- support parsing
alter database refresh collation
statements (#324)
Fix parsing `alter table set` statements
Fixed
- support parsing
alter table set
statements (#321)
add transaction-nesting. add adding-required-field. change adding-not-nullable-field.
Added
- added
transaction-nesting
rule. Thanks @andrewsmith! (#303) - added
adding-required-field
rule fromadding-not-nullable-field
. Thanks @andrewsmith! (#301)
Changed
- functionality in
adding-not-nullable-field
for adding non-nullable fields was moved intoadding-required-field
. Thanks @andrewsmith! (#301)
only read from stdin when file paths are not provided
Changed
- Only read from stdin when file paths are not provided. (#295)
add ban-drop-table and not-null-constraint. libpg 15. bug fixes
v0.22.0 - 2023-03-25
Added
- added
ban-drop-table
rule. Thanks @borisrozumnuk! (#286) - added
not-null-constraint
rule. Thanks @andrewsmith! (#288)
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
- Upgrade libpg_query from 13 to 15. Thanks @andrewsmith! (#291)
static linking openssl. Better support non-volatile defaults
update prefer-bigint and bug fixes
Added
- added
prefer-bigint-over-int
andprefer-bigint-over-smallint
to replaceprefer-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
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)