Skip to content

Revert "Serve the current released minor in API docs, not an unreleased one" - #5105

Merged
akira28 merged 1 commit into
mainfrom
revert-5102-feature/point-current-api-spec
Dec 2, 2026
Merged

akira28 merged 1 commit into
mainfrom
revert-5102-feature/point-current-api-spec

Conversation

@akira28

@akira28 akira28 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Reverts #5102

@akira28
akira28 requested a review from a team as a code owner December 2, 2026 14:45
@akira28
akira28 requested a review from technige December 2, 2026 14:45
@akira28
akira28 enabled auto-merge (squash) December 2, 2026 14:45
@akira28 akira28 added the chore label Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Docs preview (local build)

Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/5105/


var resolved = new List<ResolvedApiVersion>(versions.Count);
foreach (var (moniker, indexVersion) in versions)
foreach (var (moniker, version) in versions)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Severity: P2 (Medium)

This revert makes the released API reference use an unreleased spec whenever a minor branch publishes before the product ships. For example, if the index maps 9 to 9.6 while Stack is still on 9.5.7, both /api/elasticsearch/ and /api/elasticsearch/v9/ serve the 9.6 spec without an unreleased warning. Ensure the index only advertises shipped minors for numeric entries before removing the release check here.

Generated by Libra. React with 👍 or 👎 to give feedback on this comment.

@akira28
akira28 disabled auto-merge December 2, 2026 14:56
@akira28
akira28 merged commit 5665fc9 into main Dec 2, 2026
49 of 51 checks passed
@akira28
akira28 deleted the revert-5102-feature/point-current-api-spec branch December 2, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant