5.1.3
This release fixes the SSO sign-in of the TREK apps, which kept many testers of the closed app test from signing in at all. If you run TREK with SSO and test the app, please update your server; the app itself needs no update for it. The next app build will ask for TREK 5.1.3 on the server, so it is worth updating now.
The apps for iPhone, iPad, Apple Watch and Android are still in a closed test, and you can join. 👉 Sign up at liketrek.com/app-test and connect the app to a TREK server on the newest version, such as this one, or to the demo; please don't test with TREK Cloud.
Fixed
Sign-in
- Signing in to the app with SSO or a passkey still ended in the web app for many. A browser that had run TREK before 5.1.1 keeps that version in its service worker, and the worker answered the app's handoff page from its cache with a version that has no such page, so the sign-in ended on the dashboard in the browser instead of in the app. The app now starts its sign-in on a page the server always answers itself; it takes the old worker off the browser, and until the user is back in the app no worker is registered and no new version reloads the page. The browser's TREK keeps working offline as before. The handoff page also goes straight on to the sign-in provider now, instead of showing TREK's own login first.
- Password managers offered nothing for the two-factor code. The code step now keeps the account in the form and marks the field as a one-time code, and its placeholder is translated.
Planner
- Tapping a day in the day rail did not always change the plan below. On a trip of up to five days the day turned active in the rail while the card underneath stayed on the old one; the pager now follows every tap.
- Quick swipes through the days stopped after two and sprang back until the animation was over. Every day now has its page, so a run of swipes goes on as far as the trip does.
Bookings
- A hotel booking showed no check-in or check-out on its card when only the stay had them, while the edit dialog did. Both cards now show the stay's times.
- Editing only a booking's notes took a booking whose time has no date off its day, so it vanished from the planner (#3025). Such an edit now keeps its day, through the API and the MCP tools too.
Assistant
- The assistant sometimes gave the same answer twice. Asked about the next trip, it answered, offered the trip's own chat in the same step, and then wrote the answer again below that card. An answer that hands the conversation on to a trip's or a journey's chat now ends there.
Internal
Work on the native iOS and Android apps, which are in a closed test and do not ship with this release.
- Native app: a sign-in proxy that lets /api through. With Authelia or authentik in front of the page and a bypass for the API, the address check saw no proxy and the app handed the proxy's sign-in to the browser, so it stayed black on every launch; a redirect away from the server while its first page loads is now kept as the proxy's sign-in and shown in the app.
- Native app: the app needs TREK 5.1.3 on the server. The fixes that keep its sign-in in the app live on the server, so the app now refuses an older one with a hint to update. A server it remembers is checked once after the update and loads again if it is new enough.
- Native app: a way out of a proxy's sign-in page. Behind Pangolin or authentik nothing on the proxy's page led back to the address screen. A bar now offers to change the server and says that passkeys and security keys cannot work there in the app, and on iOS the page gets room for the keyboard.
- Native app: maps in the iOS app drew no tiles. The server's CSP did not allow the app's own tile store for images; it does now.
- Native app: the Live Activity said all done with flights still ahead. A flight with a stopover is a stop per leg, and a flight counts as under way until it lands.
- Native app: the notification prompt never came on iOS. It now waits for the app's features and counts as asked only once answered.
- Native app: the password field hid under the keyboard on an iPhone. A page as tall as the screen, such as the login, now gets room as tall as the keyboard and scrolls the field above it.
- Native app: the iOS build moves to Xcode 27.1, so the app fills the inner display of an iPhone Duo instead of running letterboxed.
- Native app: swipe actions fit the cards. The actions under a swiped row are rounded tiles with a gap, icon only, and an expense no longer swipes to a second pair of the buttons it already shows.
- Native app: files open in a viewer. A PDF, image or document opens in Quick Look on iOS and in the app that views its type on Android, instead of the share sheet.
- Dependencies. The npm minor and patch group, @capacitor/cli 8.6 (which drops the old uuid 7), vite-plugin-pwa 2, @nestjs/schedule 12, vitest 5 in the plugin SDK and the GitHub Actions updates. mapbox-gl stays at 3.31 for now.