Locations 0.2.1: A build setting for developers, no change for sites
Locations 0.2.1 changes nothing on a running site: the PhoenixKit locations module works exactly as in 0.2.0.
The release only touches the module’s build file. Developers working on the module can now point it at a local PhoenixKit checkout by setting PHOENIX_KIT_PATH. Without that variable, or with it left blank, the published PhoenixKit from Hex is used as before. The PhoenixKit requirement stays at 1.7.125 or later, so there is nothing to do beyond updating the dependency.
Full release notes: Locations 0.2.1
0.2.1 · 8 June 2026
Added
- Env-gated local dependency override.
phoenix_kit(and future siblingphoenix_kit_*deps) now resolve through apk_dep/3helper inmix.exs: export<APP>_PATH(e.g.PHOENIX_KIT_PATH=../phoenix_kit) to build/test against a local checkout viapath:+override: true; unset or blank falls back to the published Hex pin, somix hex.publishand CI resolve exactly as before. Documented inAGENTS.md. A blank/whitespace value is treated as unset (System.get_env/1returns"", notnil), soPHOENIX_KIT_PATH= mix testno longer produces a brokenpath: ""dep.
Changed
- Dependency lockfile refreshed (incl.
phoenix_kit1.7.125 → 1.7.133); the~> 1.7.125requirement is unchanged and the published runtime/API is identical to 0.2.0. - Minor docstring cleanup in
PhoenixKitLocations.Locations.log_module_toggle/2.
Locations 0.2.1. Install or update: {:phoenix_kit_locations, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.