Skip to content

3.3.0

Choose a tag to compare

@cbenning cbenning released this 16 Nov 22:05
· 9 commits to main since this release
Immutable release. Only release title and notes can be modified.
e0c0d7d

Highlights

  • Fussel is now on PyPI. Run it with only Python installed: uvx fussel --config config.yml, or uv tool install fussel. The web app ships prebuilt in the package, so generating a site no longer needs Node or yarn (#219).
  • people.json for other sites. With people detection on, Fussel writes people.json at the gallery root. A family tree or blog can fetch it to show a few thumbnails per person and link to their gallery. Each photo lists its smallest size as thumb and its largest as src. gallery.people.manifest_photos sets how many photos are listed per person (#217, #218).
  • Releases publish to PyPI automatically. Publishing a release builds the web app and the wheel, smoke-tests it, and uploads with PyPI trusted publishing (#219).

Upgrade notes

PyPI and Docker users need to do nothing. If you run Fussel from a clone:

  • Run make build-web after pulling and after editing fussel/web/src. make generate does it for you. Running python -m fussel.fussel without a build stops with prebuilt web app not found.
  • A relative gallery.output_path now resolves from the directory you run Fussel in, not the repo root. Use an absolute path to be safe.
  • --config is new. Without it, Fussel reads ./config.yml from the current directory.
  • overwrite: True clears only <output_path>/static/_gallery. Other files in the output directory are left alone.
  • people.json is written to the output directory next to index.html, not into fussel/web/public. Delete any old fussel/web/public/people.json.
  • make dev needs generated data in fussel/web/public. See "Development Mode" in the README.
  • Delete leftovers from earlier versions before building: fussel/web/public/static, fussel/web/src/_gallery and fussel/web/build. Vite copies public/ into the bundle, so old photos left there end up in the build and in the package.
  • Regenerating into an existing output directory leaves old assets/index-*.js files in place. They are unused and safe to delete.
  • http_root no longer sets the web app's base URL, because assets use relative URLs. It still sets photo URLs.

Docs and internals

  • The README leads with the PyPI install, then Docker, then a clone, and has a new "Upgrading a clone to the prebuilt web app" section (#219).
  • CI builds the wheel and smoke-tests it on every PR (#219).
  • The web app loads gallery data as JSON at runtime instead of importing generated JS (#219).

Full changelog: 3.2.0...3.3.0