Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Cleans up release notes #4524

Closed
wants to merge 3 commits into from

Conversation

KOTungseth
Copy link
Contributor

Cleans up the release notes for Elastic Docs v3.

Checklist

  • Implement code
  • Add tests
  • Update TypeScript typings
  • Update documentation
  • Add release notes to docs/release-notes/index.md
  • Commit message follows commit guidelines

@KOTungseth KOTungseth self-assigned this Mar 19, 2025
@KOTungseth KOTungseth added the Team:Docs Label for the Observability docs team label Mar 19, 2025

Choose a reason for hiding this comment

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

Pull Request Overview

This PR cleans up the release notes for Elastic Docs v3 by updating heading titles, navigation metadata, and dropdown IDs to improve consistency and clarity.

  • Updated navigation titles and placeholders to standardize documentation references.
  • Revised dropdown formats and link references across breaking changes, known issues, and release notes.
  • Updated the table of contents and the upgrading guide to reflect the new file structure.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docs/release-notes/breaking-changes.md Updated headings, navigation title, and structured dropdowns.
docs/release-notes/known-issues.md Standardized heading and dropdown content for known issues.
docs/release-notes/release-notes.md Refactored release note sections with updated dropdown IDs and headings.
docs/release-notes/toc.yml Adjusted file ordering in the table of contents.
docs/reference/upgrading.md Updated the link to the release notes page.
Comments suppressed due to low confidence (1)

docs/release-notes/release-notes.md:250

  • Typo detected: 'propertly' should be corrected to 'properly'.
"next" will propertly disable all Next.js instrumentation. ([#3658](https://github.com/elastic/apm-agent-nodejs/pull/3658))
@@ -9,7 +9,7 @@ The Elastic APM Node.js Agent uses [semantic versioning](https://semver.org/), a

Before upgrading the agent, be sure to review the:

* [Node.js APM Agent release notes](/release-notes/index.md)
* [Node.js APM Agent release notes](/release-notes/release-notes.md)
Copy link
Member

Choose a reason for hiding this comment

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

A URL with "release-notes/release-notes" duplicated is odd.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree. @KOTungseth can we use /release-notes/index.md?

Copy link
Member

Choose a reason for hiding this comment

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

Can the navigation_title be changed here so it says "Release Notes" in the toc (or however that can be done). Currently:

Screenshot 2025-03-19 at 10 36 29 AM

## 4.11.1 [4-11-1]
## 4.11.1 [elastic-apm-nodejs-agent-4111-release-notes]
Copy link
Member

Choose a reason for hiding this comment

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

@KOTungseth @colleenmcginnis There is some churn here between the anchors names you are both using.

Copy link
Contributor

Choose a reason for hiding this comment

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

@KOTungseth do we need these long IDs now that IDs only have to be unique to each Markdown file? It should be sufficient to link to apm-agent-nodejs://release-notes/index.md#4-11-1 right?

Copy link
Contributor

Choose a reason for hiding this comment

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

I've also had devs ask if we can use - between major, minor, and patch versions for clarity (example).

* Changes to cloud metadata collection for Google Cloud (GCP). Most notably the `cloud.project.id` field is now the `project-id` from [https://cloud.google.com/compute/docs/metadata/default-metadata-values#project_metadata](https://cloud.google.com/compute/docs/metadata/default-metadata-values#project_metadata) rather than the `numeric-project-id`. This matches the value produced by Elastic Beats (like filebeat). [#3614](https://github.com/elastic/apm-agent-nodejs/issues/3614)

## 4.0.0 [4-0-0]
## 4.0.0 [elastic-apm-nodejs-agent-440-release-notes]
Copy link
Member

Choose a reason for hiding this comment

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

Is this 440 error in the anchor name the reason that the 4.0.0 entry in the "On this page" TOC in the wrong place?

See https://docs-v3-preview.elastic.dev/elastic/apm-agent-nodejs/pull/4524/release-notes/release-notes

Screenshot 2025-03-19 at 11 01 29 AM

::::{dropdown} Removes support for next@11
Copy link
Member

Choose a reason for hiding this comment

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

(Sorry to be negative.) I really don't like the pattern of having a disclosure to click to get the context on each separate breaking change. Why should a user have to click open every one of these to have to get (and search) the context. For example, in the breaking changes for 4.0.0 there are three changes that impact the startTransaction() API. However, to find them you have to click open everything before searching.

Was there a reason for the added dropdown UI here?

@KOTungseth KOTungseth closed this Mar 20, 2025
@KOTungseth KOTungseth deleted the docs/rn-cleanup branch March 20, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Docs Label for the Observability docs team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants