3499 Commits
Author SHA1 Message Date
renovate[bot] 4e94efb6d7 Merge pull request #2089 from mermaid-js/renovate/mermaid-packages
fix(deps): update dependency mermaid to ^12.3.0
2026-11-04 03:37:41 +00:00
renovate[bot] 5d6084f9c5 fix(deps): update dependency mermaid to ^12.3.0 2026-11-04 00:05:48 +00:00
renovate[bot] f331e2cc86 Merge pull request #2088 from mermaid-js/renovate/patch-all-minor-patch
chore(deps): update all non-major dependencies (patch)
2026-11-02 06:53:22 +00:00
renovate[bot] 91d1c91e21 chore(deps): update all non-major dependencies 2026-11-02 02:59:31 +00:00
renovate[bot] b54ef0beb3 Merge pull request #2084 from mermaid-js/renovate/patch-all-minor-patch
fix(deps): update all non-major dependencies (patch)
2026-10-26 06:58:07 +00:00
renovate[bot] 1a8e234073 fix(deps): update all non-major dependencies 2026-10-26 02:52:19 +00:00
renovate[bot] eb4141dd51 Merge pull request #2081 from mermaid-js/renovate/npm-vite-vulnerability
chore(deps): update dependency vite to v8.1.6 [security]
2026-10-21 21:28:42 +00:00
renovate[bot] 3567fc880f chore(deps): update dependency vite to v8.1.6 [security] 2026-10-21 16:33:14 +00:00
renovate[bot] ddd7c8ea27 Merge pull request #2077 from mermaid-js/renovate/patch-all-minor-patch
chore(deps): update all non-major dependencies (patch)
2026-10-19 07:24:56 +00:00
renovate[bot] f565dce45a chore(deps): update all non-major dependencies 2026-10-19 02:46:39 +00:00
Sidharth Vinod dd95c03285 Merge pull request #2072 from mermaid-js/ccr-5b011d0a-r7jqek
fix(deps): update mermaid to v12.2.0
2026-10-13 19:41:32 +07:00
Claude 1dd7c86f63 fix(deps): update mermaid to v12.2.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BBLKuRzQc8HDMkbp6dzMG8
2026-10-13 11:16:10 +00:00
renovate[bot] d46f60bc0f Merge pull request #2069 from mermaid-js/renovate/patch-all-minor-patch
fix(deps): update all non-major dependencies (patch)
2026-10-12 04:21:56 +00:00
renovate[bot] 3b396e4174 fix(deps): update all non-major dependencies 2026-10-12 00:21:48 +00:00
Sidharth Vinod 86112a244a Merge pull request #2067 from knsv-bot/feat/llms-txt
feat: add llms.txt
2026-10-09 21:50:55 +07:00
Knut SveidqvistandClaude Opus 5.5 f295c9b218 fix: drop mermaid.ai/live mention from llms.txt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 16:29:05 +02:00
Knut SveidqvistandClaude Opus 5.5 a03dd67b43 feat: add llms.txt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 16:16:06 +02:00
renovate[bot] 6a612aa996 Merge pull request #2060 from mermaid-js/renovate/mermaid-packages
fix(deps): update dependency mermaid to ^12.1.0
2026-10-05 08:22:19 +00:00
renovate[bot] 056bf65cb3 fix(deps): update dependency mermaid to ^12.1.0 2026-10-05 04:26:49 +00:00
renovate[bot] f83812b4bf Merge pull request #2062 from mermaid-js/renovate/patch-all-minor-patch
chore(deps): update all non-major dependencies (patch)
2026-10-05 04:21:25 +00:00
renovate[bot] 888b129539 chore(deps): update all non-major dependencies 2026-10-05 00:22:07 +00:00
renovate[bot] b3c0ebd325 Merge pull request #2049 from mermaid-js/renovate/patch-all-minor-patch
fix(deps): update all non-major dependencies (patch)
2026-10-01 18:43:43 +00:00
renovate[bot] 078361c979 fix(deps): update all non-major dependencies 2026-10-01 15:55:12 +00:00
Sidharth Vinod 5db1112e6a Merge pull request #2058 from mermaid-js/sidv/docker-native-build
ci: Build the Docker image's static site natively instead of under QEMU
2026-09-30 07:24:33 +02:00
Sidharth VinodandClaude Opus 5.5 5eedbbecfa ci: Build the Docker image's static site natively instead of under QEMU
The multi-platform Docker build ran pnpm install and pnpm build for
linux/arm64 under QEMU emulation. QEMU intermittently crashes there
("qemu: uncaught target signal 4 (Illegal instruction)") or stalls, and
buildkit then waits until GitHub cancels the job at 6 hours: 16
cancelled runs in September, including a develop push.

