github paulgessinger/swift-paperless v1.11.0

40 minutes ago

This release is a fairly big one, and I've been working on this since summer!

🚀 Features

New app icon

New app icon

A brand-new icon, made by the folks at
The Iconfactory. The previous one is still
available in Settings as an alternative icon.

Offline browsing

The most requested feature: your documents are now available without a
connection. Documents you open are kept on your device, together with their
notes, file metadata and thumbnails. A document whose PDF is already
downloaded opens straight away, while the app checks the server for a newer
copy in the background.

The details of every document in your library, such as its title and tags, are
kept on the device. They download once in the background, also over cellular
but not in Low Data Mode, and stay up to date from there.

With the default "Recently browsed" mode, the files of documents you've opened
are kept within a 500 MB budget, removing the ones you opened longest ago
first. Thumbnails have a separate 200 MB budget, removing the least recently
viewed first.

Entire library

Offline download progress

Choose "Entire library" under Offline browsing to keep every saved view,
your full document list, and the PDF, notes and file metadata of every
document on the device. All of your configured servers stay synced, not just
the one you're viewing.

  • Downloads run in the background, also while the app is closed
  • Files download over Wi-Fi unless you turn on the new per-server "Sync over
    cellular" setting, and pause in Low Data Mode
  • Pauses when the device is low on storage
  • When you switch back to "Recently browsed", downloaded files are removed only
    once they exceed the storage limits, least recently opened first

Background downloads need Background App Refresh to be on for the app.

Offline & Sync

A new settings screen lists the steps of a sync as it runs and how far each
one has got, which parts of the last sync failed and why, how much data the
app has transferred, and how much space the offline data takes up on your
device, with documents, thumbnails and OCR text listed separately.

Offline storage usage

Keep offline

Keep offline action

Pin individual documents or whole saved views with the new "Keep offline"
action, whatever the offline browsing mode:

  • Downloaded right away, on any connection
  • Never removed to free up space
  • Follows new versions from the server

The new "Kept offline" view in the saved view selector lists everything you've
kept.

Each document in a list now shows whether it is online only (cloud), downloaded
to the device (arrow), or kept offline (solid arrow). Documents that belong to
a list but aren't downloaded yet appear as placeholder rows.

Upload from Shortcuts

Upload Document action in Shortcuts

A new "Upload Document" action in the Shortcuts app uploads files to Paperless
without opening the app, for example as part of an automation. You can pick the
target server, and optionally set a title, document type, correspondent and
tags. Leave the title empty to let the server derive one from the filename.

Duplicates

On Paperless-ngx v3, a document that shares its file content with others lists
them in its details, and you can open them from there. On v3.2 and later, a new
"Duplicates" filter finds documents with or without duplicates.

✨ Other Features

  • New per-server "Default upload tags" setting in Preferences: the chosen tags
    are preselected when uploading a document, including from the share sheet
  • OIDC logins now support TOTP (two-factor authentication) codes from
    Paperless-ngx
  • Open the active server's web interface in the browser from Settings
  • A clear button on the document title edit field
  • On iPad you can refresh an open document from the toolbar
  • Upload a document without a title: the server then titles it from the
    filename, unless its matching rules or workflows assign one
  • New installs start with a short welcome page before the login screen,
    explaining that the app needs your own Paperless-ngx server
  • A "Leave a tip" link in the release notes opens the tip jar in the app

💪 Improvements

  • Title search and title and content search now use the new search API on
    Paperless-ngx v3.0 and later, so the same search returns the same documents
    as the web interface. The content-only search mode is no longer offered,
    following the web interface; existing filters, saved views and links that
    use it keep working
  • Connection errors now say what went wrong: that your device is offline, that
    the server's address can't be found, that it isn't responding, or that the
    connection dropped
  • Permission errors now say which operation was refused, e.g. "Delete not
    permitted", and name the affected item
  • Saving, editing or deleting something while offline now tells you the change
    was not saved, instead of failing silently
  • When a document list can't be loaded, it now says so and offers to retry,
    instead of showing "No documents"
  • Document lists now update when one of their documents changes, in the app or
    on the server
  • The share extension now reports errors when saving a document fails, and
    tells you when you need to sign in again
  • Changing the default sort or search mode in Preferences now applies to the
    document list right away
  • Server connections are now stored in a local database. They are migrated
    automatically
  • Large document downloads no longer buffer the whole file in memory, reducing
    memory pressure, especially in the Share Extension
  • The app no longer freezes briefly while reading or writing its offline cache
  • Sharing a document names the file the way the web interface names a
    download, from its date, correspondent and title, and the original keeps its
    own file type

🐛 Bug Fixes

  • Pulling to refresh an open document now picks up a new version added on the
    server, and retries a preview or original file that failed to download
  • Starting the app before your permissions have loaded, for example while
    offline, no longer shows "Insufficient permissions"
  • Recover the correct API version after launching while the server is
    unreachable
  • Fix a crash when one filter was opened while another was still on screen
  • Importing several files at once no longer closes before the last file
  • Task results and error messages show up again on Paperless-ngx v3, including
    files rejected as duplicates
  • Items in the Settings lists and Trash stay in place until a delete succeeds,
    and swipe-to-delete in a searched list deletes the item you swiped
  • A failed removal of a document's inbox tags is now reported
  • The document list no longer briefly says you have no documents while loading
    on launch
  • Dates now use the short style, so a custom date format applies
  • Restore the per-app language selection
  • Fix the "Deep link (with backend)" option missing from a document's share
    menu
  • Fix untranslated strings in document notes
  • Stop pull-to-refresh jumping on release in the document list and tag picker
  • Long tag names no longer clip the tags and add buttons in a document's tag
    editor
  • Fix the share extension's fields being cut off at the bottom on iPad
  • Picking a searched correspondent, document type or storage path when adding
    a document now closes the search
  • The app no longer fails to load your documents on Paperless-ngx 3.5 and later
    for users without the App Config view permission, which is now listed in the
    permissions screen
  • The inbox swipe action uses a short label that fits the button in every
    language
  • Uploading and password login now work on servers that sign you in
    automatically (PAPERLESS_AUTO_LOGIN_USERNAME), instead of failing with
    "CSRF token missing"
  • Nested tags in Settings now show delete buttons in edit mode
  • Failed loads now retry on their own when a VPN such as Tailscale connects,
    for example when it starts on demand as the app opens

Don't miss a new swift-paperless release

NewReleases is sending notifications on new releases.