Repository navigation
v0.5.114
Upgrading
- Run
kit:update plan|applyforsession-ui(re-pinnedsha256:3147e395…e42e→sha256:0b7119bb…9963) andworkspace-ui(re-pinnedsha256:c73301ca…1890→sha256:bb66501a…3253), thenphp artisan migrate: the new0001_01_02_000505_add_finished_at_to_kit_account_deletions_tablemigration, andWorkspace/Settings/Delete/Page.vueandWorkspace/Account/Delete/Page.vue, which show the password field whileconfirms_passwordis true. A host that edited those pages adds the field itself. Clients that callDELETE /@{workspace}/settings/deletemust now sendpassword, unlesskit.lifecycle.confirm_passwordisfalse.
Added
- Deleting a workspace asks for your password (docs/lifecycle-events.md › Delete a workspace). Settings › Delete workspace now requires the current
passwordwith the typed name. A missing or wrong one is a 422 and nothing changes. Account deletion already asked for it. Both are on by default.kit.lifecycle.confirm_password(KIT_DELETE_CONFIRM_PASSWORD) turns them off, but only when it isfalseexactly: any other value keeps the password required. - A host can keep the user row when an account is deleted (docs/lifecycle-events.md › Keeping the user row). Bind
Tey\Kit\Features\SessionUi\Contracts\DeletesAccountRow::delete(Model $user)to anonymise the row instead of deleting it, for tables that keep history on RESTRICT foreign keys to users. Unbound, the user is hard-deleted as before. After the kit's rows go, an anonymised row keeps its Concierge account deactivated, so it never signs in. Itskit_account_deletionsrecord is markedfinished_at, andFinishAccountDeletionreturnsfalseon a retry instead of failing.
What's Changed
- Let a host keep the user row on deletion, and confirm the password to delete (0.5.x) by @jaspertey in #513
- Release v0.5.114 by @jaspertey in #521
Full Changelog: v0.5.113...v0.5.114