Commit Graph

693 Commits

Author SHA1 Message Date
Doug 4608a63e29 Fix some isolation errors when compiling with Swift 6.4. (#6148)
* Fix some isolation errors when compiling with Swift 6.4.

* Update the Design Tokens dependency to include Sendable conformances.
2026-09-10 15:22:53 +01:00
Doug 9fe64b7cd4 Update the SDK. 2026-09-10 08:27:08 +03:00
Doug 0cff8bd98e Update the SDK. (#6134)
Update the SDK handling API breaks.
2026-09-08 13:48:52 +01:00
Stefan Ceriu 350d47c94a Bump the RustSDK to v26.09.07 2026-09-07 15:34:44 +03:00
renovate[bot] b4395d948f Update dependency siteline/SwiftUI-Introspect to v26.0.2 (#6104)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-04 08:58:42 +01:00
Matthew Hodgson eec2facab1 Add a Mentions room list filter (#5885)
* Add a Mentions room list filter

Adds a new filter chip to the room list that shows only rooms with
unread mentions, using the new mentions room list filter from the
Rust SDK (matrix-org/matrix-rust-sdk branch matthew/mentions-filter).

The SDK version needs bumping to a release that includes the new
filter kind before this can build against the released components.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Order the room list filters by expected usage

Move Favourites ahead of People and Rooms so the more commonly used
filters (Unreads, Mentions, Favourites) sit first in the chip row —
Rooms and Invites are used rarely enough that it's fine for them to
wrap off the side.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uk8aPxHn3BHCe52L226jdG

* update the SDK and use the appropriate rust filter types

* preview tests + app settings flag for mentions

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Mauro Romito <mauro.romito@element.io>
2026-09-01 18:08:00 +02:00
Mauro 9f7e30820b Use server name from user id function (#6082)
update sdk and use the new server from user id function from the sdk
2026-08-27 16:28:40 +02:00
Element CI ca1d44a53d Run XcodeGen, update Package.resolved and Settings.bundle 2026-08-26 10:49:48 +02:00
Mauro Romito d611bad03b update sdk to 26.08.25 2026-08-25 15:04:10 +02:00
renovate[bot] dd84da15b0 Update dependency element-hq/compound-design-tokens to v10.2.4 2026-08-21 12:28:41 +03:00
Stefan Ceriu 28966c8397 Update PostHog 2026-08-18 11:55:32 +03:00
Doug 224edafabd Update the SDK fixing some user status bugs. (#6037)
- Room heroes weren't being updated when their status changed.
- A user's own profile would go missing after removing their avatar (or setting any field to null).
2026-08-17 14:17:11 +01:00
Doug 809965f693 Update the SDK. (#6030)
Use the new Profiles sync extension check for more reactive user profiles.
2026-08-14 16:34:08 +01:00
Stefan Ceriu f7f55024ab Fix the flaky ElementCallServiceTests by replacing TestClock
The suite intermittently hung on CI, most recently for the full 2 minute time
limit on lifetimeIsCapped(). A spindump from a failed run shows the process
suspended rather than spinning (0.247s of CPU over 190s) with a background
priority worker thread sitting runnable for roughly 145 seconds without ever
being scheduled.

That band is exactly what swift-clocks' TestClock depends on to make progress:
both advance() and checkSuspension() await Task.megaYield(), which serially
awaits 20 detached tasks at background priority. On an oversubscribed runner
those never run, so the test waits forever instead of failing. The same
mechanism, less starved, is why two of the passing tests took 1.0s and 0.77s
for what is otherwise pure logic. checkSuspension() made it worse, since
asking whether a timer was armed cost a megaYield per poll.

ManualClock replaces it. It holds a single pending sleep, since that is all a
test needs to step through: the sleep registers a continuation, advance(by:)
resumes it synchronously once its deadline passes, and waitForScheduledSleep()
suspends until the timer is armed instead of polling for it. Nothing in the
path touches background priority and no loop's iteration count depends on the
scheduler. The suite now runs in 0.019s, and under a locally saturated CPU the
old version took 1.005s against the new one's 0.037s.

Also drops the now unused Clocks package, removes the 2 minute time limit that
was papering over the starvation, re-enables callIsTimingOut() which the same
flakiness had disabled, and has lifetimeIsCapped() assert the 90 second cap
directly rather than inferring it from when the timer fires.
2026-08-14 16:16:53 +03:00
renovate[bot] 9c0d17c79c Update Project Dependencies (#6011)
* Update Project Dependencies

* Run XcodeGen, update Package.resolved and Settings.bundle

* Run XcodeGen, update Package.resolved and Settings.bundle

* Opt out of PostHog's ridiculous new notification tracking.

Shouldn't be necessary given we have swizzling disabled, but just to be safe.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Element CI <ci@element.io>
Co-authored-by: Doug <douglase@element.io>
2026-08-12 13:29:38 +01:00
Doug 0b0b8a96ff Update the SDK. (#6010) 2026-08-11 12:46:15 +00:00
Doug aeffd942ec Update the SDK with a fix for read receipts. (#5991) 2026-08-07 13:41:48 +01:00
Doug f422208399 Update the SDK and handle some API breaks. (#5986) 2026-08-06 10:54:10 +01:00
renovate[bot] 68f7f2b301 Update dependency pointfreeco/swift-snapshot-testing to v1.19.4 2026-08-05 08:26:21 +03:00
renovate[bot] d8cb49e892 Update Project Dependencies (#5940) 2026-07-31 11:10:22 +01:00
Mauro Romito 55bbc301ef update sdk to 26-7-28 2026-07-28 19:40:53 +02:00
Stefan Ceriu 27928480d5 Bump the RustSDK to v26.07.23
In order to pull in https://github.com/matrix-org/matrix-rust-sdk/pull/6710 and
index more room message types
2026-07-27 10:05:00 +03:00
Mauro Romito 1770e1d815 Update SDK to 26.07.22 2026-07-22 17:24:19 +02:00
Doug a6466e80e0 Update the SDK and use RoomHero.status and subscribeToOwnProfile. (#5905)
* Update the SDK and hook up the status from Room Heroes.

Also start requesting profiles via sss when the feature flag is enabled.

* Add support for subscribing to your own profile.
2026-07-22 12:18:02 +01:00
Element CI 1158ce61fa Run XcodeGen, update Package.resolved and Settings.bundle 2026-07-16 19:31:11 +02:00
renovate[bot] f61c700092 Update dependency pointfreeco/swift-snapshot-testing to v1.19.3 2026-07-16 10:23:33 +02:00
Doug a2ba9c4999 Update the SDK. (#5889) 2026-07-15 14:19:50 +01:00
Element CI 8bc676e2d0 Run XcodeGen, update Package.resolved and Settings.bundle 2026-07-15 14:07:27 +02:00
Element CI 6e3a6b986a Run XcodeGen, update Package.resolved and Settings.bundle 2026-07-15 12:18:46 +02:00
Doug 85f28d017d Update the SDK and handle API breaks. (#5871)
* Update the SDK and handle API breaks.

* Rename sdkUserThing to rustUserThing for consistency.

* Add user status ClientProxy methods.

* Rename UserStatus.UserSet to UserStatus.Raw.
2026-07-14 16:35:37 +01:00
Doug 97990b2877 Update the SDK and Compound tokens. (#5857)
* Update Compound Design Tokens.

No changes, just makes some new ones available.

* Update the SDK.
2026-07-13 09:49:15 +01:00
renovate[bot] 1e451ac3e3 Update Project Dependencies (#5818)
* Update Project Dependencies

* Run XcodeGen, update Package.resolved and Settings.bundle

# Conflicts:
#	ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

* Run XcodeGen, update Package.resolved and Settings.bundle

* updated package

* Run XcodeGen, update Package.resolved and Settings.bundle

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Element CI <ci@element.io>
Co-authored-by: Mauro Romito <mauro.romito@element.io>
2026-07-06 18:01:05 +02:00
Mauro 0a77ba6c90 Swift format enforce isEmpty rule (#5843)
* swift format enforce isEmpty rule

* revert scheme

* use trailing closure
2026-07-06 15:39:16 +02:00
Stefan Ceriu 000bf81f95 Bump the RustSDK to a new "apple-release" profile build distribution
and hopefuly a smaller binary size
2026-07-03 16:34:14 +03:00
Stefan Ceriu a433793418 Bump the RustSDK to v26.07.02 2026-07-03 13:39:45 +03:00
Mauro Romito bed5e0c288 update sdk 26.06.30 2026-06-30 15:15:36 +02:00
renovate[bot] 17ae3bcce7 Update dependency swiftlang/swift-syntax to v603 (#5803)
* Update dependency swiftlang/swift-syntax to v603

* Stop hiding Package.resolved file contents in GH reviews.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2026-06-30 08:50:37 +01:00
Stefan Ceriu b9476f65a3 Bump the RustSDK to 26.06.23 2026-06-23 18:59:13 +03:00
renovate[bot] 18fac944f5 Update Project Dependencies (#5750)
* Update Project Dependencies

* Run XcodeGen, update Package.resolved and Settings.bundle

* Run XcodeGen, update Package.resolved and Settings.bundle

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Element CI <ci@element.io>
2026-06-18 06:34:20 +00:00
Element CI cb491ab4ac Run XcodeGen, update Package.resolved and Settings.bundle 2026-06-17 08:52:00 +03:00
Doug 404efa0d66 Update the SDK. (#5743) 2026-06-16 16:27:42 +01:00
Stefan Ceriu de0b6507ef Attempt to fix XcodeCloud errors
An out-of-date resolved file was detected at /Volumes/workspace/repository/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved, which is not allowed when automatic dependency resolution is disabled; please make sure to update the file to reflect the changes in dependencies. Running resolver because requirements have changed.
2026-06-14 10:58:04 +03:00
renovate[bot] b6943a6142 Update Compound to v10.2.2 2026-06-12 16:34:34 +03:00
Element CI e8d9420c3c Run XcodeGen, update Package.resolved and Settings.bundle 2026-06-04 09:21:55 +03:00
Mauro Romito fb7c6831ed update sdk to 26.06.03
# Conflicts:
#	ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
2026-06-03 12:24:41 +02:00
Doug e9f66bda37 Use the new crop icon from Compound. (#5691) 2026-06-03 11:11:39 +01:00
Stefan Ceriu b8f13428df Update the project file and the Package.resolved 2026-06-03 09:24:35 +03:00
Mauro Romito ef82d184fe updated sdk to 26.05.26 2026-05-26 13:49:13 +02:00
renovate[bot] d06418a436 Update dependency element-hq/compound-design-tokens to v10.2.0 2026-05-26 14:11:32 +03:00
Mauro Romito 26f3f699a5 update SDK to 26.05.21 2026-05-21 20:58:00 +02:00