TREK logo

TREK

A self-hosted travel/trip planner with real-time collaboration, interactive maps, PWA support, SSO, budgets, packing lists, and more

Alternative to: tripit, wanderlog

TREK screenshotTREK screenshotTREK screenshot

About Versions (81)

v3.0.1

2026-04-22

Fixes a v3.0.0 regression where non-transport bookings (tours, restaurants, events, other) landed on day 1 of the trip regardless of their actual reservation_time.

Fix (#832)

  • Migration 122 — for every non-hotel reservation, nulls out any day_id / end_day_id that doesn’t match the reservation’s time, then backfills from reservation_time / reservation_end_time. Runs automatically on startup, is idempotent, and leaves already-correct rows alone.
  • reservationServicecreateReservation / updateReservation now derive day_id / end_day_id from the reservation time when the client doesn’t send one explicitly, so the mismatch can’t come back on new or edited bookings.

Upgrade

docker compose pull && docker compose up -d

No manual steps required — migration 122 runs on startup.

Note

Bookings whose reservation_time lies outside the trip’s date range (e.g. entered with the wrong month) will end up with day_id = NULL and temporarily drop out of the day plan. Open each of those and correct the date to bring them back.