From ebef361d638e75c64f966408d5385b0d07620745 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 7 Dec 2024 21:41:21 +0100 Subject: [PATCH 1/2] Bugfix/fix exception in portfolio calculator (#4109) * Fix exception in portfolio calculator * Update changelog --- CHANGELOG.md | 6 ++++++ .../src/app/portfolio/calculator/portfolio-calculator.ts | 1 + 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b162d220e..61d373992 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Fixed + +- Fixed an exception in the caching of the portfolio snapshot in the portfolio calculator + ## 2.126.0 - 2024-12-07 ### Added diff --git a/apps/api/src/app/portfolio/calculator/portfolio-calculator.ts b/apps/api/src/app/portfolio/calculator/portfolio-calculator.ts index dec0e6387..eb18b3584 100644 --- a/apps/api/src/app/portfolio/calculator/portfolio-calculator.ts +++ b/apps/api/src/app/portfolio/calculator/portfolio-calculator.ts @@ -176,6 +176,7 @@ export abstract class PortfolioCalculator { if (!transactionPoints.length) { return { currentValueInBaseCurrency: new Big(0), + errors: [], hasErrors: false, historicalData: [], positions: [], From d6357487eae6adddeb5974967574b7179d1f26a9 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 7 Dec 2024 21:43:30 +0100 Subject: [PATCH 2/2] Release 2.126.1 (#4110) --- CHANGELOG.md | 8 +------- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61d373992..2e8e4a73c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased - -### Fixed - -- Fixed an exception in the caching of the portfolio snapshot in the portfolio calculator - -## 2.126.0 - 2024-12-07 +## 2.126.1 - 2024-12-07 ### Added diff --git a/package-lock.json b/package-lock.json index 4957619e4..ecbc91c56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ghostfolio", - "version": "2.126.0", + "version": "2.126.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ghostfolio", - "version": "2.126.0", + "version": "2.126.1", "hasInstallScript": true, "license": "AGPL-3.0", "dependencies": { diff --git a/package.json b/package.json index f86c028b7..738f2db8a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "2.126.0", + "version": "2.126.1", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "repository": "https://github.com/ghostfolio/ghostfolio",