diff --git a/CHANGELOG.md b/CHANGELOG.md index fd98e3386..89651095b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Changed + +- Upgraded `@internationalized/number` from version `3.5.2` to `3.6.0` + +## 2.127.0 - 2024-12-08 + ### Added - Extended the _X-ray_ page by a summary -### Changed +### Fixed -- Upgraded `@internationalized/number` from version `3.5.2` to `3.6.0` +- Fixed an exception in the caching of the portfolio snapshot in the portfolio calculator ## 2.126.1 - 2024-12-07 diff --git a/apps/api/src/app/portfolio/calculator/twr/portfolio-calculator.ts b/apps/api/src/app/portfolio/calculator/twr/portfolio-calculator.ts index 6c0d230b0..3f53ee04b 100644 --- a/apps/api/src/app/portfolio/calculator/twr/portfolio-calculator.ts +++ b/apps/api/src/app/portfolio/calculator/twr/portfolio-calculator.ts @@ -101,6 +101,7 @@ export class TWRPortfolioCalculator extends PortfolioCalculator { totalInterestWithCurrencyEffect, totalInvestment, totalInvestmentWithCurrencyEffect, + errors: [], historicalData: [], totalLiabilitiesWithCurrencyEffect: new Big(0), totalValuablesWithCurrencyEffect: new Big(0) diff --git a/libs/common/src/lib/models/portfolio-snapshot.ts b/libs/common/src/lib/models/portfolio-snapshot.ts index e51931711..46bd5c18f 100644 --- a/libs/common/src/lib/models/portfolio-snapshot.ts +++ b/libs/common/src/lib/models/portfolio-snapshot.ts @@ -13,7 +13,7 @@ export class PortfolioSnapshot { @Type(() => Big) currentValueInBaseCurrency: Big; - errors?: AssetProfileIdentifier[]; + errors: AssetProfileIdentifier[]; hasErrors: boolean; diff --git a/package-lock.json b/package-lock.json index 5528100b3..11a3138ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ghostfolio", - "version": "2.126.1", + "version": "2.127.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ghostfolio", - "version": "2.126.1", + "version": "2.127.0", "hasInstallScript": true, "license": "AGPL-3.0", "dependencies": { diff --git a/package.json b/package.json index 98fa1e6f1..135829b1e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "2.126.1", + "version": "2.127.0", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "repository": "https://github.com/ghostfolio/ghostfolio",