Skip to content

v2.2.1

Latest

Choose a tag to compare

@nfoert nfoert released this 10 Aug 16:03
· 2 commits to main since this release
4e4fa6d

This release fixes some issues with loading the correct .env values in prod, switches to a new docker image for database backups, and gets offline mode working correctly.

Changes

  • Authentication components switched to using $env/dynamic/public instead of $env/static/public. This allows the dummy .env values to be removed from the Dockerfile, and gets the authentication components working again.
  • Switched to prodrigestivill/postgres-backup-local for database backups instead.
  • Added instructions for running a production build locally.
  • Use sveltePhosphorOptimize to speed up npm build time.
  • Offline mode is now supported.
    • Previously, the service worker was implemented enough to serve as a PWA, but no pages were actually being cached.
    • Now, the site works offline. HTML is now prerendered, and public .env values are cached using a custom service worker.
    • Because pages had to be prerendered, user state is now loaded in the client in auth.ts instead of the node server.
    • The offline experience is far from perfect. Improvements and fallbacks will be added in #207. For now, most pages are simply served offline and network requests will fail.
  • Fixed an issue where users couldn't continue in the start page without an account.
  • The event list's favorite button loading skeleton now only shows if the user is actually loading.