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..96f6608 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # 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). +* 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 + +* 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",