Skip to content

v1.3.1 - Fix Android sync failure

Choose a tag to compare

@grayankit grayankit released this 02 Mar 21:09
· 14 commits to main since this release

Bug Fixes

  • Fix server 500 on sync pull: Replaced LocalDateTime.MIN with Unix epoch in SyncRoutes.kt — the extreme timestamp value caused an ArithmeticException: long overflow in Exposed when converting to epoch millis for PostgreSQL
  • Fix client deserialization crash: Added expectSuccess = true to HttpClient so non-2xx server responses throw a clear HTTP error instead of failing with a confusing kotlinx.serialization missing fields error
  • Fix login blocked by sync failure: Sync errors after successful authentication no longer prevent navigation to the main screen — sync retries automatically via periodic sync
  • Fix empty categories after logout/reinstall: Force a full sync pull (ignoring stale lastSync timestamp) when the local database has no categories
  • Clear sync state on logout: Reset the sync timestamp when signing out so the next login starts with a clean full sync

Full Changelog: v1.3.0...v1.3.1