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
Also widens core's optional katex peer to ^0.16.0 || ^0.17.0 — the
old ^0.16.0 range excluded the 0.17 line the repo itself tests
against, giving npm consumers on katex 0.17 spurious ERESOLVE
conflicts — and syncs the READMEs' Mantine peer tables to ^9.0.0.
|`react` / `react-dom`| both packages |`>=19.0.0`|
89
+
|`katex`|`core` (optional — only if you import its CSS) |`^0.16.0 \|\| ^0.17.0`|
90
+
|`@mantine/core`|`mantine`|`^9.0.0`|
91
+
|`@mantine/code-highlight`|`mantine`|`^9.0.0`|
92
+
|`highlight.js`|`mantine`|`^11.11.1`|
93
93
94
94
> `katex` is an **optional peer**. It ships transitively via `rehype-katex`, so hoisted installers (npm, yarn classic, default pnpm) resolve `'katex/dist/katex.min.css'` automatically. Strict-isolation installers (yarn PnP, `pnpm --node-linker=isolated`) must install it explicitly. Skip this only if you never render math.
95
95
@@ -672,7 +672,7 @@ Issues and pull requests are welcome. For non-trivial changes, please open an is
672
672
673
673
Reporting a bug helps most when it includes:
674
674
675
-
- The package and version (`@ai-react-markdown/core@1.4.9` …)
675
+
- The package and version (`@ai-react-markdown/core@1.5.0` …)
676
676
- The relevant `<AIMarkdown>` / `<MantineAIMarkdown>` props
677
677
- A minimal markdown sample that reproduces the issue
678
678
- For streaming-related bugs: the chunk sequence (one string per chunk)
Copy file name to clipboardExpand all lines: docs/release-highlights.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,15 @@ A distilled, human-readable summary of what's notable in each version — extrac
6
6
7
7
---
8
8
9
+
## 1.5.x — Mantine 9
10
+
11
+
### 1.5.0 — `@ai-react-markdown/mantine` moves to Mantine 9
12
+
13
+
-`@ai-react-markdown/mantine` now requires `@mantine/core` and `@mantine/code-highlight``^9.0.0` as peers (tested against 9.4.1). No API changes on our side — the package's surface survives every Mantine 9 breaking change untouched. Consumers inherit Mantine 9's defaults: `md` (8px) default radius, solid light-variant colors (Mantine's `v8CssVariablesResolver` restores the 8.x look), and a React 19.2 floor.
14
+
- If you install `@mantine/hooks` yourself, note that `@mantine/core@9` pins its hooks peer to the exact matching version — keep the three `@mantine/*` packages on one version.
15
+
- Core is unchanged in behavior. One internal type adaptation for `@types/hast` ≥3.0.5: the aggregated footnote footer's `<li>` numbering is now stored as a string in hast (`value: "3"` instead of `value: 3`) — the rendered DOM is byte-identical.
16
+
- Core's optional `katex` peer widens to `^0.16.0 || ^0.17.0`. The range previously excluded 0.17 (a `^0.16.0` range does not match 0.17 under 0.x semver), so npm users on katex 0.17 hit spurious `ERESOLVE` conflicts — even though the library is continuously tested against 0.17.
17
+
9
18
## 1.4.x — Customization surface hardening
10
19
11
20
The 1.4 line opened up the customization surface (URL sanitization, document namespacing, design tokens) and put guardrails around it so consumers can extend safely.
Copy file name to clipboardExpand all lines: packages/mantine/package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@ai-react-markdown/mantine",
3
-
"version": "1.4.9",
3
+
"version": "1.5.0",
4
4
"description": "Mantine UI integration for ai-react-markdown — themed typography, syntax highlighting via @mantine/code-highlight, Mermaid diagrams, and automatic color scheme detection.",
0 commit comments