Skip to content

1.5.0

Latest

Choose a tag to compare

@etiennecollin etiennecollin released this 26 Jul 15:10
1.5.0
8706168

What's changed

A bunch of fixes and improvements!

Features

  • Increased the maximum number of vouchers that can be created in a single request to 1000, matching the UniFi API batch size limit.
  • Increased the maximum number of guests per voucher to 1000.
  • Added support for retrieving more than 100 vouchers in voucher lists.
  • Improved the voucher creation flow to display the number of vouchers created when generating multiple vouchers instead of only showing the first voucher.
  • Added an environment variable, PURGE_ALL_EXPIRED_VOUCHERS, which enables purging all expired vouchers rather than limiting the purge to expired rolling vouchers.
  • Added support for a custom SVG logo in the header of the main page.
    • Added IS_LOGO_INVERTIBLE to specify whether the logo should be inverted in dark mode.
  • Added support for a custom SVG logo in the QR code of printed vouchers.
  • Added support for configuration of printed information. See PRINT_CONFIG in README for more information.
  • Improved SSR and config management.

Fixes

  • Fixed voucher printing to only include the currently selected vouchers instead of all vouchers in the list.
  • Fixed HTTP 431 “Header Fields Too Large” errors when deleting large numbers of vouchers by batching deletion requests.
  • Fixed HTTP 431 “Header Fields Too Large” errors when printing more than 30 vouchers.
  • Fixed a hydration issue caused by runtime configuration handling.

Refactoring

  • Refactored voucher retrieval to better support larger voucher collections.
  • Refactored request parameter handling to improve internal API usage.

Chores

  • Added backend debug configuration support.
  • Bumped docker base image versions
  • Bumped backend dependency versions
  • Bumped frontend dependency versions

Full Changelog: 1.4.3...1.5.0