Publishing 0.1.11: The prefixless default language is now a site-wide setting
Publishing 0.1.11 moves the Default Language Without Prefix setting out of the module. It decides whether primary-language URLs have a language prefix, such as /blog/post instead of /en/blog/post, and is now owned by core’s Languages settings.
On the Publishing settings page the switch becomes a read-only row that shows whether it is on, with a Manage link to the Languages page. Public URLs and redirects behave as before. Core copies the old Publishing value into the new setting at boot, so existing sites keep their choice without doing anything.
Upgrading
Update PhoenixKit to 1.7.115 or later together with this release: that is the core version that owns the setting and copies the old value. The package’s declared requirement stays ~> 1.7, so it does not enforce this.
Full release notes: Publishing 0.1.11
0.1.11 · 19 May 2026
PR #18 — delegate the default_language_no_prefix toggle to the site-wide core setting (paired with phoenix_kit 1.7.115).
Changed
LanguageHelpers.default_language_no_prefix?/0now delegates toPhoenixKit.Modules.Languages.default_language_no_prefix?/0instead of reading the legacypublishing_default_language_no_prefixsetting key directly. All consumers (the sixWeb.HTMLURL builders, the canonical-redirect controller, and thePublishing.default_language_no_prefix?/0/use_language_prefix?/1facade) keep the same signature and behavior./admin/settings/publishing— the “Default Language Without Prefix” toggle is replaced with a read-only status row and a “Manage” link to/admin/settings/languages, which now owns the setting. Removes the dual-write risk where the publishing-side write could desync from the core-side read mid-deploy.- Bumped
phoenix_kitto1.7.115, which shipsModules.Languages.default_language_no_prefix?/0and theLanguages.migrate_legacy/0backfill (run byModuleRegistryat boot) that copies the legacypublishing_default_language_no_prefixvalue into the new core key, so existing sites keep their explicit choice without admin action.
Removed
@default_language_no_prefix_keyconstant and thetoggle_default_language_no_prefixLiveView event onWeb.Settings— the setting is no longer publishing-owned.
Publishing 0.1.11. Install or update: {:phoenix_kit_publishing, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.