Templates Editor 0.2.1: Passkey notices are protected like other sign-in emails
Templates editor 0.2.1 keeps the two new passkey emails of PhoenixKit 3.6 out of reach of a blanket override, as it already does for the other emails that guard how people sign in.
Passkey notices count as sign-in emails
PhoenixKit 3.6 emails an account’s owner when a passkey is added to or removed from their account (passkey_added and passkey_removed). These warn of a change to how the account signs in, so a broken copy could hide an intrusion. With 0.2.0 and core 3.6, the host’s overridable: :all setting let them be replaced. Now they are treated like account confirmation, password reset and the sign-in alerts: :all leaves them out, they can only be allowed by name, and the editor shows them with its warning This email lets people into their account or warns them about a sign-in: a mistake in it can keep everyone out or hide an intrusion. Send it to yourself before relying on it.
Two smaller changes: placeholders are now read with the same rules the email renderer uses, and on core 3.6 the editor’s script is loaded only on admin pages, so public pages no longer download it.
Upgrading
Templates editor 0.2.1 needs PhoenixKit 3.5.0 or later and phoenix_kit_templates 0.2.5 or later. There is no migration. Under overridable: :all the editor no longer lets you write files for the passkey emails; to allow them, list passkey_added and passkey_removed by name.
Full release notes: Templates Editor 0.2.1
0.2.1 · 15 November 2026
Fixed
- Core 3.6’s passkey notices are sign-in emails (
Names.auth_emails/0):passkey_addedandpasskey_removedwarn an account’s owner of a change to how it signs in, andoverridable: :allno longer lets a host replace them. On 0.2.0 with core 3.6 they were overridable.
Changed
- Core floor raised to 3.5.0 (
>= 3.5.0 and < 4.0.0), the ecosystem-wide minimum; the fallbacks for older cores are gone. phoenix_kit_templates~> 0.2.5: the converters and the save check read placeholders withSubstitution.split/1, the grammar the renderer substitutes by, instead of a copy of its regex.- The JS bundle is admin-scoped (
scope: :admin, its hook listed): on core 3.6 public pages no longer download it. An older core ignores both keys.
Templates Editor 0.2.1. Install or update: {:phoenix_kit_templates_editor, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.