Sidharth Vinod and Cursor
d040d8d84a
chore: bump mermaid and related packages to latest
...
Upgrade mermaid 11.15.0, layout-elk 0.2.1, and layout-tidy-tree 0.2.2.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-04 01:07:52 +05:30
Sidharth Vinod and Cursor
c2cd0c0bfc
chore: upgrade Node.js to 24.16.0 LTS
...
Pin CI, Docker, and engines to the current Active LTS and bump @types/node.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 20:44:47 +05:30
Sidharth Vinod and GitHub
2ff56f67bc
Merge pull request #1965 from mermaid-js/sidv/editor-chooser-live-2026
...
Ship editor chooser testB with live_2026 UTM campaign
2026-05-29 16:02:47 +05:30
Sidharth Vinod and Cursor
55d9bd043f
refactor: Inline editor chooser modal content
...
Remove the separate testB component now that the A/B test is over.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-29 15:49:44 +05:30
Sidharth Vinod and Cursor
adf3ddf015
feat: Ship editor chooser testB and use live_2026 UTM campaign
...
End the A/B test by always showing the testB modal, remove unused variant
components and assignment logic, and route CTA links with utm_campaign=live_2026.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-29 15:45:04 +05:30
Sidharth Vinod and GitHub
bfea7dd4db
Merge pull request #1964 from mermaid-js/sidv/close-broken-link-issues
...
chore: Auto-close issues with only "Broken link" in title
2026-05-28 00:42:19 +05:30
Sidharth Vinod and Cursor
7cd24ddcb3
chore: Clarify live editor vs Mermaid syntax issues in auto-close comment
...
Direct syntax error reports to mermaid-js/mermaid and limit this repo to live editor bugs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 00:41:27 +05:30
Sidharth Vinod and Cursor
241f99bacf
chore: Auto-close issues with only "Broken link" in title
...
Add a GitHub Action that closes low-effort issues using the default pre-filled title and prompts reporters to include the failing URL and details.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 00:38:52 +05:30
Sidharth Vinod and GitHub
7b43e33971
Merge pull request #1951 from ZenUml/chore/mermaid-zenuml-0.2.3
...
[codex] bump mermaid-zenuml to 0.2.3
2026-05-18 20:17:21 +05:30
MrCoder
6af70cb44c
chore: bump mermaid-zenuml to 0.2.3
2026-05-14 16:56:18 +10:00
Sidharth Vinod
1fabea49cf
chore: Update mermaid-examples
2026-04-23 14:40:49 +05:30
Sidharth Vinod and GitHub
1bd6355ea8
Merge pull request #1938 from mermaid-js/sidv/editorChooserExperiments
...
feat(MC-4486): Add variations to editor picker
2026-04-23 14:32:44 +05:30
Sidharth Vinod and GitHub
29eb7b01fc
Merge pull request #1939 from mermaid-js/sidv/EnhancedEditButton
...
chore(MC-4489): Add enhanced edit button
2026-04-23 14:16:34 +05:30
Sidharth Vinod
b446c37315
chore: Add enhanced edit button
2026-04-23 13:31:19 +05:30
Sidharth Vinod
031477cda9
fix: Update tagline and layout
2026-04-23 13:05:45 +05:30
Sidharth Vinod
a9becf5509
fix: copy
2026-04-22 22:37:01 +05:30
Sidharth Vinod
79c4b3bf55
chore: Add noopener
2026-04-22 21:04:00 +05:30
Sidharth Vinod
a61a69e477
fix: Show picker on netlify
2026-04-22 18:58:31 +05:30
Sidharth Vinod
1daac45c87
feat(MC-4486): Add variations to editor picker
2026-04-22 18:52:02 +05:30
Alois Klink and GitHub
e3562168ad
Merge pull request #1929 from mermaid-js/renovate/mermaid-packages
...
fix(deps): update dependency mermaid to ^11.14.0
2026-04-10 12:42:42 +00:00
renovate[bot] and GitHub
7fa7a48325
fix(deps): update dependency mermaid to ^11.14.0
2026-04-10 12:39:46 +00:00
Alois Klink and GitHub
4925de94a9
Merge commit from fork
...
fix: improve sanitization of mermaid config
2026-04-10 21:35:24 +09:00
Sidharth Vinod
679e444bf1
chore: Remove canonical
2026-04-02 17:34:24 +05:30
Alois Klink
46a7a533ab
fix: copy mermaid config sanitization check
...
Copy the XSS prevention check from the `sanitize` function in mermaid
upstream's `config.ts` file.
See: https://github.com/mermaid-js/mermaid/blob/9745f325cb9e1967640f0e85da193a2f820634f1/packages/mermaid/src/config.ts#L178-L183
2026-04-02 19:00:54 +09:00
Alois Klink
67aacdebe4
fix: sanitize config for __ keys
...
According to upstream, this is supposed to be fore prototype pollution
prevention.
See: https://github.com/mermaid-js/mermaid/blob/9745f325cb9e1967640f0e85da193a2f820634f1/packages/mermaid/src/config.ts#L169-L174
2026-04-02 19:00:54 +09:00
Alois Klink
7e9cdfca73
fix: sanitize all secure keys in config
...
Check and remove all the secure keys in the site Mermaid Config,
not just `securityLevel`. Unfortunately, the logic of Mermaid's
`sanitize` function in `config.ts` is a bit convoluted. For instance,
the `secure` config restricts keys deeply in the object.
See: https://github.com/mermaid-js/mermaid/blob/9745f325cb9e1967640f0e85da193a2f820634f1/packages/mermaid/src/config.ts#L155-L190
2026-04-02 19:00:54 +09:00
Alois Klink
48b9560e8e
fix: sanitize config loaded from gist/config URL
...
Currently, the `config` in the codeState in the hash is sanitized for
unsafe values, however the `?config` URL parameter or configs loaded
from a GitHub Gist are not.
Reported-by: Chai Cheng Xun @QiaoNPC
2026-04-02 18:59:09 +09:00
Sidharth Vinod and GitHub
f9f1e27bc3
Merge pull request #1923 from mermaid-js/sidv/visualEditor
...
feat: Add visual editor button
2026-04-01 22:20:22 +05:30
Sidharth Vinod
62699769d5
fix: Use {} instead of undefined
2026-04-01 22:19:02 +05:30
Sidharth Vinod
5608dc5661
feat: Add visual editor button
2026-04-01 21:50:18 +05:30
Sidharth Vinod and GitHub
29e92a9702
Merge pull request #1917 from mermaid-js/sidv/fixBasePath
...
fix(#1914 ): Resolve base path
2026-04-01 15:13:59 +00:00
Sidharth Vinod
0e0da3b1e9
chore: Reduce Error debounce interval
2026-04-01 20:43:15 +05:30
Sidharth Vinod
d273e1d722
fix: Asset links
2026-03-30 21:30:13 +05:30
Sidharth Vinod
c799dff042
fix( #1914 ): Resolve redirectURL considering base path
2026-03-30 21:24:33 +05:30
Alois Klink
ae7ad1b93e
refactor: move config sanitization into function
...
Moves the code that prompts the user to remove unsafe MermaidConfig
settings into it's own function, so that it can be reused.
2026-03-30 17:06:32 +09:00
Sidharth Vinod
c675dc02e9
fix: Avoid double popups
2026-03-25 17:03:04 +09:00
Sidharth Vinod
ab760f35fa
feat: Retain search query in URL to get insights into traffic flow
2026-03-18 22:05:07 +09:00
Sidharth Vinod and GitHub
8a436791de
Merge pull request #1908 from mermaid-js/renovate/mermaid-packages
...
fix(deps): update dependency mermaid to ^11.13.0
2026-03-16 07:41:08 -07:00
Sidharth Vinod and GitHub
d16a1776e6
Merge pull request #1909 from mermaid-js/sidv/correctPrivacyPolicy
...
feat: Configure Privacy Policy
2026-03-16 07:40:41 -07:00
Sidharth Vinod
ab720e0267
fix: local test change
2026-03-16 23:33:20 +09:00
Sidharth Vinod
d7db71e38a
chore: Add new mermaid home button
2026-03-16 23:29:49 +09:00
Sidharth Vinod
b466e8430e
feat: Show mermaid.live privacy policy only on mermaid.live
...
As the OSS project only controls the mermaid.live domain, we're adding an env variable to let anyone who is self hosting live editor to set their own privacy policy, or to hide the button if they want to.
2026-03-16 23:29:13 +09:00
renovate[bot] and GitHub
ea404df79b
fix(deps): update dependency mermaid to ^11.13.0
2026-03-16 01:36:21 +00:00
Sidharth Vinod
15cdb7b64a
chore: Show editor picker once to existing users as well
2026-03-12 13:35:42 +09:00
Sidharth Vinod
340911f271
chore: Remove panZoom event
2026-03-05 23:28:34 +05:30
Sidharth Vinod and GitHub
44d15c0f5e
Merge pull request #1901 from mermaid-js/claude/hide-editor-picker-mobile-2h7p0
...
Hide editor picker on mobile
2026-03-03 14:09:58 -08:00
Claude
c36e51fb9f
Hide editor picker dialog on mobile in shouldShowEditorChooser
...
Return false when viewport width is below 640px (Tailwind sm breakpoint),
matching the isMobile check used elsewhere in the app.
https://claude.ai/code/session_01KoPM7CZKWdwdZPm4MneGVE
2026-03-03 22:02:10 +00:00
Sidharth Vinod
82f7371fed
fix: Do not show editor selector to users coming from docs site, as they have seen one already
2026-03-04 01:50:29 +05:30
Sidharth Vinod
e56451e027
chore: Update coupon code
2026-03-04 01:43:34 +05:30
Sidharth Vinod and GitHub
1ed126e684
Merge pull request #1898 from mermaid-js/sidv/fixTests
...
tests: Tweak failing tests
2026-03-03 11:41:35 -08:00