Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
36d87b6
docs: describe new ban-drop rules
t-monaghan Oct 1, 2026
1548e50
feat(linter): add backwards compatibility rules for schema changes
t-monaghan Oct 1, 2026
15d732b
docs: describe new compatibility rules
t-monaghan Oct 1, 2026
5311eab
feat(linter): enable constraint and identity checks by default and sp…
t-monaghan Oct 5, 2026
be665ca
feat(linter): add security compatibility rules
t-monaghan Oct 5, 2026
d14d439
fix(linter): import generated expression rule and test opt-in addition
t-monaghan Oct 5, 2026
2724cfa
feat(linter): cover existing rule statement variants
t-monaghan Oct 5, 2026
53cc8cc
feat: add opt-in compatibility rules for data changes
t-monaghan Oct 5, 2026
9ac7d47
fix(linter): cover additional write restrictions and update snapshots
t-monaghan Oct 5, 2026
aba4b1a
docs: explain application rollback checks and update rule policy
t-monaghan Oct 5, 2026
e83f47e
feat(linter): cover remaining compatibility statement variants
t-monaghan Oct 5, 2026
c48c8c7
fix(linter): check foreign table writes and keep cli test config local
t-monaghan Oct 5, 2026
bf715a4
fix(linter): clarify replica-only firing and enforcement diagnostics
t-monaghan Oct 5, 2026
75f9204
fix(linter): describe generated expression value changes
t-monaghan Oct 5, 2026
113084f
fix(linter): use matches macro for new constraints
t-monaghan Oct 5, 2026
ee79934
fix(linter): cover remaining compatibility statement variants
t-monaghan Oct 5, 2026
f62f049
feat(linter): check aggregate changes and server and extension settings
t-monaghan Oct 5, 2026
d904f9a
test(cli): use default configuration for example output
t-monaghan Oct 5, 2026
0d30628
docs: remove application rollback compatibility guide
t-monaghan Oct 5, 2026
99a1f15
feat(linter): detect added columns and publication changes
t-monaghan Oct 5, 2026
f363bb6
docs: correct rollback rule changelog
t-monaghan Oct 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- linter: default rollback compatibility rules: ban-drop-schema, ban-drop-sequence, ban-drop-domain, ban-drop-constraint, ban-drop-generated-expression, ban-drop-extension, ban-alter-identity, renaming-object, ban-set-schema
- linter: opt-in rollback compatibility rules: ban-alter-generated-expression, ban-drop-index, ban-set-default, ban-disable-trigger, ban-replica-identity, ban-drop-policy, ban-revoke, ban-replace-view-function, ban-create-policy, ban-alter-policy-condition, ban-alter-policy-roles, ban-alter-row-level-security, ban-alter-function-options, ban-alter-view-options, ban-alter-role-options, ban-alter-database-options, ban-alter-system-options, ban-alter-extension, ban-new-write-restriction, ban-add-column, ban-add-enum-value, ban-add-composite-attribute, ban-detach-inheritance, ban-alter-sequence-values

### Changed

- linter: extend adding-not-nullable-field and ban-drop-not-null to domains and foreign tables; ban-drop-default to domains, foreign tables, and views; ban-drop-column and changing-column-type to foreign tables and composite attributes; renaming-column to foreign tables, composite attributes, views, and materialized views
- linter: extend ban-drop-function to aggregates and routines, ban-drop-table to foreign tables, and ban-drop-type to operators, operator classes, operator families, and casts

## v2.67.0 - 2026-10-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion crates/squawk_linter/src/ignore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ alter table t drop column c cascade;
alter table t add column c char;

ALTER TABLE foo
-- squawk-ignore adding-field-with-default,prefer-robust-stmts
-- squawk-ignore adding-field-with-default,prefer-robust-stmts,ban-alter-generated-expression
ADD COLUMN bar numeric GENERATED
ALWAYS AS (bar + baz) STORED;

Expand Down
Loading
Loading