Skip to content

Commit

Permalink
Updated to Grafana 11.0 and dependencies (#315)
Browse files Browse the repository at this point in the history
* Updated to Grafana 11.0 and dependencies

* Move External Resources to CSS

* Update screenshot.png
  • Loading branch information
mikhail-vl authored Jun 6, 2024
1 parent 91e28a6 commit 165ecbf
Show file tree
Hide file tree
Showing 6 changed files with 1,959 additions and 1,473 deletions.
20 changes: 17 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
# Changelog

## 5.0.0 (IN PROGRESS)
## 5.0.0 (2024-06-06)

### Breaking changes

- Requires Grafana 10 and Grafana 11
- Removed non-context code parameters. Please update parameters to use `context`.
- Requires Grafana 10 and Grafana 11.
- Removed external scripts deprecated in Grafana 11. Use import instead.
- Removed non-context code parameters. Please update parameters to use `context`.

### Code parameters migration guide

- data -> context.data
- dataFrame -> context.dataFrame
- eventBus -> context.grafana.eventBus
- getLocale -> context.grafana.getLocale
- handlebars -> context.handlebars
- locationService -> context.grafana.locationService
- panelData -> context.panelData
- replaceVariables -> context.grafana.replaceVariables
- timeRange -> context.grafana.timeRange
- timezone -> context.grafana.timezone

### Features / Enhancements

Expand All @@ -15,6 +28,7 @@
- Prepared for Grafana 11 (#304)
- Added ES6 Modules Support (#312)
- Added Units and Decimal in panel options (#311)
- Updated to Grafana 11.0 and dependencies (#315)

## 4.5.0 (2024-03-13)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![Text](https://github.com/VolkovLabs/volkovlabs-dynamictext-panel/raw/main/src/img/screenshot.png)

![Grafana](https://img.shields.io/badge/Grafana-10.4-orange)
![Grafana](https://img.shields.io/badge/Grafana-11.0-orange)
![CI](https://github.com/volkovlabs/volkovlabs-dynamictext-panel/workflows/CI/badge.svg)
![E2E](https://github.com/volkovlabs/volkovlabs-dynamictext-panel/workflows/E2E/badge.svg)
[![codecov](https://codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel/branch/main/graph/badge.svg?token=0m6f0ktUar)](https://codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel)
Expand All @@ -25,7 +25,7 @@ The Business Text Panel plugin allows you to construct a text visualization temp

## Getting Started

You can install the Business Text Panel from the [Grafana Plugins catalog](https://grafana.com/grafana/plugins/marcusolsson-dynamictext-panel/) or using the Grafana command line tool.
You can install the Business Text Panel from the [Grafana Plugins catalog](https://grafana.com/grafana/plugins/marcusolsson-dynamictext-panel/) or use the Grafana command line tool.

For the latter, please use the following command:

Expand Down
Loading

0 comments on commit 165ecbf

Please sign in to comment.