The build output is a static site, identical on every architecture, so
the node stages now run on $BUILDPLATFORM and only the nginx stage
(COPY only) is built per architecture. Also caps the job at 30 minutes
so any future hang fails fast.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 10:51:35 +05:30
Sidharth Vinod 55958daa4a Merge pull request #2055 from mermaid-js/sidv/fix-docs-1955
fix: Link Docs button to the right page for each diagram type (#1955)
2026-09-30 07:01:06 +02:00
Sidharth VinodandClaude Opus 5.5 7cb51a1d4f feat: Link docs for the diagram types added in mermaid 11.6–12
Adds docs paths for agentflow, cynefin, eventmodeling, ishikawa, radar,
the four railroad variants, swimlane, treeView, usecase, venn and
wardley, taken from packages/mermaid/src/docs/syntax in the mermaid repo
and checked against the published pages (config anchors included).

A new test parses every @mermaid-js/examples sample and fails when a
detected diagram type has no docs entry, so the next new type is caught
on the dependency bump instead of silently linking to the docs home.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 10:29:49 +05:30
Sidharth VinodandClaude Opus 5.5 ff0c822bd0 fix: Link Docs button to the right page for each diagram type (#1955)
- Resolve the docs base so a bare mermaid.ai origin maps to
  mermaid.ai/open-source instead of a missing page.
- Add a diagram-type catalog (diagramTypes.ts) keyed by mermaid's
  detector ids that owns docs paths, visual-edit support and
  external-service support. Replaces standardizeDiagramType, the
  component-local docMap and the visual-edit set.
- Fixes class diagrams falling back to the docs home page (the detector
  id was normalized to 'classDiagram', which the docMap didn't have) and
  sequence diagrams never offering visual edit ('sequence' vs
  'sequenceDiagram').

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 01:36:46 +05:30
Sidharth Vinod 1ab7e2e074 Merge pull request #2045 from mermaid-js/sidv/remove-playground-share
feat: remove the retired Mermaid Chart Playground from the Share dialog
2026-09-22 13:43:11 +05:30
Sidharth VinodandClaude Fable 5.1 db83b992c6 feat: remove the retired Mermaid Chart Playground from the Share dialog
The playground has been retired, so the Share dialog no longer offers a
link to it and only lists the Live Editor link and the embed section.
The now-unused "share" analytics medium goes with it; the playground URL
itself stays until the main menu entry is removed separately.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-22 13:06:37 +05:30
Sidharth Vinod 408462ad04 Merge pull request #2039 from Hashim1999164/fix/docker-expose-8080
Advertise Docker image port 8080 to match nginx
2026-09-21 22:10:06 +05:30
Sidharth Vinod 44087b7430 Update Dockerfile 2026-09-21 09:39:51 -07:00
Sidharth Vinod 11141860ee Merge pull request #2043 from dav1tj/feat/contact-sales-button
feat: add Contact sales button to mermaid.live header (#6296)
2026-09-21 22:09:12 +05:30
Sidharth Vinod b3eb06863c Update src/routes/(app)/edit/+page.svelte 2026-09-21 09:31:45 -07:00
Davit Jangavadze 1acdb537bd fix: address review feedback on Contact sales button 2026-09-21 20:28:14 +04:00
Davit Jangavadze ed7da4df34 feat: add Contact sales button to mermaid.live header (#6296) 2026-09-21 20:16:38 +04:00
renovate[bot] 77f9a7c32d Merge pull request #2042 from mermaid-js/renovate/patch-all-minor-patch
fix(deps): update all non-major dependencies (patch)
2026-09-21 04:57:17 +00:00
renovate[bot] d2e3ebed79 fix(deps): update all non-major dependencies 2026-09-21 01:25:39 +00:00
Hashim Khan 7fd2c599d9 Merge branch 'develop' into fix/docker-expose-8080 2026-09-20 01:18:30 +05:00
renovate[bot] 8754416d84 Merge pull request #2040 from mermaid-js/renovate/patch-mermaid-packages
fix(deps): update mermaid packages to ^1.0.1
2026-09-19 02:54:23 +00:00
renovate[bot] b800f21a4c fix(deps): update mermaid packages to ^1.0.1 2026-09-18 21:24:34 +00:00
Hashim1999164 1502486943 fix: advertise container port 8080 in the nginx image
The mermaid stage inherits EXPOSE 80 from official nginx while nginx.conf
listens on 8080. Advertise 8080 so inspect and publish match the real
listen port.
2026-09-18 20:09:49 +05:00
Sidharth Vinod 66a4516adf Merge pull request #2029 from mermaid-js/sidv/update-mermaid-12
chore: update to mermaid v12 and derive the diagram theme from its defaults
2026-09-14 23:55:29 +05:30
Sidharth Vinod ad88d1cbb2 Merge remote-tracking branch 'origin/develop' into sidv/update-mermaid-12
* origin/develop:
  chore(deps): update all non-major dependencies
  fix(deps): update all non-major dependencies
  chore(deps): update dependency vitest to v4.1.11 [security]

# Conflicts:
#	package.json
#	pnpm-lock.yaml
2026-09-14 23:49:31 +05:30
renovate[bot] 4036e45fd6 Merge pull request #2033 from mermaid-js/renovate/patch-all-minor-patch
chore(deps): update all non-major dependencies (patch)
2026-09-14 05:04:06 +00:00
renovate[bot] 1971f095af chore(deps): update all non-major dependencies 2026-09-14 02:37:29 +00:00
renovate[bot] 79b139cf0e Merge pull request #2004 from mermaid-js/renovate/patch-all-minor-patch
fix(deps): update all non-major dependencies (patch)
2026-09-11 04:40:52 +00:00
renovate[bot] 24bfeb8d9e fix(deps): update all non-major dependencies 2026-09-11 00:23:54 +00:00
renovate[bot] f351b22513 Merge pull request #2032 from mermaid-js/renovate/npm-vitest-vulnerability
chore(deps): update dependency vitest to v4.1.11 [security]
2026-09-11 00:16:11 +00:00
Sidharth VinodandClaude Fable 5.1 f87e6429dd feat: keep the diagram theme in step with the diagram type and site mode
Instead of leaving the config empty, the editor now manages the theme: after every validation and on site light/dark changes, syncManagedTheme sets it to the diagram type's own mermaid default (the config section's theme, e.g. redux-color for flowcharts, else the global default) or, in dark mode, the redux -dark variant (redux-dark-color) or dark.

Only editor-set themes are replaced: a missing theme, the global default, a section default or any of their dark variants (isManagedTheme). A theme the user chose, such as forest, is never touched.

Detector ids that do not match their config section (flowchart-v2, flowchart-elk, classDiagram, stateDiagram, xychart, railroadAbnf/Ebnf/Peg) are aliased in mermaid.ts; ids without a section (wardley, zenuml) use the global default.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-11 00:39:12 +05:30