From 6edb8ab1c36c2bd282d8224f34106d694e23eaec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 4 Oct 2026 18:28:12 +0000 Subject: [PATCH 1/2] chore(main): release 1.0.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 16 ++++++++++++++++ package.json | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 816df2d..37fcefa 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.3.1" + ".": "1.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index b61b7b4..ae4097d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [1.0.0](https://github.com/bertrandgressier/tanstack-markdown-math/compare/v0.3.1...v1.0.0) (2026-10-04) + + +### ⚠ BREAKING CHANGES + +* peer dependency minimum raised to @tanstack/markdown 1.0.0. How to migrate: run `pnpm add @tanstack/markdown@^1 tanstack-markdown-math@^1` (or the npm/yarn equivalent). + +### Features + +* adopt @tanstack/markdown 1.0 inlineParser API ([#10](https://github.com/bertrandgressier/tanstack-markdown-math/issues/10)) ([a7f8538](https://github.com/bertrandgressier/tanstack-markdown-math/commit/a7f8538349bc4f267c83025778785328454f13f4)) + + +### Bug Fixes + +* support @tanstack/markdown 1.x ([#9](https://github.com/bertrandgressier/tanstack-markdown-math/issues/9)) ([45e604e](https://github.com/bertrandgressier/tanstack-markdown-math/commit/45e604eaa591a1b3f5ea245f871fb7f541a071a4)) + ## 0.3.1 ### Changes diff --git a/package.json b/package.json index 4627e7d..766725f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tanstack-markdown-math", - "version": "0.3.1", + "version": "1.0.0", "description": "Math extension for @tanstack/markdown with KaTeX rendering", "license": "MIT", "author": "Bertrand GRESSIER", From 4f49ec3fcbd92f94ff75ef8d5f62826d9623bc43 Mon Sep 17 00:00:00 2001 From: Bertrand GRESSIER Date: Sun, 4 Oct 2026 20:29:56 +0200 Subject: [PATCH 2/2] docs(changelog): complete breaking changes list for 1.0.0 --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae4097d..96f6608 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ ### ⚠ BREAKING CHANGES * peer dependency minimum raised to @tanstack/markdown 1.0.0. How to migrate: run `pnpm add @tanstack/markdown@^1 tanstack-markdown-math@^1` (or the npm/yarn equivalent). +* heading slugs change when headings contain inline math. How to migrate: regenerate any stored heading anchors, table-of-contents entries and deep links for headings that contain `$...$`. +* default error output now uses English text and neutral CSS classes (`katex-error-badge` / `katex-error-box`). How to migrate: replace styling that targeted the old Tailwind classes or French strings with CSS for those classes, or pass a custom `render` option to keep your previous markup. +* `protectMath` and `restoreMathChars` are deprecated (still exported). How to migrate: remove `protectMath(content)` calls before parsing; math with `_`, `*` and `\` now works without it. ### Features