Skip to content

Commit

Permalink
Mermaid library update to 11.3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
straburzynski committed Oct 16, 2024
1 parent 1b1277b commit 1d23cfc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
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

0 comments on commit 1d23cfc

Please sign in to comment.