You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d75ae97
Browse filesBrowse the repository at this point in the historyBrowse files
fix(plugin-audit): keep ADR-0139's anchored names on the functions that carry those roles; pin membership over a prefix
computeWithheldUpdateFilter keeps its name as the withheld-row predicate
builder, and isWithheldOnlyUpdate is the update half over changed_fields,
called by keptRowsOfParent. A served field whose name is a prefix of a
withheld one keeps no withheld-only update row.
Claude-Session: https://claude.ai/code/session_01TyhsxCqpTkk1U5GLD1JETy
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/23731-activity-changed-fields.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,4 +22,4 @@ The withheld-row rule is now a WHERE over those two columns, one branch per pare
22
22
23
23
The parent-field query guard covers both columns as it covers `metadata`: a reader withheld any field of the parent is refused a filter, sort, group or aggregate over `changed_fields` or `milestone_key` (`PERMISSION_DENIED` / 403).
24
24
25
-
`@objectstack/plugin-audit` exports the backfill, `backfillActivityChangedFields` (with `ACTIVITY_BACKFILL_PAGE_SIZE` and its report and engine types), and the planner, `planActivityStamp` (with `ACTIVITY_CHANGED_FIELDS_COLUMN`, `ACTIVITY_MILESTONE_KEY_COLUMN` and `ActivityStamp`). `computeWithheldUpdateFilter`, `isWithheldOnlyUpdate`, `isWithheldMilestone` and `isWithheldRow` were module-internal (never exported from the package)and are replaced by `computeWithheldRowFilter`and `keptRowsOfParent`.
25
+
`@objectstack/plugin-audit` exports the backfill, `backfillActivityChangedFields` (with `ACTIVITY_BACKFILL_PAGE_SIZE` and its report and engine types), and the planner, `planActivityStamp` (with `ACTIVITY_CHANGED_FIELDS_COLUMN`, `ACTIVITY_MILESTONE_KEY_COLUMN` and `ActivityStamp`). Inside the module (none of it is exported from the package), `computeWithheldUpdateFilter` keeps its name and now builds the predicate, `isWithheldOnlyUpdate` keeps its name as the update half over `changed_fields`, and `isWithheldMilestone` / `isWithheldRow` are gone with the pre-scan they judged for.
0 commit comments