Skip to content

Commit

Permalink
Bumped version to 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarathsgck12 committed Mar 28, 2024
1 parent 12f4596 commit b22960b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 4.0.0 - 2024-03-27
## 4.0.0 - 2024-03-28
- Breaking Changes: Secure information, including API keys, is now stored in `secureJsonData` instead of `jsonData`. This change requires users to reauthenticate datasources by entering the URL and API Token on the configuration page.
- Chore: Replaced deprecated instana REST API calls in Analyze Infrastructure with new ones.
- Fix: Fixed filter bug introduced in Analyze Application/Website.
Expand Down
2 changes: 1 addition & 1 deletion dist/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 4.0.0 - 2024-03-27
## 4.0.0 - 2024-03-28
- Breaking Changes: Secure information, including API keys, is now stored in `secureJsonData` instead of `jsonData`. This change requires users to reauthenticate datasources by entering the URL and API Token on the configuration page.
- Chore: Replaced deprecated instana REST API calls in Analyze Infrastructure with new ones.
- Fix: Fixed filter bug introduced in Analyze Application/Website.
Expand Down
2 changes: 1 addition & 1 deletion dist/module.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/module.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{"name": "slo", "path": "img/slo.png"}
],
"version": "4.0.0",
"updated": "2024-03-27"
"updated": "2024-03-28"
},
"routes": [
{
Expand Down
5 changes: 3 additions & 2 deletions src/components/ConfigEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class ConfigEditor extends PureComponent<Props, State> {
options.secureJsonData = secureJsonData;
// Update state for API key configuration
const isApiKeyConfigured = !!eventItem.currentTarget.value;
const apiKeyValue = isApiKeyConfigured ? '********' : '';
const apiKeyValue = isApiKeyConfigured ? eventItem.currentTarget.value : '';
this.setState({ isApiKeyConfigured, apiKeyValue });
}
onOptionsChange({ ...options, jsonData, secureJsonData });
Expand Down Expand Up @@ -138,7 +138,8 @@ export class ConfigEditor extends PureComponent<Props, State> {
type="password"
width={30}
value={apiKeyValue}
placeholder="Enter API Key"
placeholder={options.secureJsonFields?.apiToken ? 'Configured' : 'Enter API Key'}
readOnly={options.secureJsonFields?.apiToken}
suffix={
<Tooltip
content={
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{"name": "slo", "path": "img/slo.png"}
],
"version": "4.0.0",
"updated": "2024-03-27"
"updated": "2024-03-28"
},
"routes": [
{
Expand Down

0 comments on commit b22960b

Please sign in to comment.