@ai-matrx/content-ir 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.0
4
+
5
+ ### `/source`: the markdown text helpers move in from matrx-frontend (chat-package-move P14)
6
+
7
+ - New on `@ai-matrx/content-ir/source`, unchanged in behavior: `unwrapCodeSpans`, `removeCodeSpans`,
8
+ `replaceFences`, `soleFence`; `markdownToPlainText`, `mathToReadable`, `unwrapKindEnvelopes`; `cleanMarkdown`;
9
+ `FENCE_META_KEY`, `splitFenceInfo`, `parseFenceMeta`, `parseLineRanges` (+ `FenceInfo`, `FenceMeta`);
10
+ `DIRECTIVE_CONTAINER_OPEN`, `DirectiveContainerTracker`; `TITLED_IMAGE_LINE`; `isInsideInlineCode`,
11
+ `indexOutsideInlineCode`, `hasUnclosedBacktickRun`; `initialXmlBalance`, `findBalancedXmlClose`
12
+ (+ `XmlBalanceState`, `XmlBalanceOptions`); `findWholeTableStart`, `startsLikeTableRow`,
13
+ `isGrowingDelimiterRow`, `trailingTableStart`.
14
+ - `splitFenceInfo` omits `language` / `meta` when empty instead of setting them to `undefined`.
15
+
16
+ ### Consumer action
17
+
18
+ - matrx-frontend: import these from `@ai-matrx/content-ir/source` (the app's old modules re-export or are gone).
19
+
20
+ ## 0.20.1
21
+
22
+ ### `humanizeIdentifier`: already-human text, plurals, null
23
+
24
+ - Text that is already words (whitespace, no `_`) comes back as written: `"Customer's iPhone model"` and
25
+ `"Version 2.0"` are no longer split and re-cased; only a lowercase first letter is capitalized.
26
+ - A plural acronym stays whole: `userIDs` / `user_ids` → "User IDs" (was "User I Ds" / "User Ids").
27
+ - `null` / `undefined` return `""` instead of throwing.
28
+ - Parity corpus rows added; the Python twin is now `matrx_utils.text_case.humanize_identifier`.
29
+
30
+ ### Consumer action
31
+
32
+ - None required.
33
+
3
34
 
4
35
  ## 0.20.0
5
36