Skip to content

Iris 0.12.0

Choose a tag to compare

@MiguelLopesDel MiguelLopesDel released this 29 Nov 18:49
· 83 commits to main since this release
3098ace

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. devices gains 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's release environment.
  • 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

  1. Update the server: ./scripts/server.sh update, or Update now under
    Settings › Updates. The two devices columns are added on start;
    nothing needs reindexing.
  2. 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.