From c343547467ddac59e96476d37379008709fcb00f Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Tue, 28 Jun 2022 03:34:25 -0400 Subject: [PATCH] [v9.0.x] Docs CI: Fix `CHANGELOG.md` - add `*.md` in `checkDocs` (#50721) * Fix docs - add *.md checks (#50720) (cherry picked from commit 2dfa3270ef547e8fa4b83b4a990a6ad8a2c7a7cc) * Fix changelog Co-authored-by: Dimitris Sotirakis Co-authored-by: dsotirakis --- CHANGELOG.md | 43 ++++++++++++++++++++++--------------------- package.json | 2 +- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9feff677517..a8fa34e25cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -347,34 +347,34 @@ to console.log(`Text "${copiedText}" was copied!`); }} /> -``` Issue [#49847](https://github.com/grafana/grafana/issues/49847) +``` +Issue [#49847](https://github.com/grafana/grafana/issues/49847) The following RBAC action renames have been carried out: -* `users.authtoken:update` -> `users.authtoken:write`; -* `users.password:update` -> `users.password:write`; -* `users.permissions:update` -> `users.permissions:write`; -* `users.quotas:update` -> `users.quotas:write`; -* `org.users.role:update` -> `org.users:write`; -* `alert.instances:update` -> `alert.instances:write`; -* `alert.rules:update` -> `alert.rules:write`; -* `users.authtoken:list` -> `users.authtoken:read`; -* `users.quotas:list` -> `users.quotas:read`; -* `users.teams:read` -> replaced by `users.read` + `teams:read` +- `users.authtoken:update` -> `users.authtoken:write`; +- `users.password:update` -> `users.password:write`; +- `users.permissions:update` -> `users.permissions:write`; +- `users.quotas:update` -> `users.quotas:write`; +- `org.users.role:update` -> `org.users:write`; +- `alert.instances:update` -> `alert.instances:write`; +- `alert.rules:update` -> `alert.rules:write`; +- `users.authtoken:list` -> `users.authtoken:read`; +- `users.quotas:list` -> `users.quotas:read`; +- `users.teams:read` -> replaced by `users.read` + `teams:read` We've added a migration from the old action names to the new names and have updated our documentation. But you will have to update any scripts and provisioning files that are using the old action names. Issue [#49730](https://github.com/grafana/grafana/issues/49730) - The following RBAC action renames have been carried out: -* `reports.admin:write` -> `reports:write`; -* `reports.admin:create` -> `reports:create`; -* `licensing:update` -> `licensing:write`; -* `roles:list` -> `roles:read`; -* `teams.roles:list` -> `teams.roles:read`; -* `users.roles:list` -> `users.roles:read`; -* `users.permissions:list` -> `users.permissions:read` +- `reports.admin:write` -> `reports:write`; +- `reports.admin:create` -> `reports:create`; +- `licensing:update` -> `licensing:write`; +- `roles:list` -> `roles:read`; +- `teams.roles:list` -> `teams.roles:read`; +- `users.roles:list` -> `users.roles:read`; +- `users.permissions:list` -> `users.permissions:read` We've added a migration from the old action names to the new names and have updated our documentation. But you will have to update any scripts and provisioning files that are using the old action names. Issue [#3372](https://github.com/grafana/grafana/issues/3372) @@ -462,7 +462,7 @@ module.exports.getWebpackConfig = (config, options) => ({ }, }, }); -```` +``` Please refer to the webpack build error messages or the [official migration guide](https://webpack.js.org/migrate/5/) for assistance with fallbacks. @@ -722,7 +722,7 @@ The change in behavior is that negative-valued series are now stacked downwards The meaning of the default data source has now changed from being a persisted property in a panel. Before when you selected the default data source for a panel and later changed the default data source to another data source it would change all panels who were configured to use the default data source. From now on the default data source is just the default for new panels and changing the default will not impact any currently saved dashboards. Issue [#45132](https://github.com/grafana/grafana/issues/45132) -The Tooltip component provided by `@grafana/ui` is no longer automatically interactive (that is you can hover onto it and click a link or select text). It will from now on by default close automatically when you mouse out from the trigger element. To make tooltips behave like before set the new `interactive` property to true. +The Tooltip component provided by `@grafana/ui` is no longer automatically interactive (that is you can hover onto it and click a link or select text). It will from now on by default close automatically when you mouse out from the trigger element. To make tooltips behave like before set the new `interactive` property to true. Issue [#45053](https://github.com/grafana/grafana/issues/45053) ### Deprecations @@ -5161,3 +5161,4 @@ repo on July 1st. Make sure you have switched to the new repo by then. The new r - **Dashboard**: Panel property `minSpan` replaced by `maxPerRow`. Dashboard migration will automatically migrate all dashboard panels using the `minSpan` property to the new `maxPerRow` property [#12991](https://github.com/grafana/grafana/pull/12991) For older release notes, refer to the [CHANGELOG_ARCHIVE.md](https://github.com/grafana/grafana/blob/master/CHANGELOG_ARCHIVE.md) +```` diff --git a/package.json b/package.json index f0c25ee37c7..6d0e2254fc4 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "packages:clean": "lerna run clean", "precommit": "yarn run lint-staged", "prettier:check": "prettier --check --list-different=false --loglevel=warn \"**/*.{ts,tsx,scss,md,mdx}\"", - "prettier:checkDocs": "prettier --check --list-different=false --loglevel=warn \"docs/**/*.md\" \"packages/**/*.{ts,tsx,scss,md,mdx}\"", + "prettier:checkDocs": "prettier --check --list-different=false --loglevel=warn \"docs/**/*.md\" \"*.md\" \"packages/**/*.{ts,tsx,scss,md,mdx}\"", "prettier:write": "prettier --list-different \"**/*.{js,ts,tsx,scss,md,mdx}\" --write", "start": "yarn themes:generate && yarn dev --watch", "start:noTsCheck": "yarn start --env noTsCheck=1",