Skip to content

main: update mermaid to 11.9.0#8009

Merged
unknwon merged 2 commits intogogs:mainfrom
dafanasiev:main
Sep 30, 2025
Merged

main: update mermaid to 11.9.0#8009
unknwon merged 2 commits intogogs:mainfrom
dafanasiev:main

Conversation

@dafanasiev
Copy link
Contributor

Describe the pull request

Update mermaid-js to 11.9.0 ( main branch) because old version cant render some mermaid diagrams with modern features (see Test plan below).

Possible fix issue: #7409

Checklist

  • I agree to follow the Code of Conduct by submitting this pull request.
  • I have read and acknowledge the Contributing guide.
  • I have added test cases to cover the new code or have provided the test plan.

Test plan

  1. Create repo with README.md:
This is mermaid diagram:

```mermaid
sequenceDiagram
    Alice->>+John: Hello John, how are you?
    Alice->>+John: John, can you hear me?
    John-->>-Alice: Hi Alice, I can hear you!
    John-->>-Alice: I feel great!

    box #ffffff
    participant Alice
    end
```

Did you see it?
  1. View repo in web ui
  2. You should see correct rendered sequence diagram like:
sequenceDiagram
    Alice->>+John: Hello John, how are you?
    Alice->>+John: John, can you hear me?
    John-->>-Alice: Hi Alice, I can hear you!
    John-->>-Alice: I feel great!

    box #ffffff
    participant Alice
    end
Loading

@dafanasiev dafanasiev requested a review from unknwon as a code owner July 24, 2025 12:00
Copy link
Member

@unknwon unknwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@unknwon unknwon merged commit 6a6364b into gogs:main Sep 30, 2025
5 checks passed
tarun-asthana pushed a commit to tarun-asthana/gogs that referenced this pull request Oct 4, 2025
Co-authored-by: ᴊᴏᴇ ᴄʜᴇɴ <jc@unknwon.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants