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
v0.7.2 — runtime support for deprecated: true itemDefs (Plan 50 Phase 3)
- HDSItemDef.isDeprecated getter
- HDSModel.itemsDefs.getAllActive() filter (getAll/forKey/forEvent unchanged so readers still resolve old events)
- 4 new tests in [MDPX] block
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,17 @@
2
2
3
3
## [Unreleased]
4
4
5
+
## [0.7.2] - 2026-04-28
6
+
7
+
### Added — runtime support for `deprecated: true` itemDefs (Plan 50)
8
+
-`HDSItemDef.isDeprecated` getter — `true` when the underlying itemDef has `deprecated: true` in pack.json (set in `data-model` ≥ 1.5.0).
9
+
-`HDSModel.itemsDefs.getAllActive()` — returns every itemDef except deprecated ones. Use this for any UI that lets a user create new data points (form builder item browsers, item picker sheets, the data-model browser default listing).
10
+
-`getAll()`, `forKey()`, `forEvent()` are unchanged: they still return deprecated items so existing events remain readable / renderable.
11
+
12
+
Tests: `[MDPX]` block in `tests/hdsModel.test.js` — covers the getter on the three currently-flagged items (`body-vulva-mucus-stretch`, `body-vulva-wetness-feeling`, `fertility-cycles-charted-count`), the contrast with non-deprecated items, and the `getAllActive` vs `getAll` invariant.
13
+
14
+
Contract documented in `data-model/AGENTS.md § "deprecated: true on items"`.
15
+
5
16
## [0.7.1] - 2026-04-28
6
17
7
18
### Changed — `package.json.exports.import` now points at TS source (Plan 49)
0 commit comments