Repository navigation
Releases
Iris 0.16.2
Iris 0.16.2
Changes since 0.16.1
Less disk wear
- Backups no longer read the whole library. Every backup re-read and hashed
all the files in it, even those linked from the previous one because nothing
had changed: 51 GB a night on a real library. Unchanged files are now linked
without being read. What is new or changed, and the databases, are still
verified in full. Each day also re-reads about 1/30 of the unchanged files,
so a copy that rots on the backup disk is still noticed. - Impossible thumbnails are tried once. The warm-up read files that yield no
thumbnail, such as SVGs, again on every restart. It now remembers them until
the file changes.
Docker
- No more zombie processes. The container now runs an init, which reaps
health checks that timed out.
Deployment
./scripts/server.sh update. No migration. The first start after the update
still goes through the impossible thumbnails once.- The 0.16.2 APK has no app changes; installing it is optional.
Release validation
Automated tests and CI. The new backup had not yet run on a real library when
this version was tagged.
Iris 0.16.1
Iris 0.16.1
Changes since 0.16.0
Updates from the web
- "Update now" works again. Installed or run as root, the update agent left
data/updaterowned by root, and the server could not leave its request
there: the button failed with a server error. The agent now gives the folder
to the owner of the data folder, and every update repairs an install an
older version got wrong. If the server still cannot write there, it says
which command fixes it. - An update you can follow. A bar on top of every tab says the update is
running, then that the server is restarting. When the new version answers,
the page reloads and says which version it runs. The button takes one click.
Web
- Settings links during loading. On a slow server, a section link in
Settings clicked before the page finished loading went to the home page. It
now stays in Settings, and an address such as/#update-settingsopens that
section.
Deployment
- Update the server from the terminal:
./scripts/server.sh update. It also
repairs thedata/updaterfolder, so Update now works from then on.
(If the folder was already repaired, Update now under Settings ›
Updates works too.) - The 0.16.1 APK has no app changes; installing it is optional.
Release validation
Automated tests and CI on each PR and on main. The permission problem was
seen on a real install and the folder fix checked there; the agent's repair is
covered by the installer tests.
Iris 0.16.0
Iris 0.16.0
Changes since 0.15.0
Web
- English or Portuguese. Every screen is available in both languages. The
language follows the browser and can be changed in Settings › Appearance.
Dates, numbers and counts follow it too. Messages sent by the server are still
in Portuguese. - Gallery filters like the app. Photos / Videos / Audio chips sit above the
grid. A Filters panel narrows by period, person, place, source and smart
album, and also narrows searches. The Albums tab lists the smart albums
(camera, screenshots, WhatsApp, favourites…) with cover and count. - People corrections. Move a face to another person; say "not this person"
and it stays refused after faces are detected or grouped again; mark someone
on a photo where no face was found; rename, merge and delete people.
Confirmed faces and manual marks survive regrouping. - Computers. One card per computer that says in a line what each job is
doing: folders being sent, the photo AI working or paused. From there, choose
folders to send, sync now and set the AI hours. + Add photos offers the
ways in: from a computer, from the phone, or sending files now. - Model comparison. During a search model change, Settings › AI links to a
page that compares the current and the next model on the same query. - Catalogue snapshots can be downloaded next to Restore.
- New release notice. An administrator sees a dot on the settings button and
a notice when the server finds a newer release, from any page.
Version compatibility
- Each client sends its version and the server answers with its own. A server
keeps serving the previous protocol; a client too old for it is told to update.
The Android app shows a banner, and iris-sync updates itself from the copy the
server distributes.
iris-sync (desktop)
- A one-time setup code lets the installer sign in without a password (Linux
and Windows). Folders can be chosen with the system's folder dialog. - Reports progress, its machine and its version to the server; updates itself.
Android
- Shows a banner when the app or the server needs an update.
- People: the same corrections as the web.
Server
- Removed routes no client called:
GET /api/collections/filter,
GET /api/concepts/filter,GET /api/sync/sourcesandPOST /api/reload.
/api/recordsand search already filter by album and concept. - New:
GET /api/ai/preview(model comparison), desktop agent and setup-code
routes, face correction routes. - Search, enrichment, duplicates and trash routes moved out of
server.py;
CI checks the module import rules (scripts/check_architecture.py).
Deployment
- Update the server:
./scripts/server.sh update, or Update now under
Settings › Updates. Each library gains tables for face corrections and
desktop agents on first open; nothing needs reindexing. - Install the 0.16.0 APK.
- Computers running iris-sync update themselves from the server. Update the AI
worker on each processing computer.
Release validation
Automated tests and CI on each PR and on main, including browser tests of the
web in Portuguese and English. Checked by hand in a development sandbox with
synthetic data: filters, albums, computer cards, both languages. Not yet run on
staging.
Iris 0.15.0
Iris 0.15.0
Changes since 0.14.1
Android
- One cell per photo. After a new install, or for a folder left out of
the backup, every photo used to show twice: its copy on the phone beside
the one in Iris. The app now checks, in the background and apart from the
backup, which photos and videos on the phone Iris already holds. It sends
nothing and shows how far it is in the gallery. Until a file is checked, a
server item with the same name and size stands for it. - Where an item lives, on every screen. Albums, people, search and
similar photos marked every item "only in Iris", even ones on the phone.
They now show the same badge as the gallery. The "not in the backup" badge
is a sync-off icon instead of a crossed phone, which read as "not on this
phone". - Audio plays in the viewer, with its controls on screen. Before, it
opened as a photo and nothing happened. - Choosing several items everywhere. Long press works in search,
albums, people, the trash and groups, as it did in the gallery:- share, send to a group, move to the trash, and add to an album;
- an album removes items from itself, and makes one chosen item its cover;
- the trash restores the chosen items;
- a group saves them to your library or, where allowed, removes them.
Server
POST /api/sync/known: which of the given contents the library already
holds. It reserves and sends nothing.
AI worker (desktop)
- Keeps one connection to the server and retries network errors soon, instead
of opening a connection per request.
Deployment
- Update the server:
./scripts/server.sh update, or Update now under
Settings › Updates. Nothing needs reindexing. - Install the 0.15.0 APK. The phone's sync database gains a table on first
start. The check of the phone's photos starts by itself and takes a while
the first time; keeping the phone charging helps. - Update the AI worker on each processing computer.
Release validation
Automated tests and CI on the PR and on main. A lab build was used on a
phone against 0.14.1 to check audio, multi-select, origins outside the
gallery, the name-and-size match and the new badge. The background check
needs this server and is checked after the deploy.
Iris 0.14.1
Iris 0.14.1
Changes since 0.14.0
- feat(updates): phones learn of a new app version from their server
- fix(android): look for a new app version whenever the app is opened
Deployment
./scripts/server.sh update.
Iris 0.14.0
Iris 0.14.0
Changes since 0.13.1
- feat(android): use the server's local network address when it is the same server
- test: keep the in-process server's data out of the checkout
- feat(server): name the client family on access log lines
- perf(ai): flush in the background so the models do not wait for it
Deployment
./scripts/server.sh update.- Optional: for the app's local network address, the server must also listen on the home network interface (
./scripts/server.sh listen <address>, seedocs/connectivity.md).
Iris 0.13.1
Iris 0.13.1
Changes since 0.13.0
- fix(android): reopen the viewer on its item after process death
- perf(ai): keep the worker's models busy while it talks to the server
Deployment
./scripts/server.sh update.
Iris 0.13.0
Iris 0.13.0
Changes since 0.12.0
How AI processing is tracked, controlled and trusted, as decided in
ADR 0002.
Server
- Who produced each AI result: every caption, embedding and face set
records whether the instance or a member's computer made it. Results from a
member's computer are validated (sizes, normalised vectors, face thumbnails
re-encoded) and rate limited, never shown to others in shared spaces, and
can be forgotten per computer by the administrator (#177). - AI steps per item: each item records which steps ran (full analysis,
faces), with their version, attempts and errors. Items whose faces were
never looked for, such as some imported ones, are queued for a faces-only
pass; faces already named are kept when faces are found again. Members can
ask for an item, or all their faces, to be analysed again (#178). - Pause and resume: the administrator can pause all AI processing or one
computer; a member can pause their library or their own computer. A pause
keeps everything computed and accepts work already handed out (#179). - Members' own computers: a member can process their own photos on their
own computer, even when the instance processes nothing. The administrator
chooses whether members' results are accepted; a computer told no is told
why (#180). - Face grouping consent: grouping faces is each person's own choice, on
by default, under Privacy and AI. Turned off, no face of theirs is
looked for or grouped, on the server or on processing computers; turning it
off can also erase the faces and people already found (#181).
Web
- Pause switches, "Analyse again" in an item's details, the list of one's own
processing computers and the face grouping switch. The People page says
where to turn grouping on when it is off.
AI worker (desktop)
- Takes faces-only jobs and runs without the face detector for people who
turned grouping off; says why it got no work (paused, not accepted, AI off).
Deployment
- Update the server:
./scripts/server.sh update, or Update now under
Settings › Updates. New tables (ai_producers,ai_steps,
library_preferences) and thedevices.ai_paused_atcolumn are added on
start; items that already have faces are marked done, so nothing needs
reindexing. - Update the AI worker on each processing computer. Older workers keep
working for full analysis but never take faces-only jobs. - The 0.13.0 APK has no user-visible change; installing it is optional.
Release validation
Automated tests and CI on each merged PR and on main with all of them,
including end-to-end tests of pausing, members' computers and face consent.
Not run on a device before tagging; the faces-only pass with a real worker is
checked after the deploy.
Iris 0.12.0
Iris 0.12.0
Changes since 0.11.0
Android
- Staying signed in: a phone no longer signs itself out when the answer to
a background token refresh is lost (for example when the server is slow and
the app gives up). The refresh waits 60 s like other calls (was 15 s), and
the gallery no longer clears the session on a single refused request (#169). - Password managers: the username and password fields on the Backup
screen declare themselves to Android's autofill service, so Bitwarden,
1Password, KeePassDX, Google and other managers can fill them. Saving new
credentials from the app is not supported yet. - Upload errors in the phone's language: failed items in the backup queue
were always described in Portuguese. Failures are now stored as codes and
shown in the app's language; errors recorded by earlier versions are
converted on update (#139).
Server
- Refresh-token rotation with a grace period and reuse detection
(RFC 9700): a device that lost the answer to a rotation can retry with its
previous refresh token for 120 s. The same token presented later revokes
the device, as a copy of it is in someone else's hands. Exchanges are
atomic.devicesgains two columns, added on start (#169).
Development
- The release APK is built and signed by the tag's "Release APK" workflow;
the signing key never leaves GitHub'sreleaseenvironment. - Pushing to a remote's URL no longer makes the pre-push check scan the whole
history (#110). - Tests that failed on some hosts for reasons outside the code: a GPU
installer test on hosts with an NVIDIA CDI spec (#111), three Android tests
under a Portuguese locale or a busy emulator (#140), and a sync test on
kernels with a coarse mtime clock.
Deployment
- Update the server:
./scripts/server.sh update, or Update now under
Settings › Updates. The twodevicescolumns are added on start;
nothing needs reindexing. - Install the 0.12.0 APK on the phone over the previous one. Sessions are
kept. The grace period protects older apps too; the longer refresh wait and
the gallery change need this APK.
Release validation
Automated tests and CI on each merged PR and on main with all of them
(1261 server tests passed). The refresh failure was diagnosed from the
production log. Not run on a device or emulator before tagging: autofill with
a password manager, the upload-error texts and the database upgrade. First
release signed by the new workflow.
Iris 0.11.0
Iris 0.11.0
Changes since 0.10.2
Android: Galeria, Álbuns, Busca
The app is reorganised around three tabs.
- Galeria (was "Fotos"): the title counts the library by kind
("1.234 fotos · 56 vídeos · 7 áudios") and chips Tudo · Fotos · Vídeos ·
Áudios filter the grid. The backup state moves to the cloud icon beside
the title. - Álbuns: smart albums pinned at the top (Todas, Câmera, Prints, Vídeos,
Áudios, WhatsApp, Favoritos, Downloads), each with a cover and its size;
Meus álbuns as a grid of covers; and Mais (Pessoas, Compartilhados,
Documentos, GIFs, No celular, Lixeira). Holding a photo in one of your albums
offers Usar como capa; without a choice the cover is the newest item. - Busca: a Filtros button narrows a search by period, place, origin
(Câmera, Prints, WhatsApp, Downloads) and person. Filters combine with text;
with no text they list what passes them, newest first. The Áudios chip is
available here too.
Server
- Audio files are reported as
media_type: "audio"(they were reported as
images, and the audio filter listed images)./api/recordsreturns
type_counts. GET /api/albums/smartand/api/records?album=<key>. An item's origin is
the phone folder it was backed up from, or the path a computer import read
it from.- Album covers:
POST /api/collections/{id}/cover(db_id=0goes back to the
automatic cover);collections.cover_meme_idis added on open. - Search filters:
date_from,date_to,location,sourceandperson_id
on/api/search,/api/search/filenameand/api/records, and
GET /api/search/facets. Semantic search applies them to the whole library,
not only to the nearest matches. ./scripts/server.sh installandupdateset up the update agent when it
is missing, so Update now in the web interface works without a separate
step.
Deployment
- Update the server:
./scripts/server.sh update, or Update now under
Settings › Updates. The new album cover column is added when the
catalogue is opened; nothing needs reindexing. - Install the 0.11.0 APK on the phone over the previous one. An older app
keeps working against this server; the new app against an older server
shows only your own albums and no counts or filter suggestions.
Release validation
Automated tests and CI on each merged PR. Smart album counts, filter
suggestions and a place-and-year filter were timed read-only against a real
library (0.06–0.2 s). The new screens were not run on a device or emulator
before tagging.