Zum Hauptinhalt springen
info
Den Blog gibt es nur auf Englisch.

Development: April - June 2026

· 4 Minuten Lesezeit
Niaz Faridani-Rad
Maintainer of LibrePhotos

This is a big milestone release — LibrePhotos has moved to a monorepo! Here is an overview of all the new features, improvements, and bug fixes since the last release.

Upstream:

🚀 Monorepo: One Repository for Everything

The backend, frontend, mobile app, documentation, and Docker deployment now all live in a single repository at LibrePhotos/librephotos, with the full git history of each project preserved. The code is organised under apps/backend, apps/frontend, apps/mobile, apps/docs, and deploy/. This comes with a unified set of GitHub Actions workflows, Dockerfiles and compose files rewritten for the new build context, a single Renovate configuration, and a fresh root README and contribution guide. One place to file issues, one place to open pull requests.

🚀 LibrePhotos: New Face Recognition Engine (InsightFace / ArcFace)

Face recognition has been migrated from dlib to an InsightFace / ArcFace stack running on ONNX Runtime. The new engine produces 512-dimensional ArcFace embeddings (up from the old 128-dim dlib encodings) for more accurate face matching, ships onnxruntime-gpu in the backend-gpu image for GPU-capable setups, and lets you choose the face recognition model from Site Settings (buffalo_sc by default). A migration clears the old 128-dim encodings and stale clusters — just re-run a face scan to regenerate them with the new model. The rollout also includes a batch of robustness fixes: RGBA→RGB conversion before recognition, proper JSON error responses from the face service, and several clustering and encoding fixes.

🚀 Frontend: Subdirectory Deployment Support

