@appland/appmap 3.100.0 → 3.101.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/built/cmds/agentInstaller/gradleInstaller.js +2 -2
  3. package/built/cmds/agentInstaller/mavenInstaller.js +1 -1
  4. package/built/cmds/compare/loadFindings.js +1 -23
  5. package/built/cmds/compare/loadFindings.js.map +1 -1
  6. package/built/cmds/compare-report/ChangeReport.js +3 -0
  7. package/built/cmds/compare-report/ChangeReport.js.map +1 -1
  8. package/built/cmds/compare-report/MarkdownReport.js +3 -1
  9. package/built/cmds/compare-report/MarkdownReport.js.map +1 -1
  10. package/built/cmds/compare-report/Preprocessor.js +25 -5
  11. package/built/cmds/compare-report/Preprocessor.js.map +1 -1
  12. package/built/cmds/compare-report/ReportSection.js +99 -11
  13. package/built/cmds/compare-report/ReportSection.js.map +1 -1
  14. package/built/html/appmap.js +1 -1
  15. package/built/html/appmap.js.map +3 -3
  16. package/built/html/sequenceDiagram.js +1 -1
  17. package/built/html/sequenceDiagram.js.map +3 -3
  18. package/package.json +1 -1
  19. package/resources/change-report/changed-appmaps/details.hbs +1 -1
  20. package/resources/change-report/changed-appmaps/heading.hbs +1 -1
  21. package/resources/change-report/failed-tests/details.hbs +1 -1
  22. package/resources/change-report/findings/details.hbs +15 -19
  23. package/resources/change-report/findings/heading.hbs +7 -9
  24. package/resources/change-report/new-appmaps/details.hbs +1 -1
  25. package/resources/change-report/new-appmaps/heading.hbs +2 -2
  26. package/resources/change-report/openapi-diff/details.hbs +1 -1
  27. package/resources/change-report/openapi-diff/heading.hbs +1 -1
  28. package/resources/change-report/removed-appmaps/details.hbs +1 -1
  29. package/resources/change-report/removed-appmaps/heading.hbs +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appland/appmap",
3
- "version": "3.100.0",
3
+ "version": "3.101.0",
4
4
  "description": "",
5
5
  "bin": "built/cli.js",
