github liketrek/TREK v5.1.2

57 minutes ago

5.1.2

Full diff since 5.1.1

Test the TREK apps

The TREK apps for iPhone, iPad, Apple Watch and Android are in a closed test, and you can join. They run on your own TREK server and add what a browser cannot: home and lock screen widgets, an Apple Watch app, encrypted push notifications, offline maps, sharing from any app into a trip, Wallet passes, and layouts made for iPad, tablets and foldables.

👉 Sign up at liketrek.com/app-test: pick Apple or Android, tick the devices you can test on, and leave the email of your Apple ID or Google account. 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

Photos

  • Synology Photos: journey photos took the capture date and place of the next photo. On libraries where Synology's item and thumbnail ids match, the metadata came from the neighbouring item; TREK now takes only the item the thumbnail belongs to. Photos attached before this release are asked again once after the update and get their own date and place back. (Closes #3019)

Trips and packing

  • The packing list's weight field dropped digits on a slow connection and saved the wrong weight. It saved on every keystroke, so a slow reply put the old value back under the cursor; it now keeps what is typed and saves once, on blur or Enter. (#3015, Closes #3005)

  • Opening a trip on a slow connection looked like the app had stopped. The phone held a still picture of the dashboard for up to 0.8 s and then showed an empty background; it now holds the dashboard for 0.35 s at most, and a trip that takes longer shows its loading screen right after.

  • Swiping between days on a phone took long to settle. The detent now ticks as soon as the swipe is decided, and a second swipe made while the first still snaps carries on to the next day.

  • On a phone, tapping a booking opened its editor straight away. A transport showed its details first, a stay, a table or a ticket did not; every booking now opens the same detail sheet with a pencil to edit, as on the desktop. Its Wallet and Map buttons read short.

Dashboard

  • The dashboard jumped while it loaded, and the currency widget flickered through other pairs. The hero, the atlas cards and the collections widget now hold their size while they load, and the currency widget shows only the saved pair with its own rates, so "1 JPY = 1.0000 EUR" can no longer appear. (#3015, Closes #3009)
  • The home screen app on an iPhone or iPad started on a black screen for seconds with many map tiles stored. iOS reads every stored tile before the app can start; the offline tiles there now keep to 2,048 and a fuller cache is trimmed once a day. (#3015, Closes #3008)

Assistant

  • The assistant on Claude Sonnet 5.5 still came back without an answer at times. Asked for its answer, the model sometimes offered its follow-ups once more instead of writing; that step may now only be answered with text. (#3018, Closes #3016)

Sign-in

  • The language picker on the login page sat under the status bar on a phone with a notch. It now stands below it.

Internal

Work on the native iOS and Android apps, which are in a closed test and do not ship with this release.

  • Native app: client certificates (mTLS). A server behind a proxy that lets in only devices with a client certificate (Cloudflare, nginx, Caddy, Traefik, HAProxy) is recognised on the address screen, which offers to add a .p12 or .pfx file; the certificate is shown only to that server and can be replaced or removed in the settings.
  • Native app: closing the plan pane on a tablet left the map half black. Mapbox GL measured its box only on window resizes; every GL map now follows its own box. (Closes #3023)
  • Native app: a sign-in proxy in front of TREK. A server behind Cloudflare Access, Pangolin, authentik, Authelia, OAuth2 Proxy or Basic Auth was called "not TREK"; the app now names the proxy and signs in to it inside the app, or says how to let the app through. (#3017)
  • Native app: SSO and passkeys. A sign-in that the provider finished in another tab now always returns to the app, the handoff button shows its label, a passkey sign-in asks for the passkey straight away, and on some Android phones the sign-in tab opens again. (Closes #3014)
  • Native app: Android's back gesture on the first screens steps back as the screen's own back button does.
  • Native app: feels native. No text selection on a long press, taps without hover tints or focus rings, fitting keyboards, haptics, system confirmations, swipe rows and long-press menus, placeholders while loading, iOS app icon quick actions, no double-tap zoom on the first screens, and a keyboard that closes on the claim screen.
  • Native app: buying TREK Cloud ends signed in. The claim screen asks for the password of the new TREK and opens it signed in once it is ready.
  • A centrally administered install can declare the routes it serves without a session. The managed attachment point exports them (empty in this repository), and the boot gate allows exactly those.

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.

Don't miss a new TREK release

NewReleases is sending notifications on new releases.