Skip to content

Commit

Permalink
chore: revert the major version bump (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
polomani authored Nov 28, 2024
1 parent 03c5b50 commit 9e92948
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
This article documents the ongoing improvements we're making to the **Cognite
Data Source for Grafana**.

## 5.0.0 - Oct 24th, 2024
## 4.2.1 - November 28th, 2024

### Bug fixes

- **Breaking** Upgrade plugin dependencies to fix CVEs (requires Grafana v11)
- Upgrade plugin dependencies to fix CVEs

## 4.2.0 - June 17th, 2024

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cognite/cognite-grafana-datasource",
"version": "5.0.0",
"version": "4.2.1",
"description": "Cognite Data Fusion datasource",
"repository": "https://github.com/cognitedata/cognite-grafana-datasource",
"author": "Cognite AS",
Expand Down
5 changes: 0 additions & 5 deletions src/datasources/TemplatesDatasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ export class TemplatesDatasource {
throw `Your data path did not exist! Data Path: '${dataPath}''`;
}

if (resultsData.errors) {
// There can still be errors even if there is data
console.log('Got GraphQL errors:', resultsData.error);
}

return Array.isArray(data) ? data : [data];
}

Expand Down
2 changes: 1 addition & 1 deletion src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},

"dependencies": {
"grafanaDependency": ">=11.0.0",
"grafanaDependency": ">=10.0.0",
"plugins": []
},

Expand Down

0 comments on commit 9e92948

Please sign in to comment.