From 1de6f660c19a68c401054418b63ce6cad072a2c5 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 25 Oct 2026 13:10:01 +0100 Subject: [PATCH 1/5] Bugfix/race condition in upsert of account balance (#8306) * Fix race condition in upsert of account balance * Update changelog --- CHANGELOG.md | 1 + .../account-balance/account-balance.service.ts | 16 ++++++---------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e2ca220f7..91f0ab98de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fixed a race condition in the creation of an account balance - Fixed the handling of an output of the model which does not agree with the schema in the import of activities with _Ghostfolio AI_ (experimental) ## 3.92.0 - 2026-10-24 diff --git a/apps/api/src/app/account-balance/account-balance.service.ts b/apps/api/src/app/account-balance/account-balance.service.ts index afa4386e01..15358a8486 100644 --- a/apps/api/src/app/account-balance/account-balance.service.ts +++ b/apps/api/src/app/account-balance/account-balance.service.ts @@ -51,17 +51,13 @@ export class AccountBalanceService { }: CreateAccountBalanceDto & { userId: string; }): Promise { + const dateOfBalance = resetHours(parseISO(date)); + const accountBalance = await this.prismaService.accountBalance.upsert({ create: { - account: { - connect: { - id_userId: { - userId, - id: accountId - } - } - }, - date: resetHours(parseISO(date)), + accountId, + userId, + date: dateOfBalance, value: balance }, update: { @@ -71,7 +67,7 @@ export class AccountBalanceService { accountId_userId_date: { accountId, userId, - date: resetHours(parseISO(date)) + date: dateOfBalance } } }); From fa57e2d746ce71dba7536df75ce2e38faa0db76f Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 25 Oct 2026 13:10:41 +0100 Subject: [PATCH 2/5] Task/move allocation and quantity in accounts tab of holding detail dialog from experimental to general availability (#8310) * Move allocation and quantity from experimental to general availability * Update changelog --- CHANGELOG.md | 2 ++ .../holding-detail-dialog/holding-detail-dialog.html | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91f0ab98de..ec51836369 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Moved the allocation in the accounts tab of the holding detail dialog from experimental to general availability +- Moved the quantity in the accounts tab of the holding detail dialog from experimental to general availability - Improved the style of the menu button in the asset profile details dialog of the admin control panel - Improved the style of the menu button in the user detail dialog of the admin control panel - Improved the consistency of the import of activities with _Ghostfolio AI_ (experimental) diff --git a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html index a618f80dfa..ad9fb58f54 100644 --- a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html +++ b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html @@ -413,10 +413,10 @@ [hasPermissionToOpenDetails]="false" [locale]="user?.settings?.locale" [showActivitiesCount]="false" - [showAllocationInPercentage]="user?.settings?.isExperimentalFeatures" + [showAllocationInPercentage]="true" [showBalance]="false" [showFooter]="false" - [showQuantity]="user?.settings?.isExperimentalFeatures" + [showQuantity]="true" [showValue]="false" [showValueInBaseCurrency]="false" /> From 919e24aacc9c1640e1956b635ef83b5c0663ce4a Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 25 Oct 2026 14:02:28 +0100 Subject: [PATCH 3/5] Task/move support for filtering by activity type from experimental to general availability (#8311) * Move support for filtering by activity type from experimental to general availability * Update changelog --- CHANGELOG.md | 1 + .../src/app/pages/portfolio/activities/activities-page.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec51836369..a93c6468c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Moved the support for filtering by activity type on the activities page from experimental to general availability - Moved the allocation in the accounts tab of the holding detail dialog from experimental to general availability - Moved the quantity in the accounts tab of the holding detail dialog from experimental to general availability - Improved the style of the menu button in the asset profile details dialog of the admin control panel diff --git a/apps/client/src/app/pages/portfolio/activities/activities-page.html b/apps/client/src/app/pages/portfolio/activities/activities-page.html index 102f58a31b..2b89ee8b20 100644 --- a/apps/client/src/app/pages/portfolio/activities/activities-page.html +++ b/apps/client/src/app/pages/portfolio/activities/activities-page.html @@ -11,7 +11,7 @@ [hasPermissionToCreateActivity]="hasPermissionToCreateActivity" [hasPermissionToDeleteActivity]="hasPermissionToDeleteActivity" [hasPermissionToExportActivities]="!hasImpersonationId" - [hasPermissionToFilterByType]="user?.settings?.isExperimentalFeatures" + [hasPermissionToFilterByType]="true" [hasPermissionToImportActivities]="hasPermissionToImportActivities" [hasPermissionToUpdateActivity]="hasPermissionToUpdateActivity" [locale]="user?.settings?.locale" From 4ace6716e36906dae870e1bb4e45af7fcf8b9c20 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 25 Oct 2026 17:05:45 +0100 Subject: [PATCH 4/5] Task/show AI-assisted import checkbox to Basic users (#8309) * Extend visibility of AI-assisted import to users without a subscription --- .../import-activities-dialog.component.ts | 2 ++ .../import-activities-dialog.html | 27 ++++++++++++------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts b/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts index 21136af668..5f0ca17ed4 100644 --- a/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts +++ b/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts @@ -26,6 +26,7 @@ import { FileFormat, GfFileDropAreaComponent } from '@ghostfolio/ui/file-drop-area'; +import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; import { DataService } from '@ghostfolio/ui/services'; import { @@ -90,6 +91,7 @@ import { GfDialogFooterComponent, GfDialogHeaderComponent, GfFileDropAreaComponent, + GfPremiumIndicatorComponent, IonIcon, MatButtonModule, MatCheckboxModule, diff --git a/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html b/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html index eea156f9c2..4f46afc20a 100644 --- a/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html +++ b/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html @@ -82,25 +82,32 @@ (fileSelected)="onFileSelected({ stepper, file: $event })" /> @if ( - data.deviceType !== 'mobile' && hasPermissionToEnableGhostfolioAi + data.deviceType !== 'mobile' && + (hasPermissionToEnableGhostfolioAi || + (data.user?.subscription?.type === 'Basic' && + data.user?.settings?.isExperimentalFeatures)) ) {
AI-assisted import - - - + @if (data.user?.subscription?.type === 'Basic') { + + } @else { + + + + }
} From 5ab32ffc1ef539e72ed88af19a20168223e8dcb8 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 25 Oct 2026 17:08:21 +0100 Subject: [PATCH 5/5] Release 3.93.0 (#8314) --- CHANGELOG.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a93c6468c9..835df19a77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +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 +## 3.93.0 - 2026-10-25 ### Changed diff --git a/package-lock.json b/package-lock.json index 26b90cf53c..1818f41301 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ghostfolio", - "version": "3.92.0", + "version": "3.93.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ghostfolio", - "version": "3.92.0", + "version": "3.93.0", "hasInstallScript": true, "license": "AGPL-3.0", "dependencies": { diff --git a/package.json b/package.json index 2ecf58a1cf..e4b37e82de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "3.92.0", + "version": "3.93.0", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "repository": "https://github.com/ghostfolio/ghostfolio",