github securo-finance/securo v0.22.0

43 minutes ago

πŸ’œ A special thank you to the people who donated to Securo: SΓΈren, METZGERRR, Martin, Bob, Akira, Kimi, Alison, ThomasA, Rafaelcar, Patou, Felipe Affonso, Craig and 4 others who chose to stay anonymous. Your support keeps Securo independent, supports the developers who keep working on it, and helps the whole community around it.

This release is about getting your data in with less typing. Securo can now read your documents with an LLM: drop a statement PDF and its rows land in the import review, snap a receipt and it becomes a transaction or attaches to the one it matches. It uses the LLM connection you already set up for AI Agents, so it can run entirely on your own server with Ollama. Around it: mark transactions as paid or as new until you review them, record a payback that settles a group debt, create payees without leaving the transaction, and plugins can now add dashboard widgets. As usual, a long list of fixes, with transfer pairing, multi-currency amounts and Enable Banking getting the most attention.

β˜• If Securo already helps you today, consider supporting it. Buy us a coffee

✨ Highlight: read statements and receipts with an LLM

securo-receipt-to-transaction

Closes #592 (#1817, #1838)

  • Statements. Import a PDF statement (or a photo of one) from the Import page. It is read in the background and lands in the regular import review, so your rules, duplicate detection and the import log all apply. The rows are checked against the statement's own opening and closing balances, unreadable lines are counted instead of silently dropped, and the next statement with the same layout preselects its account.
  • Receipts. "Read receipt" on the Transactions page reads a photo or PDF, attaches it to the transaction it matches (same amount, close date) or creates a new one from it.
  • Fill a new transaction from its attachment. Attach a receipt while creating a transaction and the empty fields fill themselves. On a form you already started, a button on the file does it, so attaching a proof never spends a paid model's tokens unasked.
  • Any model works for text PDFs. PDFs with text go as text; scans and photos go as page images. Securo checks whether your model reads images before sending anything and warns up front when it doesn't.
  • Your choice of provider, per workspace. A workspace owner picks one of their LLM connections in the workspace settings (or with Use for document reading on the connection), with an optional model override. There is no new setting, environment variable or container.

Documents are sent to the provider of the connection you pick. With Ollama or another model on your own server, nothing leaves it.