LibrePhotos can now be hosted under a subpath (e.g. https://example.com/photos/) thanks to new PUBLIC_URL support in the frontend build. (Implemented by dashitongzhi)

  • ✨ LibrePhotos: The search API can now filter results by media type, returning only photos or only videos (Implemented by dotanm)
  • ✨ LibrePhotos: Re-adopt files that reappear after being flagged as missing (Implemented by dotanm)
  • ✨ LibrePhotos: Bump geocode timeout to 10s and rate-limit reverse geocoding per provider (Implemented by dotanm)
  • ✨ LibrePhotos: Add timeouts to sidecar HTTP calls so background jobs can't wedge forever (Implemented by dotanm)
  • ✨ LibrePhotos: Only mark a job as failed once its error rate crosses a threshold, so transient errors no longer fail the whole job (Implemented by dotanm)
  • ✨ LibrePhotos: Collapse the AlbumThing photo-count refresh into a single sweep for faster missing-photo deletion (Implemented by dotanm)
  • ✨ LibrePhotos: Finish migrating the map provider off the retired Photon service
  • ✨ Frontend: Select All now works for the Download action (Implemented by dotanm)
  • ✨ Frontend: Clearer scan feedback — the scan button is guarded when no scan directory is set, plus a worker activity indicator (Implemented by dotanm)
  • ✨ Backend: Python 3.14, Django 5.x, ExifTool 13.57 and dependency updates; ruff formatting adopted across the backend
  • 🔨 LibrePhotos: Keep emptying the trash when a single photo fails to delete (#873) (Implemented by dotanm)
  • 🔨 LibrePhotos: Keep zero-valued GPS, rating and burst-index values in metadata instead of dropping them as falsy (Implemented by dotanm)
  • 🔨 LibrePhotos: Fix median_value crash on even counts and off-by-one on odd counts (Implemented by dotanm)
  • 🔨 LibrePhotos: Guard album-date geolocation against missing or short place data (#1268) (Implemented by dotanm)
  • 🔨 LibrePhotos: Run delete-missing-photos asynchronously and fix its correctness (#1405) (Implemented by dotanm)
  • 🔨 LibrePhotos: Deduplicate AlbumThing cover photos (Implemented by dotanm)
  • 🔨 LibrePhotos: Pad short returns from metadata extraction (Implemented by dotanm)
  • 🔨 Docs: Document non-destructive photo rotation in the lightbox
  • 🔒 LibrePhotos: Security — fix SSRF in Nextcloud server address validation (CWE-918) (#1863) (Implemented by alanturing881)
  • 🔒 LibrePhotos: Security — pytest updated to v9.0.3 and a Django security update applied
  • ✨ LibrePhotos: Updated dependencies and updated language strings from the community

If you are interested in how I develop this application, you can watch me develop features live on my channel


Sponsoring development:

My work is sponsored by 1 awesome person!

If you like the work I do, then you can support me via GitHub sponsors or via PayPal

Development: March - April 2026

· 3 Minuten Lesezeit
Niaz Faridani-Rad
Maintainer of LibrePhotos

Here is an overview of all the new features, improvements, and bug fixes since the last release.

Upstream:

🚀 LibrePhotos: Face Tag Writeback to Sidecar Files

Face recognition results can now be written back to XMP-MWG-RS sidecar files, making your face tagging data portable and compatible with other photo management tools. A new setting controls this behavior, and the metadata handling has been refactored into a dedicated api/metadata package for cleaner architecture.

🚀 LibrePhotos: Server Logs Viewer

A new API endpoint (GET /api/serverlogs/view) allows reading server logs directly from the application, paving the way for in-app log inspection without shell access.

🚀 Frontend: Services Health Monitoring Panel

The admin page now features a dedicated services health monitoring panel showing the real-time status of all background services. Start and Stop controls are shown contextually — only when the action makes sense based on the current service health.

🚀 Frontend: Server Logs Card

A new server logs card in the admin panel lets you inspect server logs directly from the UI, powered by the new /api/serverlogs/view endpoint.

  • ✨ LibrePhotos: Optimize N+1 queries in photo serializers for better API performance
  • ✨ LibrePhotos: ConcurrentRotatingFileHandler adopted for multi-process-safe log rotation
  • ✨ LibrePhotos: Log rotation default increased to 200MB with configurable limits via CONSTANCE settings
  • ✨ Frontend: New and updated translations: Danish, German, Korean, Tamil, Dutch, Ukrainian
  • 🔨 LibrePhotos: Fix motion photo video serving — use actual file path instead of hardcoded _1.mp4 suffix
  • 🔨 LibrePhotos: Fix duplicate face detection — replace margin-based overlap check with IoU (Intersection over Union) for accurate deduplication
  • 🔨 LibrePhotos: Fix photo captioning crash when the tag service returns a non-JSON response
  • 🔨 LibrePhotos: Fix PhotoMetadataSummarySerializer to correctly expose @property fields
  • 🔨 LibrePhotos: Fix UnorderedObjectListWarning in paginated querysets
  • 🔨 LibrePhotos: Fix tagging model configuration errors when TAGGING_MODEL key is absent from CONSTANCE config
  • 🔨 Frontend: Fix login error notification — show proper error message on failed login attempt
  • 🔨 Frontend: Fix GPU memory stat parsing to accept both string and number values
  • 🔒 LibrePhotos: Security — Django updated to v5.2.12
  • 🔒 LibrePhotos: Security — Fix privilege escalation: prevent non-admin users from creating superuser accounts via the registration API
  • 🔒 Frontend: Security — lodash updated to v4.18.1
  • ✨ LibrePhotos: Updated dependencies and updated language strings from the community

If you are interested in how I develop this application, you can watch me develop features live on my channel


Sponsoring development:

My work is sponsored by 3 awesome people!

If you like the work I do, then you can support me via GitHub sponsors or via PayPal

Development: 2025 - November to February

· 5 Minuten Lesezeit
Niaz Faridani-Rad
Maintainer of LibrePhotos

This is a big one! A lot has changed since the last release. Here is an overview of all the new features, improvements and bug fixes.

Upstream:

🚀 LibrePhotos: Photo Stacks & File Variants

Inspired by PhotoPrism, RAW+JPEG pairs and Live Photos are now treated as a single photo entity with multiple file variants, instead of creating separate entries. The scanner now uses a two-phase architecture: first grouping files by directory and basename, then processing each group together. A new repair job automatically merges any previously ungrouped file variants after each scan. This comes with a completely new UI for viewing and managing stacks, file variants in the lightbox sidebar, RAW badge overlays, and a unified organizing page for stacks and duplicates.

🚀 LibrePhotos: Duplicate Detection

A brand-new duplicate detection system using perceptual hashing! It detects exact copies via hash comparison and visual duplicates using a memory-efficient two-pass algorithm that works well even with very large collections. The API supports a batch_size parameter to fine-tune performance for your hardware.

🚀 LibrePhotos: Photo UUID Primary Key & Structured Metadata

The Photo model's primary key has been changed from image_hash to UUID, which is a massive internal refactor touching models, APIs, serializers, background tasks, and tests. Alongside this, a new structured PhotoMetadata model with edit history has been added, enabling richer metadata management.

🚀 Frontend: Public Album Sharing Options

Public album sharing now supports fine-grained per-album settings. You can control the visibility of location, camera info, timestamps, captions, and faces for each shared album. Default sharing preferences can be configured in user settings, and individual albums can override them.

🚀 Frontend: Slideshow Mode

A new slideshow mode has been added to the lightbox with a configurable slide interval. Sit back and enjoy your photos!

🚀 Frontend: Explore Page

The navigation dropdown has been replaced with a dedicated explore page, giving you a much better overview of your albums, people, places, things and events at a glance.

🚀 Frontend: Redesigned Album & Statistics Pages

The album page and all statistics/data visualization pages (face clusters, social graph, word clouds, timeline, place tree) have been completely redesigned with a fresh new look.

🚀 Frontend: Spotlight Search

A new spotlight search powered by Mantine replaces the old search bar, providing a faster and more intuitive search experience with keyboard navigation.

🚀 Frontend: Select All

You can now select all photos in a view for bulk operations like deleting, sharing, or adding to albums.

  • ✨ LibrePhotos: Switch from Photon to Nominatim as default reverse geocoding provider
  • ✨ LibrePhotos: New endpoint for getting all albums for a photo
  • ✨ LibrePhotos: Improved scan error handling and stack detection
  • ✨ LibrePhotos: Split directory_watcher into a well-structured package with two-phase scan
  • ✨ LibrePhotos: Social graph error logging improvements
  • ✨ LibrePhotos: ARM CPU instruction set detection refactored and fixed
  • ✨ LibrePhotos: Add SQLite support for UUID primary key migration
  • ✨ Frontend: Fullscreen mode in lightbox
  • ✨ Frontend: Switched to MapLibre GL with PhotoPrism tile server for all map views
  • ✨ Frontend: Improved UX for setting photo location with geocode search
  • ✨ Frontend: Improved UX for albums with cover picker and better album list view
  • ✨ Frontend: New languages added to the UI
  • ✨ Frontend: Improved first time setup experience and default empty state messages
  • ✨ Frontend: File variants UI in photo details sidebar
  • ✨ Frontend: Metadata section component in lightbox
  • ✨ Frontend: Download options now include stacked/variant photos
  • ✨ Frontend: Improved scrolling behavior
  • ✨ Frontend: Extract inline styles into CSS modules (Implemented by sickelap)
  • ✨ Frontend: Replaced airbnb ESLint config with eslint:recommended + prettier; removed unused dependencies (react-spring, react-vis, react-d3-graph)
  • ✨ Frontend: Major dependency updates (jwt-decode v4, i18next v25, react-i18next v15, @tabler/icons-react v3, react-cookie v7, and more)
  • ✨ Frontend: Replaced ReactPlayer with native video element for better video playback
  • ✨ Docker: Remove SQLite data dir creation from entrypoint
  • 🔨 LibrePhotos: Fix scan progress stuck below 100% when files are skipped or invalid (Implemented by Nikoh77)
  • 🔨 LibrePhotos: Fix scan job not being marked as finished when no files need processing (Implemented by Nikoh77)
  • 🔨 LibrePhotos: Fix bugs when not having any data
  • 🔨 LibrePhotos: Fix big thumbnail content type for proxied responses (#1271)
  • 🔨 LibrePhotos: Fix social graph SQL query to work with UUID primary key
  • 🔨 LibrePhotos: Fix UnboundLocalError in face extraction from dlib
  • 🔨 LibrePhotos: Fix pagination crash with negative page_size
  • 🔨 Frontend: Fix video playback issues in lightbox
  • 🔨 Frontend: Fix photo list flickering
  • 🔨 Frontend: Fix server stats parsing for CPU info fields
  • 🔨 Frontend: Fix upload issues with sequential file uploads and query invalidation
  • 🔨 Frontend: Fix number of deleted images when selecting all
  • 🔨 Frontend: Fix face dashboard issues and face mutation hooks
  • 🔨 Frontend: Fix issues with shared by me albums view
  • 🔨 Frontend: Fix memory hog issue
  • 🔨 Frontend: Fix login popup messages
  • ✨ Frontend: Fix ESLint errors (Implemented by sickelap)
  • ✨ LibrePhotos: Updated dependencies and updated language strings from the community

If you are interested on how I develop this application, you can watch me develop features live on my channel


Sponsoring development:

My work is sponsored by 3 awesome people!

If you like the work I do, then you can support me via GitHub sponsors or via PayPal

Development: 2026 - February

· Eine Minute Lesezeit
Niaz Faridani-Rad
Maintainer of LibrePhotos

This release introduces a multi-model tagging system, giving you the choice of two different AI models for auto-tagging your photos.

Upstream:

  • 🚀 LibrePhotos/Frontend: Multi-Model Tagging System
    • You can now choose between two tagging models in Site Settings → Tagging Model:
      • Places365 — The classic scene recognition model (default)
      • SigLIP 2 — Google's latest vision-language model, running as ONNX. Uses zero-shot classification against a curated vocabulary of 900+ real-world photo tags (people, animals, nature, activities, scenes, weather, and more). Returns the top 10 most relevant tags.
    • Tags are stored per model — switching between models does not delete previously generated tags, and does not require rescanning your library.
    • The lightbox sidebar now shows tags with color-coded badges for each model (green for SigLIP 2, blue for Places365).
    • Things Albums are dynamically filtered to only show tags from the currently active tagging model.
    • Search results use tags from the selected model.

If you are interested on how I develop this application, you can watch me develop features live on my channel


Sponsoring development:

My work is sponsored by 3 awesome people!

If you like the work I do, then you can support me via GitHub sponsors or via PayPal

Development: 2025 - September and October

· 2 Minuten Lesezeit
Niaz Faridani-Rad
Maintainer of LibrePhotos

Breaking change: Postgres v18+: change your volume mount path!

With Postgres v18+, mounting a volume to /var/lib/postgresql/data can fail in Docker/Kubernetes due to an upstream change that enforces a new data directory (/var/lib/postgresql/MAJOR/docker) and adds a symlink from /var/lib/postgresql/data to /var/lib/postgresql (details).

Action required: Mount your volume to /var/lib/postgresql instead. pgautoupgrade will detect any existing data there and migrate it to the new structure (discussion: pgautoupgrade#164).

Upstream:

  • 🚀 LibrePhotos/Frontend: You can now edit GPS locations
  • ✨ Frontend: Upgraded to Mantine 8.3 and fixed linting errors (Implemented by sickelap)
  • ✨ LibrePhotos: Using Argon2PasswordHasher for new and updated accounts for faster authentication
  • 🔨 LibrePhotos: Handle empty recently added photo queries
  • 🔨 LibrePhotos: Fix BLIP on newer versions of librephotos
  • 🔨 LibrePhotos: Fix proxy redirects for non-ASCII original photo paths
  • 🔨 LibrePhotos: Fix LLM models downloading even when none was selected
  • 🔨 Frontend: Fix a bug when uploading images
  • ✨ LibrePhotos: Updated dependencies and updated language strings from the community

If you are interested on how I develop this application, you can watch me develop features live on my channel


Sponsoring development:

My work is sponsored by 2 awesome people!

If you like the work I do, then you can support me via GitHub sponsors or via PayPal

Development: 2025 - July and August

· Eine Minute Lesezeit
Niaz Faridani-Rad
Maintainer of LibrePhotos

Upstream:

  • 🚀 Docker: You can now launch LibrePhotos as a single container with docker with the "librephotos-unified:latest" image
  • 🚀 LibrePhotos: Public sharing via link for albums
  • 🚀 LibrePhotos: Folder navigation view + pagination & aggregated photo counts for subfolders
  • ✨ Docker: use native runners instead of emulation
  • ✨ Frontend: Breadcrumb Path in detail views, and infinite scroll for subfolders
  • ✨ LibrePhotos: fewer queries in several views (perf pass)
  • ✨ LibrePhotos: Multiple fixes in order to make sqllite work
  • ✨ Frontend: Improved deletion dialog; centered login title;
  • 🔨 LibrePhotos: fix n+1 on delete; fix trash view; migration stability for missing image paths
  • 🔨 Frontend: fix GIFs in viewer; fix no-timestamp errors
  • ✨ LibrePhotos: Updated dependencies and updated language strings from the community

If you are interested on how I develop this application, you can watch me develop features live on my channel


Sponsoring development:

My work is sponsored by 2 awesome people!

If you like the work I do, then you can support me via GitHub sponsors or via PayPal

Development: 2025 - June

· Eine Minute Lesezeit
Niaz Faridani-Rad
Maintainer of LibrePhotos

Upstream:

  • ✨ Docs: Update upload documentation to clarify scan directory requirements and remove heavyweight process setting
  • 🔨 LibrePhotos: Fixed scanning of videos by fixing an issue with calculating aspect ratios (#1587)
  • 🔨 LibrePhotos: Fixed scanning media from nextcloud (Implemented by varet80)
  • 🔨 Frontend: Fix cache invalidation issues in FaceDashboard (#1586)
  • ✨ LibrePhotos: Updated dependencies and updated language strings from the community

If you are interested on how I develop this application, you can watch me develop features live on my channel


Sponsoring development:

My work is sponsored by 2 awesome people!

If you like the work I do, then you can support me via GitHub sponsors or via PayPal

Development: 2025 - May

· 2 Minuten Lesezeit
Niaz Faridani-Rad
Maintainer of LibrePhotos

Upstream:

🚀 Backend: Added Moondream 2 for caption generation

The backend integrated the Moondream 2 model (via llama-cpp-python) for image+text analysis, marking images as multi-modal inputs. This lays groundwork for more advanced AI features like richer automatic captions or visual queries by allowing the AI to handle both image and text together.

✨ Frontend: Keyboard shortcuts in Lightbox

You can now use keyboard shortcuts in the lightbox to navigate photos, toggle the info sidebar, and even delete images – all without touching the mouse! Helpful tooltips have been added to the UI to remind you of these new shortcuts

Smaller things:

  • ✨ Backend: Refactored photo captioning and search
  • ✨ Backend: Resolved some noisy logger warnings (Implemented by emmanuel-ferdman)
  • 🔨 Backend: Normal users can now create albums again
  • ✨ Frontend: It is now possible to delete images from the lightbox
  • 🔨 Frontend: Fixed the download photos action
  • 🔨 Frontend: Fixed the places tree page
  • 🔨 Frontend: Fixed mobile view of photos

If you are interested on how I develop this application, you can watch me develop features live on my channel


Sponsoring development:

My work is sponsored by 2 awesome people!

If you like the work I do, then you can support me via GitHub sponsors or via PayPal

Development: 2025 - April

· 2 Minuten Lesezeit
Niaz Faridani-Rad
Maintainer of LibrePhotos

Upstream:

  • 🚀 Frontend: Switched from RTK Query and Redux to Tanstack Query

The syntax of RTK Query was difficult to work with, and Redux introduced unnecessary complexity for our needs. With TanStack Query, data fetching feels much more natural and removes the need for boilerplate like slices or global state management for async data.

  • 🚀 Frontend: Switched from React Router to Tanstack Router

Switching to TanStack Router improves consistency with TanStack Query, enables typesafe URL-based state management, and supports powerful features like intent-based fetching — all with deeper integration options out of the box.

  • ✨ Frontend: Overhauled Face Dashboard controls
  • ✨ Frontend: Add keyboard navigation to the lightbox
  • ✨ LibrePhotos: Disable password change on demo site (Implemented by sickelap)
  • ✨ LibrePhotos: Extracted a thumbnail model from the photo model
  • ✨ LibrePhotos: Updated dependencies and updated language strings from the community
  • 🔨 Frontend: Fixed a lot of small issues

If you are interested on how I develop this application, you can watch me develop features live on my channel


Sponsoring development:

My work is sponsored by 2 awesome people!

If you like the work I do, then you can support me via GitHub sponsors or via PayPal

Development: 2025 - March

· 2 Minuten Lesezeit
Niaz Faridani-Rad
Maintainer of LibrePhotos

Upstream:

  • 🚀 LibrePhotos: You can now download the logs from the admin dashboard
  • 🚀 Frontend: You can now drag images around in the light box
  • 🚀 Frontend: Similar images can now be clicked and viewed on a new single photo page
  • ✨ LibrePhotos: Faster import of photos (Implemented by Ava)
  • ✨ Frontend: Use Mantine tree and removed a dependency
  • ✨ Frontend: You can now set any value for the size of the images
  • ✨ Frontend: Light / Dark mode got moved to the header instead
  • 🔨 LibrePhotos: Uploaded files now get checked, if they are supported, before saving them
  • 🔨 Docker: httpPort should now work, when set in .env
  • 🔨 Frontend: Auto albums should be visible now, even when the title is missing
  • 🔨 Frontend: Fixed rendering of the captions box in the light box
  • 🔨 Frontend: Fixed an issue where the notification would appear below the viewport
  • ✨ LibrePhotos: Updated dependencies and updated language strings from the community

If you are interested on how I develop this application, you can watch me develop features live on my channel


Sponsoring development:

My work is sponsored by 2 awesome people!

If you like the work I do, then you can support me via GitHub sponsors or via PayPal