Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Release 1.205.1 (#1368)

Thomas Kaul805f4b05beef
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 520a6d6e0c..c7e3f23637 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,13 +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).
-## 1.205.0 - 16.10.2022
+## 1.205.1 - 16.10.2022
### Changed
- Persisted the language on url change
- Improved the portfolio evolution chart
-- Removed the data source type `RAKUTEN`
- Refactored the appearance (dark mode) in user settings (from `appearance` to `colorScheme`)
- Improved the wording on the landing page
diff --git a/apps/client/src/app/core/auth.guard.ts b/apps/client/src/app/core/auth.guard.ts
index 349d44fb40..fca271755b 100644
--- a/apps/client/src/app/core/auth.guard.ts
+++ b/apps/client/src/app/core/auth.guard.ts
@@ -77,9 +77,13 @@ export class AuthGuard implements CanActivate {
if (userLanguage && document.documentElement.lang !== userLanguage) {
this.dataService
- .putUserSetting({ language: userLanguage })
+ .putUserSetting({ language: document.documentElement.lang })
.subscribe(() => {
this.userService.remove();
+
+ setTimeout(() => {
+ window.location.reload();
+ }, 300);
});
resolve(false);
diff --git a/package.json b/package.json
index fac7e9c3a4..25e04c86f3 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ghostfolio",
- "version": "1.205.0",
+ "version": "1.205.1",
"homepage": "https://ghostfol.io",
"license": "AGPL-3.0",
"scripts": {
diff --git a/prisma/migrations/20221016065824_removed_rakuten_from_data_source/migration.sql b/prisma/migrations/20221016065824_removed_rakuten_from_data_source/migration.sql
deleted file mode 100644
index 448e240ec6..0000000000
--- a/prisma/migrations/20221016065824_removed_rakuten_from_data_source/migration.sql
+++ /dev/null
@@ -1,9 +0,0 @@
--- AlterEnum
-BEGIN;
-CREATE TYPE "DataSource_new" AS ENUM ('ALPHA_VANTAGE', 'EOD_HISTORICAL_DATA', 'GHOSTFOLIO', 'GOOGLE_SHEETS', 'MANUAL', 'RAPID_API', 'YAHOO');
-ALTER TABLE "MarketData" ALTER COLUMN "dataSource" TYPE "DataSource_new" USING ("dataSource"::text::"DataSource_new");
-ALTER TABLE "SymbolProfile" ALTER COLUMN "dataSource" TYPE "DataSource_new" USING ("dataSource"::text::"DataSource_new");
-ALTER TYPE "DataSource" RENAME TO "DataSource_old";
-ALTER TYPE "DataSource_new" RENAME TO "DataSource";
-DROP TYPE "DataSource_old";
-COMMIT;
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index e17f060b78..062d59b06e 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -206,6 +206,7 @@ enum DataSource {
GHOSTFOLIO
GOOGLE_SHEETS
MANUAL
+ RAKUTEN
RAPID_API
YAHOO
}