Skip to content

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 sibling phoenix_kit_* deps) now resolve through a pk_dep/3 helper in mix.exs: export <APP>_PATH (e.g. PHOENIX_KIT_PATH=../phoenix_kit) to build/test against a local checkout via path: + override: true; unset or blank falls back to the published Hex pin, so mix hex.publish and CI resolve exactly as before. Documented in AGENTS.md. A blank/whitespace value is treated as unset (System.get_env/1 returns "", not nil), so PHOENIX_KIT_PATH= mix test no longer produces a broken path: "" dep.

Changed

  • Dependency lockfile refreshed (incl. phoenix_kit 1.7.125 → 1.7.133); the ~> 1.7.125 requirement 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.