Skip to content

Manufacturing 0.3.4: Correct PhoenixKit and Comments version floors

Manufacturing 0.3.4 corrects the versions of PhoenixKit and Comments the module declares it needs, so an app can no longer resolve to versions it fails to compile or run against.

The machines list keeps its search and sort in the address with a PhoenixKit helper that first shipped in core 1.7.231, but the module still accepted older cores. Those either failed to compile it or crashed the first time the machines list opened. The machine form also embeds comment threads that need Comments 0.2.8. The module now requires phoenix_kit ~> 1.7.231 and phoenix_kit_comments ~> 0.2.8.

No change for a running site whose lock file already had these versions.

Full release notes: Manufacturing 0.3.4

0.3.4 · 6 August 2026

Fixed

  • The published phoenix_kit requirement named a release older than this module itself and permitted a core without PhoenixKitWeb.Live.UrlState, which Web.MachinesLive uses. A consumer whose resolution landed below 1.7.231 got a package that fails to compile, or — with a precompiled artefact, since the on_mount tuple is baked into the .beam — raises on the first mount of the machines list. Floor raised to ~> 1.7.231, the release that first published UrlState (PR #7).
  • The phoenix_kit_comments requirement had the same defect and was two releases further behind: ~> 0.2 permitted 0.2.0, but Web.MachineFormLive uses PhoenixKitComments.Embed (0.2.6) and Manufacturing.Comments calls subscribe/2, unsubscribe/2 and the list form of count_comments/3 (all 0.2.8). The Code.ensure_loaded? guards cover the module being absent, not an older one missing functions. Floor raised to ~> 0.2.8.

Internal

  • Post-merge review of #7: dev_docs/pull_requests/2026/7-core-version-floor/CLAUDE_REVIEW.md.
  • test/dependency_floors_test.exs asserts each sibling dep’s requirement rejects the last release without the API this module uses and accepts the first release with it, so a floor can no longer drift below an API in use. No-ops for deps swapped to a local checkout via <APP>_PATH.

Manufacturing 0.3.4. Install or update: {:phoenix_kit_manufacturing, "~> 0.3"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.