Skip to content

Buckler 0.7.1

Choose a tag to compare

@stanleehub stanleehub released this 12 Oct 21:32
· 4 commits to main since this release

See and end your other sign-ins, and a fix for losing an account's saved work when it signs back in.

Added

  • Where you're signed in (F-12.11): Settings → Account & Sync lists every browser and
    device signed in to the account, with Sign out for each and Sign out of other devices.
    SessionsSettings, AuthProvider.listSessions / revokeSession / signOutOtherSessions,
    lib/deviceLabel.ts, and supabase/migrations/…_session_management.sql
    (list_my_sessions, revoke_my_session).

Fixed

  • Data loss on sign-back-in. If an account signed out, a guest then wrote on the same
    device, and the account signed back in, its saved work was left behind and sync deleted it
    from the server. Saved work is now merged with the guest's ('merged' outcome), and the
    sync state is kept with the saved work. Covered by ownershipSync.test.ts. Affected 0.6.0
    and 0.7.0; a check of the one live account found no deleted records.
  • A sign-out with nothing to keep no longer leaves an old vault that could bring back deleted work.

Changed

  • The sync device label helper moved from the sync controller to lib/deviceLabel.ts.