Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mermaid library update to 11.3.0. #151

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Options:
|------------------------------------------|---------|--------------------------------------------------------------------|------------------------------------------------------------------|
| `formats.html.enabled` | boolean | Generate report in html format | `true` |
| `formats.html.script.embed` | boolean | If true mermaid source will be downloaded and used locally in html | `false` |
| `formats.html.script.src` | url | Url to mermaid which should be used to generate html report | `https://cdn.jsdelivr.net/npm/mermaid@10.5.0/dist/mermaid.min.js`|
| `formats.html.script.src` | url | Url to mermaid which should be used to generate html report | `https://cdn.jsdelivr.net/npm/mermaid@11.3.0/dist/mermaid.min.js`|
| `formats.html.script.config.maxTextSize` | int | Limit on the size of text used to generate diagrams | `50000` |
| `formats.json.enabled` | boolean | Generate report in json format | `true` |
| `formats.mermaid.enabled` | boolean | Generate report in mermaid text format | `true` |
Expand All @@ -142,7 +142,7 @@ configure<io.github.platan.tests_execution_chart.CreateTestsExecutionReportExten
config {
maxTextSize.set(110000)
}
src.set("https://cdn.jsdelivr.net/npm/mermaid@10.5.0/dist/mermaid.min.js")
src.set("https://cdn.jsdelivr.net/npm/mermaid@11.3.0/dist/mermaid.min.js")
}
}
json {
Expand Down Expand Up @@ -179,7 +179,7 @@ createTestsExecutionReport {
config {
maxTextSize = 110000
}
src = "https://cdn.jsdelivr.net/npm/mermaid@10.5.0/dist/mermaid.min.js"
src = "https://cdn.jsdelivr.net/npm/mermaid@11.3.0/dist/mermaid.min.js"
}
}
json {
Expand Down Expand Up @@ -282,6 +282,12 @@ Gradle can generate reports in JUnit XML format. But such reports cannot be used

## Unreleased

## 0.6.1 (16 October 2024)

### Changed

- Mermaid library updated to version 11.3.0

## 0.6.0 (17 October 2023)

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data class HtmlConfig(override val enabled: Boolean, override val outputLocation

companion object {
private const val DEFAULT_MERMAID_SCRIPT_SRC =
"https://cdn.jsdelivr.net/npm/mermaid@10.5.0/dist/mermaid.min.js"
"https://cdn.jsdelivr.net/npm/mermaid@11.3.0/dist/mermaid.min.js"

@JvmStatic
fun getSrcDefault(): String = DEFAULT_MERMAID_SCRIPT_SRC
Expand Down
Loading