Skip to content
Open
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
1 change: 1 addition & 0 deletions config/changelog.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ lifecycles:
- preview
- beta
- ga
- experimental

# Pivot configuration for types, subtypes, and areas with label mappings.
# By default we render changelogs grouped by type > subtype > area.
Expand Down
11 changes: 6 additions & 5 deletions docs/contribute/configure-changelogs-ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,12 @@ Specifies the allowed lifecycle values for your changelogs.
:::{table}
:widths: description

| Value | Description |
| --------- | --------------------------------- |
| `preview` | Technical preview or early access |
| `beta` | Beta release |
| `ga` | General availability |
| Value | Description |
| -------------- | --------------------------------- |
| `preview` | Tech previews are time-boxed evaluations to help us gather early feedback from customers on key upcoming features. |
| `beta` | Beta features are no longer supported but some products might have beta releases. |
| `ga` | General availability features are stable, scalable, and production-ready. |
| `experimental` | The experimental phase exists to enable rapid iteration on new features. |

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public record ChangelogConfiguration
[
Lifecycle.Preview,
Lifecycle.Beta,
Lifecycle.Ga
Lifecycle.Ga,
Lifecycle.Experimental
];

/// <summary>
Expand Down
10 changes: 7 additions & 3 deletions src/Elastic.Documentation/Lifecycle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@ namespace Elastic.Documentation;
[EnumExtensions]
public enum Lifecycle
{
/// <summary>A technical preview of a feature or enhancement.</summary>
/// <summary>Tech Previews are time-boxed evaluations to help us gather early feedback from customers on key upcoming features.</summary>
[Display(Name = "preview")]
Preview,

/// <summary>A beta release of a feature or enhancement.</summary>
[Display(Name = "beta")]
Beta,

/// <summary>A generally available release of a feature or enhancement.</summary>
/// <summary>Generally available features are stable, scalable, and production-ready.</summary>
[Display(Name = "ga")]
Ga
Ga,

/// <summary>The experimental phase exists to enable rapid iteration on new features.</summary>
[Display(Name = "experimental")]
Experimental
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
using Elastic.Documentation;
using Elastic.Documentation.Configuration;
using Elastic.Documentation.Configuration.Changelog;
using Elastic.Documentation.Configuration.Changelog;
using Elastic.Documentation.Configuration.Changelog;
using Elastic.Documentation.Diagnostics;
using Elastic.Documentation.ReleaseNotes;

Expand Down Expand Up @@ -142,6 +140,7 @@ public async Task LoadChangelogConfiguration_WithoutAvailableLifecycles_UsesDefa
config.Lifecycles.Should().Contain(Lifecycle.Preview);
config.Lifecycles.Should().Contain(Lifecycle.Beta);
config.Lifecycles.Should().Contain(Lifecycle.Ga);
config.Lifecycles.Should().Contain(Lifecycle.Experimental);
}
finally
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ public ChangelogConfigEmptyBlockTests(ITestOutputHelper output) : base(output,
- preview
- beta
- ga
- experimental
"""));
}

Expand Down
Loading