v0.6.8-beta

gtsteffaniak/filebrowserv0.6.8-betaApr 12, 2025by gtsteffaniak

AI Summary

This is a significant configuration restructuring release that adds environment variable support for secrets and implements config validation, but requires users to update their existing config files. The release moves recaptcha and signup settings to auth.methods.password and adds validation that fails on unknown fields.

Key Highlights

  • Config validation added - fails on unknown fields and validates certain values
  • Environment variables now supported for certain secrets
  • recaptcha and signup configs moved to auth.methods.password
  • Bug fix: scope reset on restart
  • Bug fix: clicking empty space to deselect items

Breaking Changes

  • Existing config files require adjustments - service will fail to start with helpful error messages
  • recaptcha and signup configs moved from root level to auth.methods.password
  • Config validation now rejects unknown fields (helps catch typos but may break existing configs)

New Features

  • Environment variable support for secrets
  • Config validation with unknown field detection
  • Config validation with value validation on certain fields
  • Docker image now pushed to ghcr.io/gtsteffaniak/filebrowser

Full Release Notes

## What's Changed

> [!WARNING]
> Hey everyone -- most of your existing configs will not work without adjustments for this release! Keep an eye on your service as you try to start it, it will tell you what needs updating. This one-time pain should make things much more helpful in the future. Thanks for understanding -- I didn't want to group this change in with v0.7.0 (which will get released in approx 2 weeks) since it includes many new features, I wanted to get configs cleaned up beforehand.

 **New Features**
 - Environment variables are available for certain secrets.
   - see wiki https://github.com/gtsteffaniak/filebrowser/wiki/Environment-Variables
   - thanks @aaronkyriesenbach https://github.com/gtsteffaniak/filebrowser/pull/511

 **Notes**:
 - config validation (see https://github.com/gtsteffaniak/filebrowser/wiki/Full-Config-Example)
   - fails when config file contains unknown fields (helps spot typos)
   - some light value validation on certain fields
   - moved `recaptcha` and `signup` configs to `auth.methods.password`
 - also pushes to ghcr `ghcr.io/gtsteffaniak/filebrowser` https://github.com/gtsteffaniak/filebrowser/issues/470

 **BugFixes**:
 - fix scope reset on restart https://github.com/gtsteffaniak/filebrowser/issues/515
 - Clicking empty space to deselect https://github.com/gtsteffaniak/filebrowser/issues/492

## New Contributors
* @aaronkyriesenbach made their first contribution in https://github.com/gtsteffaniak/filebrowser/pull/511

**Full Changelog**: https://github.com/gtsteffaniak/filebrowser/compare/v0.6.7-beta...v0.6.8-beta