From 12e1d5a31a9040e0707e1a5c0b5cf16107e7cdd0 Mon Sep 17 00:00:00 2001 From: Philippe Weidmann Date: Tue, 26 Mar 2024 11:48:56 +0100 Subject: [PATCH 1/2] chore: Update core and other dependencies --- .package.resolved | 18 +++++++++--------- Project.swift | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.package.resolved b/.package.resolved index 5146dc9ff..62933cead 100644 --- a/.package.resolved +++ b/.package.resolved @@ -42,7 +42,7 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Infomaniak/ios-core", "state" : { - "revision" : "4ab5bce9c313d99e6b127778be6eeb6d12fa059f" + "revision" : "7388c5ccc5ab177bf640968a711be2ab2f24200c" } }, { @@ -149,8 +149,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/kean/Nuke", "state" : { - "revision" : "8ecbfc886da39bccb01c34abef5f2ff4073ad633", - "version" : "12.4.0" + "revision" : "4625c73ea00a9fb4b4f3e28d95d0021a44af7e59", + "version" : "12.5.0" } }, { @@ -176,8 +176,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/realm/realm-core.git", "state" : { - "revision" : "a5e87a39cffdcc591f3203c11cfca68100d0b9a6", - "version" : "13.26.0" + "revision" : "374dd672af357732dccc135fecc905406fec3223", + "version" : "14.4.1" } }, { @@ -185,8 +185,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/realm/realm-swift", "state" : { - "revision" : "7a2f7d41ffa409978a6b5e475c2ee57f08222705", - "version" : "10.48.0" + "revision" : "e0c2fbb442979fbf1e4be80e01d142f310a9c762", + "version" : "10.49.1" } }, { @@ -194,8 +194,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/getsentry/sentry-cocoa", "state" : { - "revision" : "38f4f70d07117b9f958a76b1bff278c2f29ffe0e", - "version" : "8.21.0" + "revision" : "bf7bdd75e25556d0f97ad54fb804b4287863e106", + "version" : "8.22.4" } }, { diff --git a/Project.swift b/Project.swift index 0c1dc2cfe..f3d27c306 100644 --- a/Project.swift +++ b/Project.swift @@ -28,7 +28,7 @@ let project = Project(name: "Mail", .package(url: "https://github.com/Infomaniak/swift-concurrency", .upToNextMajor(from: "0.0.4")), .package( url: "https://github.com/Infomaniak/ios-core", - .revision("4ab5bce9c313d99e6b127778be6eeb6d12fa059f") + .revision("7388c5ccc5ab177bf640968a711be2ab2f24200c") ), .package(url: "https://github.com/Infomaniak/ios-core-ui", .upToNextMajor(from: "7.0.0")), .package(url: "https://github.com/Infomaniak/ios-notifications", .upToNextMajor(from: "5.0.0")), From 939d613503f19eda3913973eaaa7e4a40e45c259 Mon Sep 17 00:00:00 2001 From: Philippe Weidmann Date: Tue, 26 Mar 2024 13:14:42 +0100 Subject: [PATCH 2/2] fix: Ask for iso8601 date on login --- MailCore/Cache/AccountManager/AccountManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MailCore/Cache/AccountManager/AccountManager.swift b/MailCore/Cache/AccountManager/AccountManager.swift index d87ff0441..f9bf70ea4 100644 --- a/MailCore/Cache/AccountManager/AccountManager.swift +++ b/MailCore/Cache/AccountManager/AccountManager.swift @@ -239,7 +239,7 @@ public final class AccountManager: RefreshTokenDelegate, ObservableObject { private func createAndSetCurrentAccount(token: ApiToken) async throws -> Account { let apiFetcher = MailApiFetcher(token: token, delegate: self) - let user = try await apiFetcher.userProfile() + let user = try await apiFetcher.userProfile(dateFormat: .iso8601) let mailboxesResponse = try await apiFetcher.mailboxes() guard !mailboxesResponse.isEmpty else {