Skip to content

main: update mermaid to 11.9.0 - #8009

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

unknwon merged 2 commits into
gogs:mainfrom
dafanasiev:main

Conversation

@dafanasiev

Copy link
Copy Markdown
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

@unknwon unknwon left a comment

Copy link
Copy Markdown
Member

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
tarun-asthana pushed a commit to tarun-asthana/gogs that referenced this pull request Oct 4, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants