diff --git a/docs/sources/developers/plugins/migration-guide/_index.md b/docs/sources/developers/plugins/migration-guide/_index.md index 180a7a36db0..e40fea0d6da 100644 --- a/docs/sources/developers/plugins/migration-guide/_index.md +++ b/docs/sources/developers/plugins/migration-guide/_index.md @@ -36,4 +36,4 @@ title: Migration guides The following guides help you identify the steps required to update a plugin following changes between versions of Grafana. -{{< section menuTitle="true">}} \ No newline at end of file +{{< section menuTitle="true">}} diff --git a/docs/sources/developers/plugins/migration-guide/angular-react/_index.md b/docs/sources/developers/plugins/migration-guide/angular-react/_index.md index d5677595881..4260bbbcaac 100644 --- a/docs/sources/developers/plugins/migration-guide/angular-react/_index.md +++ b/docs/sources/developers/plugins/migration-guide/angular-react/_index.md @@ -70,4 +70,4 @@ While all plugins are different, we'd like to share a migration process that has By now, you should be able to release your new version. -To fully migrate to the new plugin platform, convert the time series response to a data frame response. \ No newline at end of file +To fully migrate to the new plugin platform, convert the time series response to a data frame response. diff --git a/docs/sources/developers/plugins/migration-guide/v6.x-v7.x/_index.md b/docs/sources/developers/plugins/migration-guide/v6.x-v7.x/_index.md index 5cb5758aec6..d3007f2c441 100644 --- a/docs/sources/developers/plugins/migration-guide/v6.x-v7.x/_index.md +++ b/docs/sources/developers/plugins/migration-guide/v6.x-v7.x/_index.md @@ -117,4 +117,4 @@ import { VizLegendItem, VizLegendOptions, VizLegend } from '@grafana/ui'; ``` - `LegendPlacement` has been updated from `'under' | 'right' | 'over'` to `'bottom' | 'right'` so you can not place the legend above the visualization anymore. -- The `isVisible` in the `LegendItem` has been renamed to `disabled` in `VizLegendItem`. \ No newline at end of file +- The `isVisible` in the `LegendItem` has been renamed to `disabled` in `VizLegendItem`. diff --git a/docs/sources/developers/plugins/migration-guide/v7.x-v8.x/_index.md b/docs/sources/developers/plugins/migration-guide/v7.x-v8.x/_index.md index 2f2f3c78367..7ea3a77c7a7 100644 --- a/docs/sources/developers/plugins/migration-guide/v7.x-v8.x/_index.md +++ b/docs/sources/developers/plugins/migration-guide/v7.x-v8.x/_index.md @@ -346,3 +346,4 @@ function Component(): ReactElement | null { ); }; +``` diff --git a/docs/sources/developers/plugins/migration-guide/v8.3.x-8.4.x/_index.md b/docs/sources/developers/plugins/migration-guide/v8.3.x-8.4.x/_index.md index f196923fa0d..80338895538 100644 --- a/docs/sources/developers/plugins/migration-guide/v8.3.x-8.4.x/_index.md +++ b/docs/sources/developers/plugins/migration-guide/v8.3.x-8.4.x/_index.md @@ -96,4 +96,4 @@ getLocationSrv.update({ // after locationService.partial({ 'var-variable': 1 }, true); -``` \ No newline at end of file +``` diff --git a/docs/sources/developers/plugins/migration-guide/v8.x-v9.x/_index.md b/docs/sources/developers/plugins/migration-guide/v8.x-v9.x/_index.md index d05dc0b6dec..d927f21dcf8 100644 --- a/docs/sources/developers/plugins/migration-guide/v8.x-v9.x/_index.md +++ b/docs/sources/developers/plugins/migration-guide/v8.x-v9.x/_index.md @@ -109,4 +109,4 @@ 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. \ No newline at end of file +Please refer to the webpack build error messages or the [official migration guide](https://webpack.js.org/migrate/5/) for assistance with fallbacks. diff --git a/docs/sources/developers/plugins/migration-guide/v9.3.x-9.4.x/_index.md b/docs/sources/developers/plugins/migration-guide/v9.3.x-9.4.x/_index.md index f6cc8ffa837..e8237d52c80 100644 --- a/docs/sources/developers/plugins/migration-guide/v9.3.x-9.4.x/_index.md +++ b/docs/sources/developers/plugins/migration-guide/v9.3.x-9.4.x/_index.md @@ -145,4 +145,4 @@ It's recommended to use the `.GetHTTPHeader` or `.GetHTTPHeade The grafana-plugin-sdk-go [v0.147.0](https://github.com/grafana/grafana-plugin-sdk-go/releases/tag/v0.147.0) introduces a new interface [ForwardHTTPHeaders](https://pkg.go.dev/github.com/grafana/grafana-plugin-sdk-go@v0.147.0/backend#ForwardHTTPHeaders) that `QueryDataRequest`, `CheckHealthRequest` and `CallResourceRequest` implements. -Newly introduced forwarded HTTP headers in Grafana v9.4.0 are `X-Grafana-User`, `X-Panel-Id`, `X-Dashboard-Uid`, `X-Datasource-Uid` and `X-Grafana-Org-Id`. Internally these are prefixed with `http_` and sent as `http_` in [CheckHealthRequest.Headers](https://pkg.go.dev/github.com/grafana/grafana-plugin-sdk-go@v0.147.0/backend#CheckHealthRequest) and [QueryDataRequest.Headers](https://pkg.go.dev/github.com/grafana/grafana-plugin-sdk-go@v0.147.0/backend#QueryDataRequest). By using the [ForwardHTTPHeaders](https://pkg.go.dev/github.com/grafana/grafana-plugin-sdk-go@v0.147.0/backend#ForwardHTTPHeaders) methods you're guaranteed to be able to operate on HTTP headers without using the prefix, i.e. `X-Grafana-User`, `X-Panel-Id`, `X-Dashboard-Uid`, `X-Datasource-Uid` and `X-Grafana-Org-Id`. \ No newline at end of file +Newly introduced forwarded HTTP headers in Grafana v9.4.0 are `X-Grafana-User`, `X-Panel-Id`, `X-Dashboard-Uid`, `X-Datasource-Uid` and `X-Grafana-Org-Id`. Internally these are prefixed with `http_` and sent as `http_` in [CheckHealthRequest.Headers](https://pkg.go.dev/github.com/grafana/grafana-plugin-sdk-go@v0.147.0/backend#CheckHealthRequest) and [QueryDataRequest.Headers](https://pkg.go.dev/github.com/grafana/grafana-plugin-sdk-go@v0.147.0/backend#QueryDataRequest). By using the [ForwardHTTPHeaders](https://pkg.go.dev/github.com/grafana/grafana-plugin-sdk-go@v0.147.0/backend#ForwardHTTPHeaders) methods you're guaranteed to be able to operate on HTTP headers without using the prefix, i.e. `X-Grafana-User`, `X-Panel-Id`, `X-Dashboard-Uid`, `X-Datasource-Uid` and `X-Grafana-Org-Id`.