You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Co-authored-by: Felipe Cotti <felipe.cotti@elastic.co>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1. Generate a single asciidoc file instead of multiple markdown files.
628
+
629
+
#### Release highlights
630
+
631
+
The `highlight` field allows you to mark changelog entries that should appear in a dedicated highlights page. Highlights are most commonly used for major or minor version releases to draw attention to the most important changes.
632
+
633
+
When you set `highlight: true` on a changelog entry:
634
+
635
+
- The entry appears in both the highlights page (`highlights.md`) and its normal type section (e.g., "Features and enhancements")
636
+
- The highlights page is only created when at least one entry has `highlight: true` (unlike other special pages like `known-issues.md` which are always created)
637
+
- Highlights can be any type of changelog entry (features, enhancements, bug fixes, etc.)
638
+
639
+
Example changelog entry with highlight:
640
+
641
+
```yaml
642
+
type: feature
643
+
products:
644
+
- product: elasticsearch
645
+
target: 9.3.0
646
+
lifecycle: ga
647
+
title: New Cloud Connect UI for self-managed installations
648
+
description: Adds Cloud Connect functionality to Kibana, which allows you to use cloud solutions like AutoOps and Elastic Inference Service in your self-managed Elasticsearch clusters.
649
+
highlight: true
650
+
```
651
+
652
+
When rendering changelogs, entries with `highlight: true` are collected from all types and rendered in a dedicated highlights section. In markdown output, this creates a separate `highlights.md` file. In asciidoc output, highlights appear as a dedicated section in the single asciidoc file.
Copy file name to clipboardExpand all lines: docs/syntax/changelog.md
+19-3Lines changed: 19 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,15 +41,16 @@ The directive supports the following options:
41
41
42
42
#### `:type:`
43
43
44
-
Controls which entry types are displayed. By default, the directive excludes "separated types" (known issues, breaking changes, and deprecations) which are typically shown on their own dedicated pages.
44
+
Controls which entry types are displayed. By default, the directive excludes "separated types" (known issues, breaking changes, deprecations, and highlights) which are typically shown on their own dedicated pages.
45
45
46
46
| Value | Description |
47
47
|-------|-------------|
48
-
| (omitted) | Default: shows all types EXCEPT known issues, breaking changes, and deprecations|
49
-
|`all`| Shows all entry types including known issues, breaking changes, and deprecations|
48
+
| (omitted) | Default: shows all types EXCEPT known issues, breaking changes, deprecations, and highlights|
49
+
|`all`| Shows all entry types including known issues, breaking changes, deprecations, and highlights|
50
50
|`breaking-change`| Shows only breaking change entries |
51
51
|`deprecation`| Shows only deprecation entries |
52
52
|`known-issue`| Shows only known issue entries |
53
+
|`highlight`| Shows only highlighted entries |
53
54
54
55
This allows you to create separate pages for different entry types:
55
56
@@ -84,6 +85,14 @@ This allows you to create separate pages for different entry types:
84
85
:::
85
86
```
86
87
88
+
```markdown
89
+
# Highlights
90
+
91
+
:::{changelog}
92
+
:type: highlight
93
+
:::
94
+
```
95
+
87
96
To show all entries on a single page (previous default behavior):
88
97
89
98
```markdown
@@ -379,9 +388,16 @@ Each bundle renders as a `## {version}` section with subsections beneath:
| Known issues | `known-issue` | Expandable dropdowns |
384
394
395
+
**Note about highlights:**
396
+
- Highlights only appear when using `:type: all` (they are excluded from the default view)
397
+
- When rendered, highlighted entries appear in BOTH the "Highlights" section AND their original type section (for example, a highlighted feature appears in both "Highlights" and "Features and enhancements")
398
+
- The "Highlights" section is only created when at least one entry has `highlight: true`
399
+
- When using `:type: highlight`, only highlighted entries are shown (no section headers or other content)
400
+
385
401
Sections with no entries of that type are omitted from the output.
this.EmitWarning($"Invalid :type: value '{typeValue}'. Valid values are: all, breaking-change, deprecation, known-issue. Using default behavior.");
207
+
this.EmitWarning($"Invalid :type: value '{typeValue}'. Valid values are: all, breaking-change, deprecation, known-issue, highlight. Using default behavior.");
0 commit comments