Before you update

  • Production Compose hardening (docker-compose.prod.yml): the backend port now listens on 127.0.0.1 by default. If something outside the host talks to the backend port directly, set BACKEND_BIND_ADDRESS=0.0.0.0. The frontend port is unchanged. You can now set POSTGRES_PASSWORD for both the database and the backend (unset, it stays postgres), and the bind mounts carry :z for SELinux hosts. By @christiansegercrantz (#1742) πŸŽ‰
  • Helm: migrations now run before the new pods serve traffic. The migration Job is no longer a post-upgrade hook, and the backend, worker, beat and MCP server pods wait in Init until the schema is current. Give helm upgrade a longer --timeout if your migrations take a while. Rolling back to an older chart no longer starts the older pods against a newer database. (#1787)
  • XML files can be attached to transactions and invoices (xml joins the default STORAGE_ALLOWED_EXTENSIONS; a list you set yourself is kept). Files that are not an image or a PDF are now always downloaded instead of opened in the browser. (#1808, #1809)

Features

  • Read statement PDFs and receipt photos into transactions with an LLM. See the highlight above. Closes #592 (#1817, #1838)
  • Mark a transaction paid or not. Refs #15 (#1690)
  • Mark transactions as new until you review them, with a review queue that works on every date. Closes #636 (#1574, #1793)
  • Record an incoming transaction as a payback that settles a group debt. Refs #424, by @ivantrejo41 (#1686) πŸŽ‰
  • Create and edit a payee from the transaction dialog. Closes #1069 (#1662)
  • Categorize the uncategorized drill-down faster from the dashboard. By @itodevio (#1720) πŸŽ‰
  • Plugins can add dashboard widgets, from a query or from their own code, like the reports they gained in v0.21.0. (#1799)
  • Plugin integrations can take files in their form and run routines on their own schedules. (#1806)
  • Provider plugins can vouch for a complete feed, so cancelled pending rows expire as they do with Enable Banking. Closes #1727, by @Marceltov (#1728, #1772) πŸŽ‰
  • Plugins with code run on Kubernetes: the Helm chart can deploy the plugin runner and its egress proxy. Closes #1749, by @tiagoflino (#1465) πŸŽ‰
  • Pluggy reads the trades of exchange-traded positions. Closes #811, by @JordanCampos20 (#1733) πŸŽ‰
  • A synced holding with provider trades is drawn from its ledger, history before the first sync included. Closes #1752, by @Marceltov (#1753) πŸŽ‰
  • XML attachments, for electronic invoices and exported statements. (#1808)
  • Helm: the MCP server pod takes extra env vars, volumes and mounts. (#1700)
  • Search engines no longer index your app's pages: a real robots.txt and noindex on every private route. (#1779)

Fixes

  • Transfer pairing never ran on transactions added by hand, after an edit or on file imports, and could link a leg that was already paired. Closes #1798, #1802 (#1800, #1804, #1803)
  • A converted amount you typed was lost or misread when the date, the amount or the display currency changed, or when another member viewed it. Closes #1820 (#1688, #1730, #1771, #1794, #1813, #1821, #1826, #1835, #1837, #1685, #1666)
  • The exchange-rate provider was called even when it was not configured. (#1678)
  • A budget limit kept its bare number after a currency switch. Closes #1698 (#1657, #1789)
  • Enable Banking dropped identical entries listed on different pages, kept posted rows of cancelled entries, stored a failed balance read as zero, duplicated rows the bank re-issued, and created a new connection on re-authorization. Closes #1232, #612, #1224, by @Superesty (#1712, #1711, #1281, #1663, #1664) πŸŽ‰
  • Pluggy finance charges split across several card transactions were counted twice. Refs #1719, by @mayuriphad (#1760) πŸŽ‰
  • OFX dates with a timezone offset moved to the wrong day. By @jayhemnani9910 (#1671, #1778, #1785, #1792) πŸŽ‰
  • OIDC sign-out could fail or be disabled for minutes after one discovery hiccup. Closes #1777, #1639, by @mayuriphad (#1791, #1665, #1646, #1641) πŸŽ‰
  • Assets: a sold asset stayed in the portfolio total, a holding's value depended on where the range ended, comma-grouped quantities in broker CSVs were misread, and refused import rows disappeared without a reason. Closes #1701, #1643, #699, by @wavebyrd and @mayuriphad (#1668, #1747, #1745, #1691, #1675, #1684, #1681, #1682) πŸŽ‰
  • The Money Map counted unpaired bill payments and transfer legs as investment withdrawals. Closes #1766 (#1673, #1764, #1724)
  • Reports: rows with an unknown type reached the P&L views, the composition slice disagreed with the period totals, and the custom range calendar and Money Map labels ran off a phone screen. Closes #1696 (#1773, #1680, #1697)
  • Plugin reports counted the whole split instead of your share and could ask for a period or a chart larger than allowed. (#1713, #1715, #1716)
  • Saving a recurring bill twice failed and left the source transaction unlinked. Closes #1660 (#1661)
  • Dashboard widgets ran off the screen on mobile, long descriptions overflowed the period list, and the categorize counter disagreed with its list. Closes #1743, by @JordanCampos20 and @mayuriphad (#1754, #1746, #1822, #1828) πŸŽ‰
  • Transactions: the edit dialog's actions and form were misaligned, mobile badges covered the description, an amount too large for the column failed with an error, and a non-text provider category broke reads. (#1801, #1810, #1797, #1683, #1774)
  • Accounts: the currency code was not validated on create, and a manual balance change kept the old balance date. By @loebpaul (#1674, #1708, #1729) πŸŽ‰
  • Rules: the editor now shows the provider category, and BR carrier names match only at the start of the line. (#1699, #1725, #1687)
  • Backups: orphan reconciliation rows broke a restore, and restores lost payee self-mappings and splits in shared groups. Closes #1780, by @tiagoflino (#1781, #1693, #1741) πŸŽ‰
  • The installer started over when run again and dropped the images already on the machine when a pull failed. (#1709, #1734)
  • AI Agents: OpenAI-compatible providers received several system messages, and list_transactions misread some filters. By @baptleduc (#1748, #1836) πŸŽ‰
  • Plugin connections could not recover from a refused key, and a busy connection skipped its routines. (#1811, #1815)
  • Helm: every visitor shared one rate limit behind the ingress. (#1707)
  • Accessibility and translations: icon-only header buttons, money dialog labels and the rules filters now have names, and the calendar's day count is pluralized. By @JordanCampos20 (#1705, #1717, #1726, #1755) πŸŽ‰
  • A refused import row's reason was cut off on a phone. (#1723)

Under the hood

Dependency updates and a 7-day cooldown for PyPI updates (#1767, #1762, #1763, #1769) Β· one pinned uv for CI, release and image (#1770) Β· CI fast lane (#1630) Β· tests (#1790, #1736, #1679) Β· ADRs kept in step (#1689, #1718, #1809, #1823, #1825, #1830) Β· release v0.22.0 (#1846)

Thanks @christiansegercrantz, @ivantrejo41, @itodevio, @Marceltov, @tiagoflino, @JordanCampos20, @Superesty, @mayuriphad, @jayhemnani9910, @wavebyrd, @loebpaul, @baptleduc for the code and the reviews, and @marcelobrandt, @METZGERRR, @Lucas-Euzebio, @Alatau-AS, @LuizzTrevisan, @striker54, @negue, @felipeaffonso, @juanmacastillo, @1Finder1 for the reports πŸ’œ


β˜• Securo has no ads, no tracking and no data to sell. It keeps going because the people who use it chip in. If it helps you with your money every month, buy us a coffee and help keep it alive.

Buy Me a Coffee

Full Changelog: v0.21.0...v0.22.0

Don't miss a new securo release

NewReleases is sending notifications on new releases.