v0.4.0 — Version Compatibility Checking
New Features
- Version compatibility alerts: App and server now check each other's versions on every login/launch. If there's a major or minor version mismatch, a popup warns the user to update either the app or the server.
- Version display in Settings: The SERVER section in mobile settings now shows both the app version and server version, with a warning icon when mismatched.
- Per-device version tracking: The server records each device's app version (via
X-App-Versionheader). Device versions are visible in both the mobile settings and web dashboard device lists. - Public
/api/versionendpoint: Returns the server version without authentication, used by the mobile app for compatibility checks.
Technical
- New
appVersionfield on Device model (Prisma migration included) X-App-Versionheader sent on every mobile API request- Version comparison ignores patch differences (only major.minor triggers warnings)
- APK workflow now uploads to existing releases instead of failing