260305-fad9d5395

daydreamlive/DEMON260305-fad9d5395Mar 5, 2026by lastzero

AI Summary

This service release focuses on security hardening and interoperability improvements, specifically enhancing Ollama configuration options and fixing various edge cases in indexing, places, and folder management.

Key Highlights

  • Enhanced Ollama configuration with `OLLAMA_BASE_URL` and `OLLAMA_API_KEY` environment variables.
  • Improved fallback response handling for caption generation with reasoning models.
  • Fixed edge cases in indexing, Places (GPS boundary overshoots), and folder albums (emoji/slug collisions).
  • Upgraded Go to v1.26 for security fixes and improvements.

New Features

  • Easier Ollama configuration via environment variables.
  • "Thinking" response fallback for captions.
  • HTTP security hardening config options.
  • Improved Gzip route exclusions configuration and performance.

Full Release Notes

This service release focuses on security hardening, interoperability improvements, and bug fixes to create a stable platform for upcoming features. 🔧

Ollama users benefit from [easier configuration](https://docs.photoprism.app/user-guide/ai/using-ollama/) with the `OLLAMA_BASE_URL` and `OLLAMA_API_KEY` environment variables, as well as improved fallback response handling for [caption generation](https://docs.photoprism.app/user-guide/ai/ollama-models/#caption-prompts) with reasoning models. To improve reliability, we addressed edge cases in [indexing](https://docs.photoprism.app/user-guide/library/originals/), [Places](https://docs.photoprism.app/user-guide/organize/places/) (GPS boundary overshoots), [folder albums](https://docs.photoprism.app/user-guide/organize/folders/) (emoji and slug collisions), [thumbnails](https://docs.photoprism.app/user-guide/settings/advanced/#preview-images), [metadata parsing](https://docs.photoprism.app/user-guide/library/metadata/), [WebDAV](https://docs.photoprism.app/user-guide/sync/webdav/) response headers, CLI validation, [OIDC](https://docs.photoprism.app/getting-started/advanced/openid-connect/) compatibility, and shared-domain hosting.

#### What's new?

- Ollama: [Added support for configuration via `OLLAMA_BASE_URL` and `OLLAMA_API_KEY`](https://github.com/photoprism/photoprism/issues/5361)
- Ollama: [Added a "thinking" response fallback for captions](https://github.com/photoprism/photoprism/issues/5455) by @lastzero
- Index: [Fixed merged photos keeping image type after video file merges](https://github.com/photoprism/photoprism/issues/5418)
- Places: [Fixed handling of minor GPS coordinate overshoots near map boundaries](https://github.com/photoprism/photoprism/issues/5445)
- Folders: [Fixed emoji subfolders conflicting with parent folder albums](https://github.com/photoprism/photoprism/issues/5366)
- Folders: [Fixed folder album path collisions caused by truncated slugs](https://github.com/photoprism/photoprism/issues/5437)
- Library: [Hidden results now display file error reasons in Card and List views](https://github.com/photoprism/photoprism/issues/5391)
- Thumbs: [Fixed error buffer handling when interop index was missing](https://github.com/photoprism/photoprism/issues/5389)
- Metadata: [Clamped invalid Google JSON GPS coordinates to geo bounds](https://github.com/photoprism/photoprism/issues/5373)
- WebDAV: [Hardened response headers for interoperability](https://github.com/photoprism/photoprism/issues/5472) by @lastzero
- CLI: [Standardized input path validation and exit codes](https://github.com/photoprism/photoprism/issues/5457) by @lastzero
- SQLite: [Improved compatibility with Google OIDC identity provider](https://github.com/photoprism/photoprism/issues/4951) by @keif888
- Server: [Added HTTP security hardening config options](https://github.com/photoprism/photoprism/issues/5471) by @lastzero
- Server: [Improved configuration and performance of Gzip route exclusions](https://github.com/photoprism/photoprism/issues/5384)
- Server: [Resolved known issues when hosting on a shared domain](https://github.com/photoprism/photoprism/issues/2391)
- Logs: [Fixed handling of missing caption thumbnails and video remux errors](https://github.com/photoprism/photoprism/issues/5398)
- Security: [Upgraded Go to v1.26, which includes fixes and improvements](https://github.com/golang/go/issues?q=milestone%3AGo1.26)
- Translations: [Updated French, German, Latvian, and Romanian](https://docs.photoprism.app/developer-guide/translations-weblate/)

#### Translations

Missing [user interface translations](https://translate.photoprism.app/projects/photoprism/) have been generated with the help of DeepL and Google Translate. Native speakers are [welcome to help us improve them](https://docs.photoprism.app/developer-guide/translations-weblate/) where needed. [Learn more ›](https://docs.photoprism.app/developer-guide/translations-weblate/)

#### Installation Packages

The packages attached to this release are intended for experienced users and maintainers of third-party integrations only, as they [require manual configuration](https://dl.photoprism.app/pkg/linux/README.html#configuration) and [do not include tested system dependencies](https://dl.photoprism.app/pkg/linux/README.html#dependencies). Since we are unable to [provide support](https://www.photoprism.app/kb/getting-support) for custom installations, we recommend [using one of our Docker images](https://docs.photoprism.app/getting-started/docker-compose/) to run PhotoPrism on a private server or NAS device. [Learn more ›](https://dl.photoprism.app/pkg/linux/README.html)