Skip to content

Commit 9fc6389

Browse files
committed
Bump to version 25.12.07 (matrix-rust-sdk/main 238e4e8a87baad51bcfd44c619f0caa985472cc3)
1 parent 2c54951 commit 9fc6389

File tree

7 files changed

+1487
-838
lines changed

7 files changed

+1487
-838
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// swift-tools-version:5.9
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33
import PackageDescription
4-
let checksum = "fbf2170ebec047ee80acdfbdc79a88cd9c8dd0b37e71fb458b28b262ab6cebc5"
5-
let version = "25.12.03"
4+
let checksum = "97c960bb01bd17301fc3ecb6fc5c14b96971ea86fc35e811b138fcf462ca1b87"
5+
let version = "25.12.07"
66
let url = "https://github.com/element-hq/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
77
let package = Package(
88
name: "MatrixRustSDK",

Sources/MatrixRustSDK/matrix_sdk.swift

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,11 @@ open class OAuthAuthorizationData: OAuthAuthorizationDataProtocol, @unchecked Se
572572
// No primary constructor declared for this class.
573573

574574
deinit {
575-
guard handle != 0 else { return }
575+
if handle == 0 {
576+
// Mock objects have handle=0 don't try to free them
577+
return
578+
}
579+
576580
try! rustCall { uniffi_matrix_sdk_fn_free_oauthauthorizationdata(handle, $0) }
577581
}
578582

@@ -739,6 +743,8 @@ public struct RoomPowerLevelChanges: Equatable, Hashable {
739743
}
740744

741745

746+
747+
742748
}
743749

744750
#if compiler(>=6)
@@ -824,6 +830,8 @@ public struct ServerVendorInfo: Equatable, Hashable {
824830
}
825831

826832

833+
834+
827835
}
828836

829837
#if compiler(>=6)
@@ -997,6 +1005,8 @@ public struct VirtualElementCallWidgetConfig: Equatable, Hashable {
9971005
}
9981006

9991007

1008+
1009+
10001010
}
10011011

10021012
#if compiler(>=6)
@@ -1210,6 +1220,8 @@ public struct VirtualElementCallWidgetProperties: Equatable, Hashable {
12101220
}
12111221

12121222

1223+
1224+
12131225
}
12141226

12151227
#if compiler(>=6)
@@ -1304,6 +1316,8 @@ public enum BackupDownloadStrategy: Equatable, Hashable {
13041316

13051317

13061318

1319+
1320+
13071321
}
13081322

13091323
#if compiler(>=6)
@@ -1397,6 +1411,8 @@ public enum EncryptionSystem: Equatable, Hashable {
13971411

13981412

13991413

1414+
1415+
14001416
}
14011417

14021418
#if compiler(>=6)
@@ -1483,6 +1499,8 @@ public enum HeaderStyle: Equatable, Hashable {
14831499

14841500

14851501

1502+
1503+
14861504
}
14871505

14881506
#if compiler(>=6)
@@ -1574,6 +1592,8 @@ public enum Intent: Equatable, Hashable {
15741592

15751593

15761594

1595+
1596+
15771597
}
15781598

15791599
#if compiler(>=6)
@@ -1660,6 +1680,8 @@ public enum NotificationType: Equatable, Hashable {
16601680

16611681

16621682

1683+
1684+
16631685
}
16641686

16651687
#if compiler(>=6)
@@ -1743,6 +1765,8 @@ public enum PaginatorState: Equatable, Hashable {
17431765

17441766

17451767

1768+
1769+
17461770
}
17471771

17481772
#if compiler(>=6)
@@ -1884,6 +1908,8 @@ public enum QrCodeLoginError: Swift.Error, Equatable, Hashable, Foundation.Local
18841908

18851909

18861910

1911+
1912+
18871913
public var errorDescription: String? {
18881914
String(reflecting: self)
18891915
}
@@ -2041,6 +2067,8 @@ public enum RoomMemberRole: Equatable, Hashable {
20412067

20422068

20432069

2070+
2071+
20442072
}
20452073

20462074
#if compiler(>=6)
@@ -2132,6 +2160,8 @@ public enum RoomPaginationStatus: Equatable, Hashable {
21322160

21332161

21342162

2163+
2164+
21352165
}
21362166

21372167
#if compiler(>=6)
@@ -2372,7 +2402,7 @@ private let initializationResult: InitializationResult = {
23722402
if bindings_contract_version != scaffolding_contract_version {
23732403
return InitializationResult.contractVersionMismatch
23742404
}
2375-
if (uniffi_matrix_sdk_checksum_method_oauthauthorizationdata_login_url() != 25566) {
2405+
if (uniffi_matrix_sdk_checksum_method_oauthauthorizationdata_login_url() != 47865) {
23762406
return InitializationResult.apiChecksumMismatch
23772407
}
23782408

Sources/MatrixRustSDK/matrix_sdk_base.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,8 @@ public struct MediaRetentionPolicy: Equatable, Hashable {
627627
}
628628

629629

630+
631+
630632
}
631633

632634
#if compiler(>=6)
@@ -694,6 +696,8 @@ public enum EncryptionState: Equatable, Hashable {
694696

695697

696698

699+
700+
697701
}
698702

699703
#if compiler(>=6)

Sources/MatrixRustSDK/matrix_sdk_common.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ public enum ShieldStateCode: Equatable, Hashable {
497497

498498

499499

500+
501+
500502
}
501503

502504
#if compiler(>=6)

Sources/MatrixRustSDK/matrix_sdk_crypto.swift

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,8 @@ public struct DecryptionSettings: Equatable, Hashable {
481481
}
482482

483483

484+
485+
484486
}
485487

486488
#if compiler(>=6)
@@ -567,6 +569,8 @@ public enum CollectStrategy: Equatable, Hashable {
567569

568570

569571

572+
573+
570574
}
571575

572576
#if compiler(>=6)
@@ -670,6 +674,8 @@ public enum IdentityState: Equatable, Hashable {
670674

671675

672676

677+
678+
673679
}
674680

675681
#if compiler(>=6)
@@ -764,6 +770,8 @@ public enum LocalTrust: Equatable, Hashable {
764770

765771

766772

773+
774+
767775
}
768776

769777
#if compiler(>=6)
@@ -880,6 +888,8 @@ public enum LoginQrCodeDecodeError: Swift.Error, Equatable, Hashable, Foundation
880888

881889

882890

891+
892+
883893
public var errorDescription: String? {
884894
String(reflecting: self)
885895
}
@@ -1006,6 +1016,8 @@ public enum SignatureState: Equatable, Hashable {
10061016

10071017

10081018

1019+
1020+
10091021
}
10101022

10111023
#if compiler(>=6)
@@ -1098,6 +1110,8 @@ public enum TrustRequirement: Equatable, Hashable {
10981110

10991111

11001112

1113+
1114+
11011115
}
11021116

11031117
#if compiler(>=6)
@@ -1252,6 +1266,8 @@ public enum UtdCause: Equatable, Hashable {
12521266

12531267

12541268

1269+
1270+
12551271
}
12561272

12571273
#if compiler(>=6)

0 commit comments

Comments
 (0)