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 fa487d2
Browse filesBrowse the repository at this point in the historyBrowse files
fix(spec): name the default-off field types and answer trackChanges/feedTracked with fieldHistory
The shared enable.trash / versioning prescription said field history needs
no key; a media or structured-JSON field shows values only with
fieldHistory: true, so the sentence now says so and the cross-check pins
the opt-in. The trackChanges and feedTracked field spellings renamed onto
trackHistory, whose false turns nothing off; they now take the tracked
answer (both stay refused).
Claude-Session: https://claude.ai/code/session_01L9qibybKQ9ZAg8zN9fVBEN
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/36776-retired-key-field-history-prescription.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
@@ -9,6 +9,6 @@ Metadata-protocol: none
9
9
10
10
Four retired-key refusals told an author to use per-field `trackHistory` for field history. On a field, `trackHistory` only opts a media or structured-JSON type into old → new values, and `false` turns nothing off; on the object, `enable.trackHistory` opens the history ledger, not the values. So an author following the refusal set a flag that did not do what it said.
11
11
12
-
The `enable.trash` and `versioning` refusals now say that field history needs no key: a changed field's old → new values show on the record activity timeline by default,`enable.fieldHistory: false` turns them off for the object, and a field opts out with its own `fieldHistory: false`. A `lifecycle` policy stays the answer for retention. The field-key refusals for `audit` and `auditTrail` say to delete the key, because values already show by default, and name `fieldHistory: false` as the field's off switch (`fieldHistory: true` opts a media or structured-JSON field in).
12
+
The `enable.trash` and `versioning` refusals now say that field history is on by default: a changed field's old → new values show on the record activity timeline, except a media or structured-JSON field, which opts in with `fieldHistory: true`;`enable.fieldHistory: false` turns them off for the object, and a field opts out with its own `fieldHistory: false`. A `lifecycle` policy stays the answer for retention. The field-key refusals for `audit` and `auditTrail` say to delete the key, because values already show by default, and name `fieldHistory: false` as the field's off switch (`fieldHistory: true` opts a media or structured-JSON field in).
13
13
14
14
Wording only: every key that was refused is still refused, and nothing is newly refused. Nothing to migrate.
+'name it in a field group of the parent (`fieldGroups[].relatedList`). '
1704
1704
+'Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.';
1705
1705
1706
+
/**
1707
+
* The prose answer for a field-level spelling of "track this field's
1708
+
* history" that is not a field key: it names the `fieldHistory` model
0 commit comments