Skip to content

v0.6.1 — Fix API key QR crash

Choose a tag to compare

@github-actions github-actions released this 11 Oct 17:53
· 1 commit to main since this release
5265fe5

v0.6.1

Highlights:

  • Creating or rotating an API key no longer crashes the dashboard; the new key and its QR code are shown again
  • The same fix restores the QR codes in Add Device and the crypto top-up dialog

Fixes:

  • Pin the transitive qr dependency to ~0.5.5. cuer 0.0.3 always calls encodeQR with border: 0, which qr >= 0.6.0 rejects with "RangeError: invalid border=0". The v0.6.0 dependency refresh pulled in qr 0.7.0, so every QR render threw and the root error boundary replaced the page.
  • Keys were still created or rotated server-side while the dialog crashed, so a key created or rotated from the dashboard on v0.6.0 may never have been seen. Rotate or delete it if needed.
Full changelog
  • 5265fe5 Pin qr to 0.5.x so API key and device QR codes render again (#254)