Browse Source

Merge branch 'main' into task/remove-deprecated-attribute-is-excluded-from-account

pull/7253/head
Thomas Kaul 1 month ago
committed by GitHub
parent
commit
721cc6a62e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      CHANGELOG.md
  2. 2
      apps/api/src/app/portfolio/portfolio.service.ts
  3. 2
      apps/client/src/index.html
  4. 6
      libs/common/src/lib/interfaces/responses/portfolio-performance-response.interface.ts

2
CHANGELOG.md

@ -10,12 +10,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Harmonized the data format of the export functionality
- Removed the deprecated `firstOrderDate` attribute from the `GET api/v2/portfolio/performance` endpoint response
- Removed the deprecated `isExcluded` attribute of the account in favor of the _Exclude from Analysis_ tag including a data migration
- Improved the language localization for German (`de`)
- Upgraded `prisma` from version `7.8.0` to `7.9.1`
### Fixed
- Fixed the scroll behavior of the page content behind an open dialog
- Fixed the export functionality to only include the accounts of the exported activities if a filter is applied
## 3.38.0 - 2026-07-31

2
apps/api/src/app/portfolio/portfolio.service.ts

@ -1035,7 +1035,6 @@ export class PortfolioService {
return {
chart: [],
dateOfFirstActivity: undefined,
firstOrderDate: undefined,
hasErrors: false,
performance: {
currentNetWorth: 0,
@ -1093,7 +1092,6 @@ export class PortfolioService {
errors,
hasErrors,
dateOfFirstActivity: parseDate(historicalData[0]?.date),
firstOrderDate: parseDate(historicalData[0]?.date),
performance: {
netPerformance,
netPerformanceWithCurrencyEffect,

2
apps/client/src/index.html

@ -1,5 +1,5 @@
<!doctype html>
<html class="h-100 position-relative" lang="${languageCode}">
<html class="h-100" lang="${languageCode}">
<head>
<title>Ghostfolio</title>
<base href="/" />

6
libs/common/src/lib/interfaces/responses/portfolio-performance-response.interface.ts

@ -5,11 +5,5 @@ import { ResponseError } from './errors.interface';
export interface PortfolioPerformanceResponse extends ResponseError {
chart?: HistoricalDataItem[];
dateOfFirstActivity: Date;
/**
* @deprecated Use `dateOfFirstActivity` instead
*/
firstOrderDate: Date;
performance: PortfolioPerformance;
}

Loading…
Cancel
Save