Skip to content

PhoenixKit 1.7.215: QR sign-in and robots.txt kept out of the sitemap

PhoenixKit 1.7.215 stops two addresses from ending up in the sitemap that PhoenixKit builds from the app’s router.

The QR sign-in page at /users/qr-login and a /robots.txt served by a controller were listed as pages, because the default exclusions did not cover them. Both are now excluded by default. Sites that serve robots.txt as a static file were not affected.

Upgrading

A saved custom exclusion list replaces the defaults. If you saved one in the sitemap settings, add /users/qr-login and ^/robots\.txt$ to it yourself.

Full release notes: PhoenixKit 1.7.215

1.7.215 · 27 July 2026

Fixed

  • Sitemap: /users/qr-login and /robots.txt no longer land in the sitemap — both were missing from Router Discovery’s default exclude patterns. The QR device-handoff login is a public route with no auth pipeline and no on_mount hook, and the existing "/users/log-in" pattern does not match it; a controller-served robots.txt reaches the router the same way (Plug.Static installs are unaffected). Note that sitemap_router_discovery_exclude_patterns replaces the defaults when saved, so installs that already customized the list must re-copy it from /admin/settings/sitemap to pick these up.

PhoenixKit 1.7.215. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.