# Changelog

## Score

- CAI 53 → 49 (-3.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 57 → 42 (-14.9)
- Architecture 94 → 96 (+2.7)
- Maturity 59 → 63 (+4.2)
- Readiness 66 → 73 (+6.5)
- Security 40 → 38 (-1.7)
- Domain Modelling 100 → 100 (+0.0)
- Performance 85 → 85 (+0.0)

## Resolved (232)

- Analyser::analyse (cognitive 70) (crates/pgls_analyser/src/lib.rs)
- Analyser::analyse (cyclomatic 30) (crates/pgls_analyser/src/lib.rs)
- Change coupling: columns.rs ↔ sanitization.rs (crates/pgls_completions/src/providers/columns.rs)
- Change-coupling hub: server.rs → mod.rs, database.rs, text_document.rs, client.rs (crates/pgls_workspace/src/workspace/server.rs)
- ClassTooLong: WorkspaceServer (crates/pgls_workspace/src/workspace/server.rs)
- Duplicated block (10 lines × 2) (crates/pgls_analyser/src/lint/correctness/ban_duplicate_column_assignments.rs)
- Duplicated block (10 lines × 2) (crates/pgls_analyser/src/lint/safety/add_serial_column.rs)
- Duplicated block (10 lines × 2) (crates/pgls_catalog/src/catalog/overlay.rs)
- Duplicated block (10 lines × 2) (crates/pgls_catalog/src/resolve/mod.rs)
- Duplicated block (10 lines × 2) (crates/pgls_catalog/src/resolve/nodes/delete_stmt.rs)
- Duplicated block (10 lines × 2) (crates/pgls_diagnostics/src/display/frame.rs)
- Duplicated block (10 lines × 2) (crates/pgls_pretty_print/src/nodes/delete_stmt.rs)
- Duplicated block (10 lines × 2) (crates/pgls_pretty_print/src/nodes/json_func_expr.rs)
- Duplicated block (10 lines × 2) (crates/pgls_pretty_print/src/nodes/range_table_sample.rs)
- Duplicated block (10 lines × 2) (crates/pgls_pretty_print/src/nodes/window_clause.rs)
- Duplicated block (10 lines × 3) (crates/pgls_pretty_print/src/nodes/alter_domain_stmt.rs)
- Duplicated block (10 lines × 3) (crates/pgls_pretty_print/src/nodes/alter_owner_stmt.rs)
- Duplicated block (10 lines × 3) (crates/pgls_pretty_print/src/nodes/json_array_constructor.rs)
- Duplicated block (10 lines × 4) (crates/pgls_pretty_print/src/nodes/alter_object_schema_stmt.rs)
- Duplicated block (10 lines × 4) (crates/pgls_pretty_print/src/nodes/create_extension_stmt.rs)
- …and 212 more

## New (373)

- Analyser::analyse_until (cognitive 18) (crates/pgls_analyser/src/lib.rs)
- Analyser::analyse_until (cyclomatic 16) (crates/pgls_analyser/src/lib.rs)
- Catalog::drop_column_indexes (cognitive 24) (crates/pgls_catalog/src/catalog/overlay.rs)
- Catalog::move_relation (cognitive 18) (crates/pgls_catalog/src/catalog/overlay.rs)
- Change coupling: columns.rs ↔ grammar.js (crates/pgls_completions/src/providers/columns.rs)
- Change coupling: document.rs ↔ tree.rs (crates/pgls_workspace/src/workspace/server/document.rs)
- Change coupling: mod.rs ↔ hovered_node.rs (crates/pgls_catalog/src/snapshot/mod.rs)
- Change-coupling hub: server.rs → mod.rs, database.rs, lib.rs, text_document.rs, lib.rs, client.rs, parse.rs, tree.rs (crates/pgls_workspace/src/workspace/server.rs)
- Duplicated block (10 lines × 2) (crates/pgls_catalog/src/catalog/overlay.rs)
- Duplicated block (10 lines × 2) (crates/pgls_diagnostics/src/display/frame.rs)
- Duplicated block (10 lines × 2) (crates/pgls_pretty_print/src/nodes/alter_type_stmt.rs)
- Duplicated block (10 lines × 2) (crates/pgls_pretty_print/src/nodes/clauses/set_clause.rs)
- Duplicated block (10 lines × 2) (crates/pgls_pretty_print/src/nodes/create_publication_stmt.rs)
- Duplicated block (10 lines × 2) (crates/pgls_pretty_print/src/nodes/type_name.rs)
- Duplicated block (10 lines × 3) (crates/pgls_pretty_print/src/nodes/alter_domain_stmt.rs)
- Duplicated block (10–11 lines × 2) (crates/pgls_pretty_print/src/nodes/range_function.rs)
- Duplicated block (11 lines × 2) (crates/pgls_configuration_macros/src/partial_derive/attrs.rs)
- Duplicated block (11 lines × 2) (crates/pgls_diagnostics_macros/src/generate.rs)
- Duplicated block (11 lines × 2) (crates/pgls_pretty_print/src/nodes/alter_domain_stmt.rs)
- Duplicated block (11 lines × 2) (crates/pgls_pretty_print/src/nodes/clauses/options.rs)
- …and 353 more

## Changes since last survey

- 149 commits — 78 feature/other, 71 fixes

## By area

- crates/pgls_analyser — 33 commits
- crates/pgls_catalog — 27 commits
- crates/pgls_workspace — 24 commits
- crates/pgls_pretty_print — 15 commits
- crates/pgls_completions — 9 commits
- crates/pgls_cli — 8 commits
- crates/pgls_lsp — 6 commits
- (root) — 4 commits
- crates/pgls_hover — 4 commits
- crates/pgls_line_index — 3 commits
- crates/pgls_diagnostics — 2 commits
- crates/pgls_fs — 2 commits
- crates/pgls_migrations — 2 commits
- crates/pgls_query — 2 commits
- crates/pgls_treesitter_grammar — 2 commits
- .github/workflows — 1 commit
- crates/pgls_query_ext — 1 commit
- crates/pgls_semantic_tokens — 1 commit
- crates/pgls_statement_splitter — 1 commit
- crates/pgls_suppressions — 1 commit

## Notable commits

- fix: chore: fix just test, add just check, setup and lint-actions (#1043)
- fix: fix(analyser): a few rule edge cases found while sharing their helpers (#1158)
- fix: fix(analyser): add a semicolon before the COMMIT of banUncommittedTransaction when the last statement has none (#1062)
- fix: fix(analyser): answer volatility, versions and type changes from the catalog (#1156)
- fix: fix(analyser): check fixes of statements with placeholders with parameters (#1037)
- fix: fix(analyser): check fixes that edit after their statement on the file (#1044)
- fix: fix(analyser): don't report a table rewrite for virtual generated columns (#1111)
- fix: fix(analyser): don't report a table rewrite when changing the type of a virtual generated column (#1116)
- fix: fix(analyser): don't report generated, identity and serial columns as required (#1115)
- fix: fix(analyser): don't report locking problems on tables created in the same transaction (#1157)
- fix: fix(analyser): don't suggest USING INDEX for temporal keys (#1114)
- fix: fix(analyser): handle NOT ENFORCED foreign keys and ALTER CONSTRAINT ... ENFORCED (#1112)
- fix: fix(analyser): lint rule edge cases (#970)
- fix: fix(analyser): move the spans of diagnostic details into the file (#1049)
- fix: fix(analyser): one model of transaction blocks for the transaction rules (#1153)
- fix: fix(analyser): point at the duplicate name of view and COPY column lists (#1047)
- fix: fix(analyser): report REINDEX INDEX on a partitioned index in a transaction (#1020)
- fix: fix(analyser): skip CREATE TABLE AS IF NOT EXISTS of a relation that may exist in banDuplicateColumnAssignments (#1079)
- fix: fix(analyser): take lock levels from a port of AlterTableGetLockLevel (#1155)
- fix: fix(catalog): add the columns of SEARCH and CYCLE to a CTE (#1019)
- …and 129 more
