Skip to content

Caravella 2.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 07:49
c7ffe89

Added

  • After an update to a new version, a short notice says so with a "What's new" button, once; a small dot on the settings button and on Settings › Info › What's new stays until you open it. Nothing on a first install or after a small fix release
  • A clearer expense page. Opening an expense no longer shows "Edit expense" and a centered "€ 42": the top now reads like the expense itself, with the group and date on a small line ("Norway · Tue 17 Nov"), the description as the title (tap to change it) and the amount large at the start with its currency after it ("42 €"), then who paid and each one's share ("Paid by Anna · 21.00 € per person"). Share and Delete moved into a ⋯ menu, so a red bin is no longer the loudest thing on the page; Save stays grey until something changes; who added or edited the expense (shared groups) is at the end. Paid by, category and the details (place, attachments, note) are as before
  • A smoother start. The launch screen now has Home's own background (light or dark) with the app icon, instead of the full teal one, and stays until Home has its groups, so Home no longer flashes empty. Then the icon shrinks and fades as the screen turns into Home, and Home's greeting, card and shortcuts rise in one after the other (about half a second in all, and only when the app starts). With animations turned off on the phone, Home just appears
  • Group cards redesigned. The whole card is in a soft tint of the group color, with the text in a deep shade of it (at least 4.5:1 in both themes) and the group type's icon drawn large and faint in the corner; groups without a color are neutral grey instead of white. Under a photo the card takes the photo's own tone, light for a light photo in the light theme and dark otherwise, and the photo melts into it with no dark veil; each photo's tone is measured when it is set and kept, so cards show it at once, and the photo fades in over its tone instead of popping in. Home shows the type, title and dates, then "Total | Today", and no longer the spending wave, which rarely had room (the charts are in Statistics); the two Home cards keep their height from the first expense to the third. The Groups page is a grid of tiles all the same size, three rows on a phone, most recent activity first; the favorite is no longer a wide card on top but has a heart on its chip, since Home already shows it. On the group page the type is an icon next to the favorite's heart, and the budget ring takes the text color. The photo crop previews show the new cards, in the tone the crop will give them
  • A second currency per group, for a trip abroad. In General, Currency opens one sheet: the group's currency ("Balances, totals and budget") and, under "Expenses also in", a second currency with its rate, typed in once ("1 € = 11.63 kr", from the card statement; no internet). In the expense form a quiet grey "in kr" under the amount types the receipt's amount in kr, with "= 38.69 € · in €" below it; the line keeps its height, so nothing moves, and a new expense starts in the currency of the group's latest one. The group counts the converted amount: totals, balances, statistics, budget and charts stay in the group's currency. The list shows the receipt's amount small under each such expense, and editing it opens it in kr at the rate it was entered with (a new rate only applies to new expenses). CSV export gains "Original amount" and "Original currency" columns when they're used. Changing the group's currency to the second one drops it; to another asks for the rate again. Stored with the group and its expenses (SQLite schema v10 adds groups.second_currency and expenses.original) and synced in format 2; a 2.4 device keeps them. Also, General now names a group's currency from its symbol instead of calling every currency Euro (#605)
  • Group budget. In the group's settings, "Budget" (under Categories) sets how much the group means to spend: in total, per month, per week or per day, in the group's currency (a trip starts on "In total", other groups on "Monthly"). The group page stays as without one: the budget is in Statistics, a card under the spending pace like the map one, with the budget and a calm word on how it's going ("600 € a month · on track", or "a bit above plan"), with no figures, bars or warning colors; without a budget it says "Not set" and sets one. Tapping it opens the budget, read top to bottom: the title with the budget ("600 € a month"), what's left in the period (or how far over it, in amber), its bar with today marked on it, one line on today ("Today you can still spend 11.31 €", or that the month's budget has run out) with the average per day so far, and, for monthly, weekly and daily budgets, the three periods before. A daily budget's period is today. "Change budget" opens the period and amount in the same sheet, with Save and "Remove budget" under it. Home and Statistics don't change. Stored with the group (SQLite schema v9 adds groups.budget_amount and budget_period) and synced with it (#603)
  • Settle up: tick a payment as paid. At the right of each suggested payment a clock turns into a check with one tap, for the full amount (nothing to type); the balances update and the payment stays in the list, struck through with "Paid · ", with no reminder button. Tap the check to tick it back. Under each name in Balances, what that person paid in all. The balances above now match Settle up to the cent (they used to show the exact share, so "+3.56 €" next to a 3.55 € payment, and 0.01 € left once everything was paid). Payments are not expenses: they never show in the expense list, totals or statistics. They're stored in the group (ExpenseGroup.payments, SettlePayment; SQLite schema v8 adds groups.payments) and synced with it (#604)
  • Google Drive sync now moves data (Play builds). Settings › Sync › "Sync devices" was there in 2.4, but it never uploaded and ignored what it downloaded. Each device now keeps its full snapshot (every group, deleted ones included) in the account's hidden Drive folder, applies the other devices' snapshots by last-writer-wins, and uploads its own. It runs when turned on, every 15 minutes, 30 seconds after a change, when the app comes back or goes to the background, and from "Sync now", which now says what was received and sent. It covers all your groups and needs no pairing, because the devices are yours. Groups from your other devices get no "shared with you" welcome. Photos and attachments stay on the device they were added on, as over Wi-Fi (#688)

Changed

  • F-Droid build: each APK split by ABI now has F-Droid's versionCode, build number × 10 + 1 (armeabi-v7a), 2 (arm64-v8a) or 3 (x86_64), so 2.5.0+139 is 1391/1392/1393 instead of Flutter's 1139/2139/4139, as fdroiddata asked (!52814). The Play bundle and the universal APKs keep 139
  • Sync over Wi-Fi: a change reaches a paired phone on the same Wi-Fi within seconds, and coming back to the app looks for it again — no "Update now" needed (both apps open)
  • A group received from another phone: its welcome card keeps only "OK" (the page's + is right below)

Fixed

  • Sync: paired phones now find each other on the same Wi-Fi and exchange expenses ("Sync now" too); before, they only synced right after scanning the QR code
  • Sync: pairing with a QR code failed on phones with mobile data (or a VPN) on, e.g. a Galaxy S25: the code carried the mobile-data address instead of the Wi-Fi one
  • Sync over Bluetooth (Play builds): it never started. Android 12 phones (e.g. a Pixel 3) always reported a missing permission, and newer ones (e.g. a Galaxy S25) couldn't find the other phone because the location permission wasn't asked for; once connected, the first message was sent before the connection was ready and got lost
  • Expense page: tapping the note scrolls the whole note into view; only its first line showed, the rest stayed under the Save bar above the keyboard
  • Notifications sit at the bottom of the screen again on every page: away from Home and Groups they kept the room of the Home/Groups switch and hung high above the bottom. They still rise above the "+" button and the Save bar
  • The period calendar shows the whole month again: in months spanning six weeks, like November 2026, the last week was cut off
  • New group: Currency showed only a title and a search field, the list of currencies hidden behind the keyboard. It now opens the same sheet as the group's General › Currency, so a trip abroad can set its second currency and rate while the group is created; the pill then reads "Euro · kr"
  • Place picker: the map no longer comes up in pieces. It was built on Rome and then moved to where you are (and once more to clear the card at the bottom), loading two sets of tiles; now it is built once, already on your position or on the place already set. A position that takes more than 3 seconds no longer keeps the map away
  • Found by the non-regression pass on v2.5.0-rc.13 (docs/NRT.md):
    • TalkBack can activate the "+" on the group page, Groups and templates: it read a button it couldn't press
    • The expense's description is one stop for TalkBack instead of two ("Description", then "Description *")
    • "in kr" under the amount and the "+1" pills are 48 dp wide at least
    • The amount's whole line focuses it: only the digits did, so a short amount like "5" was a tiny target
    • Places come back in the app's language: searches asked Nominatim for Italian names ("Oslo, Norvegia" in English)
    • In the place picker, when your position wasn't found at first, the location button now picks it ("You are here" and Confirm) instead of only moving the map
    • The budget sheet points to Statistics (it said to tap Today on the group page, which no longer opens it), and a daily budget's bar no longer reads "0% of the period gone" at any hour
    • Balances: someone who owes nothing reads "Anna is even", not "Anna gets back 0.00 €"; with large text, what they paid and received takes two lines instead of being cut
    • A selected pill with a long name ("Transport") is no longer cut to "Transpo…" on a row with room for it
    • Restoring a backup saves all its groups or none: one that failed left the earlier ones restored and the rest missing. The confirmation now says what happens: the file's groups replace their copies, the others stay
  • The place picker. Tapping Place opened the map on a default spot (Rome) with no point, even after allowing the location: the wait for the position counted the time spent on the permission prompt and gave up silently. It now opens on where you are, with a blue dot and the spot already picked ("You are here" and its address), so one tap on Confirm saves it; if the position can't be found it says so. A search that finds nothing now says "No places found for …" with a hint, instead of showing nothing; a failed search shows a calm card with Try again instead of red text on the map, and waits 10 seconds instead of 5 before giving up. Result pins are in the app's color instead of red, and the location button no longer covers the card
  • With the phone in dark mode and Caravella set to light (or the other way round), coming back to the app from the launcher showed a dark screen before the light Home, and the launch screen came up in the phone's theme. Android now draws the app in its own theme (Android 12+); with the app following the system nothing changes. Also, the window behind the app is now Home's own grey instead of pure white (or black, in the dark theme), so coming back to Home no longer flashes for a frame
  • Opening a group no longer shows a dot in the middle of the screen. The page read the group again from storage before showing it, with a loading spinner meanwhile (just a dot as it started, while the page slid in); it now shows the group it was opened with at once and refreshes it
  • Sync no longer loses expenses. When two phones changed a shared group before syncing, the group from the phone that changed it last replaced the other one whole, so an expense added on the other phone disappeared on both. Groups are now merged expense by expense: each expense keeps its latest version, deletions reach the other phones and stay deleted (an expense changed after it was deleted comes back), and the group's name, dates, people and budget come from the phone that changed them last. Merged changes also pass on through a third phone. A group shared with a phone on an earlier 2.5 test build is still replaced whole until that phone updates (database version 12; #728)
  • An assistant's link to add an expense with a category or a note now opens the group. The app expected an amount the link never carries, so it opened nothing (#731)
  • Photos and files attached to an expense are no longer duplicated in the database every time their group is saved. Each save added another copy of every attachment row (the cleanup counted on a database cascade that never ran), so an expense's attachment list grew with every change to the group. Saves now write attachments only when they change, and the upgrade removes the copies already there (#730)
  • App Functions now actually reach Android's AI agents (Android 16+). The service was a hand-made one that the system could never bind to — wrong action and permission, no binder, declarations in a format Android doesn't read — so agents like Gemini never saw Caravella and the Privacy toggle had nothing to gate. It is rebuilt on androidx.appfunctions 1.0 (rc01, was alpha01): the functions are declared in Kotlin and the library's compiler (KSP) generates the service the system binds (BIND_APP_FUNCTION_SERVICE) and the XML that describes them. Same abilities, plus listGroups so an agent can find a group's id: add an expense (saved at once with an amount; without one, the agent gets a link that opens the group, since a background service can't open the app itself), a group's total, its last three expenses, today's total. The Privacy toggle now also tells the system: the functions are declared off and are enabled in Android only while it is on, so with it off agents don't offer Caravella at all (each call is still refused too); the app syncs the state at start and whenever the toggle changes. The functions are also declared in the older index format (generateV1Xml), the only one Android 16's system indexer reads; without it the system didn't know them. An expense an agent adds is now written as the app writes one: stamped with this device and the user, and the group's last-change time moves, so it syncs to paired devices instead of being dropped by the next incoming sync; the home widget and an open app show it at once (#729). Also, the widget and App Functions' SQLite views are re-created when the database file has been replaced (e.g. after a backup restore) instead of failing until the app restarts. Tested on Robolectric with the library's test rule (CaravellaAppFunctionsTest); a live call from an agent needs an Android 16 device with one
  • Found by the accessibility pass on v2.5.0-rc.11, with TalkBack and 200% text:
    • Amounts are read in one go, "42.00 €", instead of the figure and the currency one after the other; "Total" and "Today" on the group page are read with their amount, and the budget's "18.00 € left" in one go
    • The budget period (In total / Monthly / Weekly / Daily) keeps its 48 dp touch target with large text; it used to shrink to about 34 dp
    • The spending pace no longer reads its period twice, and the day-by-day chart reads each day with spending and its amount instead of only "Date range expenses"
    • A week's heading in the expense list ("THIS WEEK") is its own heading again, no longer read as the start of the first expense
    • The "+2" pill for more categories reads "Category, +2" instead of only "Category"
    • Each category in Statistics reads its amount per day ("Food: 42.00 € (42.00 € /day)"); the per-day amount was missing, so it read "(/day)"
  • Found by the non-regression pass on v2.5.0-rc.1 (docs/NRT.md):
    • TalkBack couldn't activate some buttons it read: "in kr" under the amount, the group type cards (new group, and the type sheet), the period presets, the group page's Today card with a budget and, on the welcome screen, Settings and Get started. Their semantics hid the inner button's tap without carrying it
    • The add-expense sheet stays readable when the phone switches to dark mode while it is open: its background came from the theme at the moment it opened
    • Voice with the microphone refused opens "Allow the microphone?" with Open settings, instead of "Voice recognition not available"
    • Home's recent expenses show the receipt amount (450.00 kr) under an expense entered in the second currency, as the group's list does
    • Balances: under a name, what that person paid back or received in Settle up, next to what they paid in expenses ("Paid 0.00 € in all · 23.30 € paid back")
    • Home: the group's title is at least 48 dp to tap, also with no dates
  • Settings › Check for updates: the “Update available” card no longer shows “v4133”. Play reports only the version code (the build number), not the version name, so the line is gone

Changed

  • Group cards: the type chip over the photo lets the photo show through instead of a solid white label; on Home it is frosted glass
  • Home: the favorite group shows a "♥ Favorite" pill like the "Shared" one, instead of a heart that looked lost on its own; dates and pills stay on one line
  • Budget sheet: the pencil is a filled round button like the app's others, without a border
  • Caravella opens a little faster: before showing Home it no longer reads every group to refresh the app shortcuts (Home does it once it has loaded) nor prepares the group photos (that waits until Home is on screen)
  • Budget sheet: one answer to "will it last?". What's left, then how much a day keeps you within the budget beside how much a day you've spent so far, and when the budget would run out at this pace; over the budget, when it starts again. The periods before are rows of the same height with "+42" beside the ones that went over. A pencil by the title changes the budget
  • Settings › What's new keeps only the last two versions (2.5 and 2.4, with their fixes); "All versions" at the bottom opens the full history on the website (in English)
  • The app reads groups much faster. Loading a group asked the database for the attachments of each expense one at a time; it now reads them in one go (10 groups of 500 expenses: from about 446 ms to about 15 ms; one group: from 43 ms to 1.4 ms). Home loads the active groups once instead of three times and no longer reads the archived ones just to know whether any exist, and the active, archived and favorite groups are picked by the database instead of loading every group and filtering
  • Unexpected errors are no longer hidden. The app's last-resort error handlers dropped any error whose message contained words like "Connection" or "Image provider", and logged the rest as warnings without a stack trace. They now drop only real network failures, recognised by their type (offline, a map tile or remote image that doesn't load), and log everything else as an error with its stack trace, which shows in the debug log screen of test builds
  • The database now enforces the links between its tables. They were declared but never switched on, so nothing stopped an expense from pointing at a group that no longer existed. The upgrade also removes what groups deleted before 2.4.2 left behind (their expenses, people and categories, invisible but still stored; database version 13)
  • Saving is faster in big groups: a save writes only what changed instead of rewriting every person, category and expense of the group (adding an expense to a group of 1,000: from about 64 ms to about 4 ms). Each expense now records when it last changed, and deleted expenses are remembered, which is what sync needs to merge two phones' changes expense by expense (database version 11; #730, groundwork for #728)
  • Predictive back on Android: dragging back from the edge now previews the page underneath, shrinking the current one as you drag, then lets go or snaps back (Material 3; on Android 14 and 15 too, where it needed the app to opt in). Pages keep the Material 3 transition when opening, and those that hold you back still do: a group without a name, an expense with unsaved changes, Groups returning to Home
  • Flutter 3.47.9 → 3.50.0 (Dart 3.14), pinned in the three Android CI workflows, with Flutter 3.50's Android template: Android Gradle Plugin 9.1.0 → 9.3.1 (3.50 needs at least 9.1.1), Gradle 9.3.1 → 9.5.0, Kotlin 2.4.0 → 2.4.20. Dependencies refreshed (root, every packages/* lockfile and pubspec.fdroid.lock), with two majors: home_widget 0.9 → 0.10 (now builds on Android; the breaking changes are in widget previews and custom fonts, which the app doesn't use) and googleapis 18 → 19 (Drive sync and backup use Drive v3, unchanged). The F-Droid package now imports material_ui like the rest of the app, and the generated localizations are left out of flutter analyze, since gen-l10n still lists the classic delegates deprecated in 3.47
  • One layout grid on every screen: cards and lists 16 from the edges (Home, Groups and New group were at 20), titles and section labels at 20, the text inside cards at 30 (Home's cards, Balances and Statistics had 40, 32 and 34), 20 from a page title to its content (Other, Sync and General had 36). The group page's section titles (Settle up, Day by day, Participants, Categories) take the same small uppercase label as settings, the round buttons at the top sit at 16 like on every page, and in the expense form the labels line up with the pills under them. Sheets follow the same grid (their cards were at 20, so their text at 34), and so do the notes under sync cards and the template form's labels. On the expenses map the back button has the title pill's shadow, so it stays visible over a light map
  • Paid by and Category look and work the same in the quick sheet and on the full page: one line of pills, with "+N" opening the rest in place
  • Attachments: the pill says "Add attachment" before the first one too, as it does under the list
  • Tapping a recent expense on Home opens the group page with that expense open; back lands on the group
  • Group page with a budget: the ring sits before today's amount instead of alone after it
  • Group page of a shared group: "Shared" is now a round sync button next to search whose icon says how its sync is doing (arrows; with "!" in amber after a failed exchange; struck through when it hasn't synced for a day), instead of a pill on the dates line
  • A group's photo no longer fades in after its page or card: it is decoded once, shared by every screen, and the active groups' photos are decoded at startup
  • No sheet opens on top of another any more, nor closes to let another rise. The currency list, Background › Color and Budget › Change budget open as a second screen inside the same sheet, sliding in with a back arrow (the other choices in the sheet are kept). An attachment's sources (photo, video, gallery, file) open in place under its pill, and voice input opens in place above the expense sheet's buttons. The expense sheet from the notification is now the same quick sheet as Home's, with "More details" opening the full page
  • Every bottom sheet now opens and closes with the same gentle motion as the add-expense sheet (320 ms in, 220 ms out): currency, budget, period, group type, background, options, export, location and the others used Flutter's quicker default. They all go through showAppBottomSheet (caravella_core_ui), and a test keeps it that way
  • Removed the JSON storage backend (FileBasedExpenseGroupRepository, the USE_JSON_BACKEND define and its indexes): SQLite has been the default since 1.6. The old expense_group_storage.json is still read once at first launch, by LegacyJsonGroupReader, to move it into SQLite. Tests now run on a temporary SQLite database (useTestDatabase()), (#678)
  • Sync format 2: deltas carry "schema": 2 and groups their payments. A 2.4.1 device refuses them ("update Caravella on both devices"). When a group arrives from 2.4.0, which sends no version and no payments, this device keeps its own payments for the people still in the group, so an old phone can't erase them (#676)
  • Backups are written as {"format": 2, "groups": [...]} with the payments; 2.4 backups (a bare list) are still restored, and 2.4.1 refuses format 2 with "This backup comes from a newer Caravella"
  • Statistics › Participants shows the top 4 payers, in one row, instead of everyone: a big group wrapped onto many rows where the sizes were hard to compare
  • Upgraded Flutter from 3.47.6 to 3.47.9 (stable patch releases), pinned in all three Android CI workflows
  • Major dependency upgrades: file_picker 12→13, flutter_local_notifications 22→23, zentoast 0.2→1.0; all other dependencies refreshed to their latest compatible versions (root + every packages/* lockfile, plus pubspec.fdroid.lock). No source changes were needed. home_widget stays on 0.9.x: 0.10.0 doesn't compile on Android (its plugin references a HomeWidgetLaunchIntent class missing from the published package). Then googleapis 17→18 (Google Drive sync and backup; only other APIs changed), google_mlkit_text_recognition 0.17→1.0 (receipt OCR; the plugin moved iOS to Swift Package Manager, Android unchanged), gpt_markdown 1.3→1.4 (the What's new page; adds flutter_svg), and the patch releases (flutter_local_notifications 23.0.1, google_sign_in_android, sqflite_common_ffi). Flutter stays on 3.47.9, the latest stable (#677)

The same version is on Google Play. The attached APK is for installing without Play: it is signed with a different key than the Play Store app, so it can't update an installation that came from Play (uninstall that first; data is not carried over).

Full diff: v2.4.4...v2.5.0