Contribute to What’s new or release notes
This topic explains the decisions and actions associated with collecting, writing, and publishing What’s new content.
Note: This topic is only relevant for internal Grafana Labs contributors.
What’s new doc development process
Developing directly in Markdown reduces errors and removes a manual (toilsome and error-prone) step, by creating, editing, discussing, and publishing in the same format from which we will publish in GitHub, using the Grafana repository.
Consider adding an image, though be aware that we will not maintain them, as the document reflects a “point in time.” If you need to add an image, refer to Image, diagram, and screenshot guidelines.
When the prior release is complete
Complete the following steps within one week after the prior release goes out.
- The Docs Squad identifies the technical writer responsible for overseeing the What’s new content development process for the upcoming release.
- The identified technical writer cuts a branch and creates a draft PR with an empty What’s new doc to be populated with the What’s new content for the next release, along with the updated What’s new index page.
- This PR should include an update to the link and version number located on the What’s new tile of
docs/sources/_index.md
. - This PR should include the new Upgrade Guide page (process TBA).
- This PR should have a
no-backport
label.
- This PR should include an update to the link and version number located on the What’s new tile of
- The technical writer then pins a link to the grafana-release-train Slack channel.
- The technical writer posts in the Slack channel that the What’s new PR is ready for contributions.
- The PMM communicates with engineering squads without a PM resource about who’s on point for What’s new PR reviews from within the PM and PMM organizations.
The technical program manager sets the What’s new freeze date. This date is generally 10-14 days before the public release date, or the private release date if a private release is planned.
Refer to Grafana Releases and Release Dates for a list of release dates.
Throughout a release
A Grafana release cycle is typically 6-8 weeks, and during that time, developers are empowered to add to the What’s new document incrementally. To see a list of release dates and assigned Product Managers and Product Marketing Managers, refer to Grafana Releases and Release Dates.
Complete the following steps throughout a release cycle:
Developer teams add commits directly against the branch.
Note: As an alternative, developer teams can cut PRs against the branch, add What’s new content, collaborate with reviewers, and merge the PR into the What’s new branch.
The technical writer periodically checks the What’s new PR to determine how much content has been added.
At this point, the larger Marketing org can review the What’s new content in the branch.
At the end of a release
Complete the following steps in the days leading up to the release:
- Five days before the What’s new freeze, the technical program manager sends a last call to developer teams to get in their What’s new content.
- The day after the freeze date, a PM reviews all content and adjusts wording, where appropriate.
- Once the PM has completed their review, the technical writer completes a copy edit.
- When the copy edit is complete, the technical writer changes the PR status from Draft to Ready for Review to signal to other stakeholders that the PR is now ready for any further review. This should happen three to five days before the private/public release date to ensure time for further edits.
- The technical writer finalizes the What’s new.
- The technical writer coordinates with Release Management and the GTM team for precise timing of when to merge the What’s new doc into
main
. - On release day (private release) or before release day (public), the technical writer and merges the What’s new branch into
main
. Ifmain
is no longer the same release as the upcoming release, the technical writer should add the appropriate backport label to the PR.
The What’s new is published in the “next” docs. When the release branch is promoted to GA, the What’s new will also be part of the “latest” doc set.
How to determine if content belongs in a What’s new document
Grafana publishes a What’s new docs page and blog post along with every minor and major release. These posts are popular, and a good way for users to learn about the exciting new things we’ve released. What’s new also drives our go-to-market enablement: we train the field and make videos on the topics in What’s new.
However, unlike our comprehensive changelog, What’s new is curated. If it contained every update, it would be too noisy for people to read, and if we wrote a detailed What’s new post for every little bug fix, we’d be wasting our time.
So how do you decide whether to write a What’s new post for your latest improvement?
Add a What’s new for anything that could excite or concern a customer
What’s new content should address changes that have some kind of material impact on the user experience.
- Include changes that affect customers, whether they are new features to try out or important, long-requested bug fixes.
- Most visualization changes and most additions to the UI should be in the What’s new document, even when they seem small.
- Almost every change or addition associated with Prometheus and Loki is of interest, too.
- What’s new content should also include changes that require customers to do something, like change their API keys to Service Accounts, or stop using a deprecated API or plugin.
- A What’s new doc should include announcements—things we want customers to notice and try out. These could also be notable community contributions where we want to thank a contributor.
When in doubt, ask your nearest PM or EM. Err on the side of yes, put it in What’s new.
Examples of what to include in What’s new
- A new Transformation: Partition by values.
- This is one of many transformations, but it is brand-new functionality that a user might not notice if they didn’t read the What’s new document. What’s new is also a low-effort place to describe some nice use cases and examples for the feature so that users adopt it.
- The new Candlestick visualization.
- This was a beta feature, but still listed in What’s new in order to get the word out and encourage users to try it.
- All-new Swagger docs for the API.
- This is significant because it makes our documentation much easier to use, and it’s a new place for users to go for help when using our API.
- Removing beta labels from several panels, which makes then generally available.
- This is a small change code-wise, but a big statement with big customer impact. Customers now know that those plugins are fully supported and recommended for use in production.
- New keyboard shortcut
- This is a small change, but it brings attention to a feature that has been improved recently and that most people don’t know about.
- Search improvement for Flame graphs
- Fuzzy search. Has to be in the blog post.
- Changes to the Prometheus query editor
- These are query patterns for the data source that most of our users use.
Examples of what not to include in What’s new
These are important improvements, but are better placed in the changelog than What’s new:
- A docs update
- This update doesn’t require customers to change their behavior—they’ll simply see better instructions the next time they use the docs.
- A bug fix related to migrations
- This is a bug fix that doesn’t require customer action.
- A usability improvement to an existing transformation
- Nice fix, but very detailed. Should be in the changelog but not What’s new.
- Change regex to accommodate a new branching strategy in Enterprise
- This change is invisible to customers.
Writing guidelines for What’s new content
Follow these guidelines to ensure that your What’s new or release notes content is clear, helpful, and easy to understand.
Directly address your users.
Address them using the imperative or as “you”.
Example: Shorten your communication time when reporting issues and requesting help from Grafana Labs by grabbing a panel’s query response data and panel settings.
Make use of active voice or present tense.
Example: Enable a configuration option to skip user organization and roles synchronization with your SAML provider.
Don’t refer to the release version, for example, “In Grafana 9, we ” or “As of now, we”.
The What’s new or release notes are understood to be providing information for a specific release, so there is no need to repeat this information.
Provide high-level descriptions.
Tell customers what goal they can accomplish or what problems they can solve with the feature. Describe the business value. Don’t go into details about how the feature works, or configuration steps.
Link out to topics in the documentation that provide more detailed information or steps.
Example: Use custom branding to make Grafana your observability tool by adding your own sign-in page, help links, logo, application name, and more.
For more information, refer to [insert link to documentation].
Don’t refer to how the feature used to work.
For example, don’t say “Previously, alert rules changed state when the rule was facing an error or a timeout. Now, the state does not update.”
For changes or updates to features, provide brief descriptions.