import { VersionInfo } from '@start9labs/start-sdk'

export const v_0_2_91 = VersionInfo.of({
  version: '0.2.91:0',
  releaseNotes: {
    en_US: 'Reversible mode-switching + Sign up button for anon. Fixed a bug where switching multi→single mode would hide the operator\'s library: pre-0.2.91 the first multi-mode signup renamed /data/history/owner/ → /data/history/<admin_user_id>/, so single-mode (which always reads "owner") couldn\'t find it after the flip. Now admin\'s library scope is always "owner" regardless of mode, and a one-time boot fixup renames the legacy admin folder back to owner/ on upgraded installs. Mode switching is now fully reversible — admin keeps their library either way; other tenants\' libraries persist on disk while multi-mode is off and reappear when it\'s flipped back on. Anon visitors now see TWO pills in the header — "Sign up" (purple CTA) and "Sign in" (muted) — both going to /auth.html with an intent= query param so the page H1 reads "Create your account" or "Sign in" appropriately.',
  },
  migrations: {
    up: async ({ effects }) => {},
    down: async ({ effects }) => {},
  },
})