6
6
  "engines": {
@@ -19,7 +19,7 @@ Review changes
19
19
  {{/each}}
20
20
 
21
21
  {{#if pruned}}
22
- Because there are so many changed AppMaps, some of them are not listed in this report.
22
+ Because there are many changed AppMaps, some of them are not listed in this report.
23
23
  {{/if}}
24
24
  </details>
25
25
  {{/if}}
@@ -1,6 +1,6 @@
1
1
  | [Changed AppMaps](#changed-appmaps) |
2
2
  {{~#unless (length changedAppMaps) }}
3
- :white_check_mark: No changes
3
+ :zero: No changes
4
4
  {{~else}}
5
5
  :twisted_rightwards_arrows: {{length changedAppMaps}} changes
6
6
  {{~/unless}}
@@ -52,6 +52,6 @@ The error occurred at [{{failureLocation}}]({{ source_url failureLocation }}):
52
52
 
53
53
  {{/each}}
54
54
  {{#if pruned}}
55
- Because there are so many failed tests, some of them are not listed in this report.
55
+ Because there are many failed tests, some of them are not listed in this report.
56
56
  {{/if}}
57
57
  {{/if}}
@@ -51,30 +51,26 @@
51
51
 
52
52
  </details>
53
53
  {{/inline}}
54
- {{#with findingDiff}}
55
- {{#if (length newFindings resolvedFindings)}}
56
- <h2 id="findings">Findings</h2>
54
+ {{#if (length findingDiff.newFindings findingDiff.resolvedFindings)}}
55
+ <h2 id="{{ metadata.anchor }}">{{ metadata.title }}</h2>
56
+ {{#if (length findingDiff.newFindings) }}
57
57
 
58
- {{#with newFindings}}
59
- ### :beetle: New findings ({{ length this}})
58
+ ### {{metadata.emoji}} New problems detected ({{ length findingDiff.newFindings }})
60
59
 
61
- {{#each this}}
60
+ {{#each findingDiff.newFindings}}
62
61
  {{> finding}}
63
- {{/each}}
64
-
65
- {{/with}}
62
+ {{/each}}
63
+ {{/if}}
64
+ {{#if (length findingDiff.resolvedFindings) }}
66
65
 
67
- {{#with resolvedFindings}}
68
- ### :tada: Resolved findings ({{ length this}})
66
+ ### :tada: Problems resolved ({{ length findingDiff.resolvedFindings}})
69
67
 
70
- {{#each this}}
68
+ {{#each findingDiff.resolvedFindings}}
71
69
  {{> finding}}
72
- {{/each}}
73
-
74
- {{/with}}
70
+ {{/each}}
71
+ {{/if}}
72
+ {{#if findingDiff.pruned}}
75
73
 
76
- {{#if pruned}}
77
- Because there are so many new and resolved findings, some of them are not listed in this report.
78
- {{/if}}
74
+ Because there are many new and resolved {{ metadata.name }}, some of them are not listed in this report.
79
75
  {{/if}}
80
- {{/with}}
76
+ {{/if}}
@@ -1,13 +1,11 @@
1
- | [Findings](#findings) |
2
- {{~#with findingDiff}}
3
- {{~#unless (length newFindings resolvedFindings) }}
4
- :white_check_mark: None
1
+ | [{{ metadata.title }}](#{{ metadata.anchor }}) |
2
+ {{~#unless (length findingDiff.newFindings findingDiff.resolvedFindings) }}
3
+ :white_check_mark: None detected
5
4
  {{~/unless}}
6
- {{~#if (length newFindings) }}
7
- :beetle: {{length newFindings}} new
5
+ {{~#if (length findingDiff.newFindings) }}
6
+ {{ metadata.emoji }} {{length findingDiff.newFindings}} new
8
7
  {{~/if}}
9
- {{~#if (length resolvedFindings) }}
10
- :tada: {{length resolvedFindings}} resolved
8
+ {{~#if (length findingDiff.resolvedFindings) }}
9
+ :tada: {{length findingDiff.resolvedFindings}} resolved
11
10
  {{~/if}}
12
- {{~/with}}
13
11
  |
@@ -6,6 +6,6 @@
6
6
 
7
7
  {{/each}}
8
8
  {{#if pruned}}
9
- Because there are so many new AppMaps, some of them are not listed in this report.
9
+ Because there are many new AppMaps, some of them are not listed in this report.
10
10
  {{/if}}
11
11
  {{/if}}
@@ -1,3 +1,3 @@
1
1
  | [New AppMaps](#new-appmaps) |
2
- {{~#unless newAppMaps.length }} :white_check_mark: None {{else}} :star: {{newAppMaps.length}} new {{/unless~}}
3
- |
2
+ {{~#with (group_appmaps_by_recorder_name newAppMaps) }} :star: {{#each @this}}{{#unless @first }}, {{/unless}}{{ count }} new {{ recorderName }}{{#if isTest}} {{ pluralize count 'test' }}{{/if}}{{/each}} {{else}} :zero: No new AppMaps {{/with~}}
3
+ |
@@ -37,7 +37,7 @@
37
37
  {{/if}}
38
38
 
39
39
  {{#if pruned}}
40
- Because there are so many OpenAPI changes, some of them are not listed in this report,
40
+ Because there are many OpenAPI changes, some of them are not listed in this report,
41
41
  and the full diff has not been printed either.
42
42
  {{else}}
43
43
  <details>
@@ -3,6 +3,6 @@
3
3
  {{~#if differenceCount }}
4
4
  {{~#if breakingDifferenceCount }} 🚧 {{breakingDifferenceCount}} breaking{{~/if}}
5
5
  {{~#if nonBreakingDifferenceCount }}{{#if breakingDifferenceCount }},{{~/if}} :wrench: {{nonBreakingDifferenceCount}} non-breaking{{/if~}}
6
- {{~else}} :white_check_mark: No API changes
6
+ {{~else}} :zero: No API changes
7
7
  {{~/if}} |
8
8
  {{~/with}}
@@ -6,6 +6,6 @@
6
6
 
7
7
  {{/each}}
8
8
  {{#if pruned}}
9
- Because there are so many removed AppMaps, some of them are not listed in this report.
9
+ Because there are many removed AppMaps, some of them are not listed in this report.
10
10
  {{/if}}
11
11
  {{/if}}
@@ -1,3 +1,5 @@
1
1
  {{#if removedAppMaps.length ~}}
2
- | [Removed AppMaps](#removed-appmaps) | :heavy_multiplication_x: {{removedAppMaps.length}} removed |
2
+ | [Removed AppMaps](#removed-appmaps) |
3
+ {{~#with (group_appmaps_by_recorder_name removedAppMaps) }} :heavy_multiplication_x: {{#each @this}}{{#unless @first }}, {{/unless}}{{ count }} removed {{ recorderName }}{{#if isTest}} {{ pluralize count 'test' }}{{/if}}{{/each}} {{/with~}}
4
+ |
3
5
  {{~/if}}