PhoenixKit 1.7.171: An empty sitemap while noindex is on
PhoenixKit 1.7.171 makes the sitemap and the SEO module’s noindex setting agree: while noindex is on, /sitemap.xml lists no addresses, and the site’s own public pages carry the noindex tags too.
The sitemap now serves a valid but empty list while noindex is on, and switching the setting rebuilds it. Before, only PhoenixKit’s own pages got the noindex tags; a host app’s pages that use PhoenixKit’s on_mount now get them as well.
When a content module such as Publishing or Entities gave a richer entry for an address, with priority and language versions, the sitemap could keep the plain entry found by router discovery instead. It now keeps the richer one. Router discovery also skips /__ routes and /maintenance, and logs invalid exclude patterns.
Migration V70 no longer fails on installs where the old integer email log columns were already removed.
Full release notes: PhoenixKit 1.7.171
1.7.171 · 3 July 2026
Changed
RouterDiscoverysitemap source compiles exclude/include-only patterns once per collection instead of once per route per pattern. Same behavior, fewerRegex.compile/1calls; invalid patterns (e.g. a bare"*", which is not a valid regex) are now logged instead of silently swallowed. Two more default excludes:^/__(internal/technical routes, e.g. Publishing’s dispatch catch-all scope) and^/maintenance$(PhoenixKit’s reserved maintenance page) — both mainly load-bearing for installs with a non-defaulturl_prefix. (#614, #615)- New optional
reserved_route_prefixes/0module callback +PhoenixKit.ModuleRegistry.all_reserved_route_prefixes/0. Lets a module declare top-level route path segments it owns (e.g.["legal"]), so a database-driven dispatcher (e.g. Publishing’s/:language/:group/*pathcatch-all) can avoid swallowing another module’s route just because a same-named record happens to exist in its own data. Iterates all installed modules (not just enabled ones), since the guarded route is normally compiled into the host router independent of the module’s runtime enabled/disabled toggle. Declaring a prefix is passive on its own — it changes nothing until a dispatcher consults it. (#614) - Bumped
phoenix_live_view1.2.4 → 1.2.5,plug1.20.1 → 1.20.2,makeup1.2.1 → 1.2.2 (lockfile).
Fixed
- V70 migration crash on installs missing the legacy
email_log_id/matched_email_log_idinteger FK columns. The re-backfill guards checked that the UUID companion columns existed but not the legacy integer columns the raw SQL actually joins on, so an install where those legacy columns were already dropped hit anundefined columnerror. (#613) - Sitemap no longer advertises URLs while the SEO module’s
noindexdirective is active./sitemap.xml(XML and HTML) now publishes an empty but schema-valid<urlset>instead of the full URL list wheneverseo_no_indexis enabled, and toggling the directive invalidates + triggers regeneration of the cached sitemap so it doesn’t keep serving a stale file. (#614) - Sitemap
RouterDiscoveryno longer masks richer entries from other sources.RouterDiscoveryenumerates every GET route generically; when a content source (Publishing, Entities, …) emitted a richer entry (priority,canonical_path, hreflang alternates) for the same URL, the oldloc-based dedup kept whichever entry was listed first — always the genericRouterDiscoveryone — silently dropping priority and hreflang alternates from the sitemap. Dedup now always prefers the richer, non-RouterDiscoveryentry regardless of source order. (#615) seo_no_indexnow reaches a host application’s own public LiveViews. Previously onlyLayoutWrapper.app_layout_inner/1(PhoenixKit’s own admin/plugin views) set the:seo_no_indexassign thatroot.html.heexreads for thenoindex,nofollowmeta tags, so a host app’s own public LiveView — mounted through PhoenixKit’son_mountchain forcurrent_user/locale support but rendered with its own layout — never got the directive even with it enabled. The assign is now set from thehandle_paramshook shared by every PhoenixKiton_mountvariant. (#616)
Older releases are archived by quarter in
dev_docs/changelogs/:
2026 Q2 ·
2026 Q1 ·
2025
PhoenixKit 1.7.171. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.