Skip to content

chore(deps): bump @tinacms/mdx from 2.1.11 to 2.2.0 - #227

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/tinacms/mdx-2.2.0
Open

chore(deps): bump @tinacms/mdx from 2.1.11 to 2.2.0#227
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/tinacms/mdx-2.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 20, 2026

Copy link
Copy Markdown
Contributor

Bumps @tinacms/mdx from 2.1.11 to 2.2.0.

Release notes

Sourced from @​tinacms/mdx's releases.

@​tinacms/mdx@​2.2.0

Minor Changes

  • #7233 5f14d96 Thanks @​wicksipedia! - Add a dedicated @tinacms/mdx/sanitize-url subpath export containing just the URL-scheme sanitizer, and point tinacms's rich-text renderer (TinaMarkdown / StaticTinaMarkdown) at it instead of the root @tinacms/mdx entry. Previously, importing sanitizeUrl pulled in @tinacms/mdx's full remark/mdast/micromark markdown-parsing bundle (~2MB) into every site's client bundle, even though rich-text rendering only needs the ~15-line sanitizer. The root @tinacms/mdx export of sanitizeUrl is unchanged and still works.

Patch Changes

  • #7431 064b78e Thanks @​wicksipedia! - Serializer errors that a content editor can hit now say what to change.

    The raw markdown editor prints the thrown message verbatim in the field, so these are read by whoever is editing, not only by developers. "Marks inside inline code are not supported" put a Slate term in front of someone who has never met it, and messages naming internal node types did the same.

    Reworded: the two mark-combination errors, the block and inline node errors, and the one raised for a field type that cannot be written. Each now names what to remove. Schema and template errors are unchanged, since a developer hits those on first run and needs the exact term.

  • #7403 a0e0d2e Thanks @​wicksipedia! - parseMDX now normalizes CRLF to LF before parsing. A carriage return used to survive micromark into the value of a text node, so a document authored on Windows carried \r into the editor.

    GFM task list items now keep their checked state through a round trip. parseMDX reads checked onto the li node, and both stringifiers write it back. A ticked checkbox previously came back unticked on save. ListItemElement gains an optional checked?: boolean — set only on task list items.

  • #7427 2860f56 Thanks @​wicksipedia! - Bold, italic and strikethrough now survive a leading or trailing space in the selection. Selecting word and applying bold used to save **word **. CommonMark cannot close emphasis that sits against a space, so the published page showed literal asterisks and the formatting was lost, even though the editor still looked right. The space now sits outside the markers, giving a **word** more.

    Indentation at the start of a line is kept as well. A bare space there is whitespace a Markdown parser may discard, and four of them open an indented code block, so an indented line used to reload without its spaces on the mdx parser and as a code block on the markdown parser. This applies to the first line of a paragraph and to a line broken with Shift+Enter. The leading space is now written as  , so the text comes back the way it was left.

    The fix also covers marks holding only whitespace, empty marks, marks spanning several text nodes, marks inside a link, and combined bold and italic. Whitespace inside a mark, as in **Hello *world*, again**, still round trips unchanged.

  • Updated dependencies [d7a1641, 5050709, 4b7d9b9]:

    • @​tinacms/schema-tools@​2.9.0
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@tinacms/mdx](https://github.com/tinacms/tinacms/tree/HEAD/packages/tina-graphql) from 2.1.11 to 2.2.0.
- [Release notes](https://github.com/tinacms/tinacms/releases)
- [Commits](https://github.com/tinacms/tinacms/commits/@tinacms/mdx@2.2.0/packages/tina-graphql)

---
updated-dependencies:
- dependency-name: "@tinacms/mdx"
  dependency-version: 2.2.0
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants