Skip to content

Commit

Permalink
chore: prepare release (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardtreier committed Apr 20, 2024
1 parent b84169d commit d6242a1
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 59 deletions.
11 changes: 7 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,24 @@ the detailed section referring to by linking pull requests or issues.

#### Deployment Migration Notes

## [v3.2.2] - 2024-04-18
## [v3.2.2] - 2024-04-20

### Overview

Bugfix for custom properties
MDS Bufix Release

### Detailed Changes

#### Patch

- Fixed an issue causing pages using asset cards to crash if object custom
properties were used.
- Connector UI & Broker UI: Fixed an issue causing pages using asset cards to
crash if object custom properties were used.
- Removed HTTP Option "HEAD" as it is not supported by the backend.

#### Deployment Migration Notes

_No special deployment migration steps required_

## [v3.2.1] - 2024-04-18

### Overview
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@angular/router": "^14.3.0",
"@ng-apimock/core": "^3.11.0",
"@ngxs/store": "^3.8.1",
"@sovity.de/broker-server-client": "0.20240411.143622-main-044c5768",
"@sovity.de/broker-server-client": "0.20240420.122901-main-9eb8e44d",
"@sovity.de/edc-client": "0.20240418.174436-main-8bfcfeb1",
"clean-deep": "^3.4.0",
"date-fns": "^2.30.0",
Expand Down
71 changes: 25 additions & 46 deletions src/app/core/services/connector-info-property-grid-group-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,65 +35,44 @@ export class ConnectorInfoPropertyGridGroupBuilder {
getBackendVersionFields(
lastCommitInfo: Fetched<LastCommitInfo>,
): PropertyGridField[] {
return lastCommitInfo.match({
ifOk: (lastCommitInfo) => [
{
const buildProp = (
label: string,
dateProp: keyof LastCommitInfo,
detailsProp: keyof LastCommitInfo,
) =>
lastCommitInfo.match({
ifOk: (lastCommitInfo) => ({
icon: 'link',
label: 'Jar Version',
text: lastCommitInfo.jarBuildDate
? this.asDate(lastCommitInfo.jarBuildDate)
label,
text: lastCommitInfo[dateProp]
? this.asDate(lastCommitInfo[dateProp] ?? undefined)
: 'Show Details',
onclick: () =>
this.onShowConnectorVersionClick('Version Information', {
'Jar Last Commit Information': lastCommitInfo.jarLastCommitInfo,
[`${label} Last Commit Information"`]:
lastCommitInfo[detailsProp],
}),
},
{
}),
ifError: (error) => ({
icon: 'link',
label: 'Environment Version',
text: lastCommitInfo.envBuildDate
? this.asDate(lastCommitInfo.envBuildDate)
: 'Show Details',
onclick: () =>
this.onShowConnectorVersionClick('Version Information', {
'Environment Last Commit Information':
lastCommitInfo.envLastCommitInfo,
}),
},
],
ifError: (error) => [
{
icon: 'link',
label: 'Jar Version',
label,
text: 'Show Details',
onclick: () =>
this.onShowConnectorVersionClick('Version Information', {
Error: error.failureMessage,
}),
},
{
}),
ifLoading: () => ({
icon: 'link',
label: 'Environment Version',
text: 'Show Details',
onclick: () =>
this.onShowConnectorVersionClick('Version Information', {
Error: error.failureMessage,
}),
},
],
ifLoading: () => [
{
icon: 'link',
label: 'Jar Version',
text: 'Loading...',
},
{
icon: 'link',
label: 'Environment Version',
label,
text: 'Loading...',
},
],
});
}),
});

return [
buildProp('CE Extensions', 'jarBuildDate', 'jarLastCommitInfo'),
buildProp('Connector', 'envBuildDate', 'envLastCommitInfo'),
];
}

getUiVersionField(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export const DATA_SOURCE_HTTP_METHODS = [
'PATCH',
'DELETE',
'OPTIONS',
'HEAD',
];
export const DATA_SINK_HTTP_METHODS = DATA_SOURCE_HTTP_METHODS.filter(
(it) => it !== 'GET',
Expand Down

0 comments on commit d6242a1

Please sign in to comment.