5.2.1
The TREK app is here. TREK is now on the App Store for iPhone, iPad and Apple Watch and on Google Play for Android. Connect it to your own TREK, version 5.1.4 or newer, and your trips come with you: offline, with widgets, and on iPhone with Live Activities and your bookings in Apple Wallet. None of this would have been possible without every bug report, idea and piece of feedback from you, thank you! The update notice and Settings > Account show both stores with a QR code to scan. If you enjoy TREK, a rating or a short review in the store helps new people find it.
This release fixes the blank Mapbox basemap of 5.2.0, makes the booking import with a local AI model and the Wallet pass read hotels right, and closes a server-side request path in passkey registration. No migration, nothing to do before updating.
Fixed
Security
- Registering a passkey could make the server fetch any address (#3199). The passkey library read a revocation list address from the authenticator's certificate and fetched it before checking that certificate; TREK now uses SimpleWebAuthn 14, which only does so for a certificate chain it verified. Passkeys stored before keep working, and passkey settings with an uppercase host or a path in their origin now match. If none of the configured passkey origins can be read, passkeys now stay off with a warning in the log instead of falling back to APP_URL.
Maps and Atlas
- The Mapbox basemap stayed blank since 5.2.0 (#3189). Every Mapbox vector tile failed to load, so only raster layers such as satellite showed; Mapbox maps render again.
- The Atlas counted too few cities (#3200). A place picked from the TREK API search and a city that is its own region written beside its postcode ("10117 Berlin") counted no city, while an atoll ("Kaafu Atoll") or a country outside a short list ("Maldives") counted as one. They are read right now, so the city count can change after the update: up where cities were missed, down where an atoll or a country was counted.
Bookings
- With a local AI model, a hotel booking could be dropped from an import or a forwarded mail (#3202). A confirmation that mentioned the airport bus, the train station or the cruise port was read as a bus, train or ferry booking without the hotel's name, address and dates; when a document names several kinds of booking, the model now picks between exactly those.
- A forwarded booking mail was given up at once when the AI provider was busy, and vanished when it answered in an unexpected shape (#3192). TREK now asks a busy provider again, reads the mail again later before it gives up, and shows a mail it could not read in Pending bookings instead of dropping it; a manual import no longer adds "no reservations found" under an AI error.
- In the iPhone app, Add to Wallet refused a hotel dated by its stay (#3202). A hotel whose check-in and check-out live on its stay, or a booking linked to a day with only a time, got "Give the booking a date first"; the pass now takes the stay's or the day's dates, as the app shows them.
Planner
- On the phone, the legs to and from the hotel could not be tapped (#3202). The legs from the morning hotel, back to the evening hotel and from a booking's arrival to the next stop now open the travel mode menu in edit mode, as on the desktop. A leg from a booking's arrival to the hotel, which no stop owns, now offers the public transit search on the phone and the desktop when the trip has dates.
Sign-in
- The app's SSO sign-in could skip the identity provider (#3204). When the sign-in browser still held a TREK session from an earlier sign-in, the app continued with it, so a provider set to demand re-authentication was never asked, not even after signing out of the app. The SSO button now always goes through the identity provider, which decides as before.
Plugins and AI
- A plugin that waited for its admin to approve new permissions still showed in the menu (#3191). Its page only said "Plugin not available"; the plugin now shows as failed in Admin > Plugins with the reason, and the menu no longer offers it.
- Sign in with ChatGPT could fail on every attempt (#3196). When OpenAI refused the sign-in, TREK always blamed a timeout and kept the spent code; it now logs OpenAI's own reason, starts a fresh sign-in after any refusal and accepts the callback address without
http://.
Self-hosting
- TREK on Postgres could not connect through a Unix socket (#3197). A socket named in
TREK_DB_URL(?host=/var/run/postgresql) was ignored and backups could not reach it; the app and its backup tools now both connect through it. - The paddle region list could not be loaded (#3195). Geofabrik changed its region index and TREK refused the whole list, so Admin > Paddle data could not download new regions; the list loads again.
Internal
Tests, CI and dependencies.
- The README shows the iOS and Android apps near the top, as App Store and Google Play cards with their QR codes, and drops the PWA section, the feature tile grid and the Sonar, CI and Docker badges.
- typescript-eslint 8.73.0; Dependabot now groups MikroORM and NestJS updates and holds NestJS majors until nestjs-zod supports them (#3199).
- A public media test no longer hangs on a slow runner (#3202).
Sponsor
TREK runs on dataforest cloud. dataforest builds cloud servers made in Germany: enterprise hardware and a premium network in Frankfurt, up to 20 TB of traffic included, block storage, one-click apps and billing by the hour. They sponsor the servers behind TREK's public services, and they are a great home for your own TREK too. Get started with dataforest cloud.
