Manufacturing 0.4.0: Moves to PhoenixKit 2.0
Manufacturing 0.4.0 moves the PhoenixKit machines module to PhoenixKit 2.0. Nothing in the module behaves differently: the only change a site notices is the core version it needs.
Requires PhoenixKit 2.0
The core requirement moves from ~> 1.7.231 to ~> 2.0, so this release no longer installs next to core 1.7. The module does not call any of the migration internals that changed in core 2.0, so there is no change in machines, machine types, operations or the dashboard.
The packages the module builds on move in step, each to its first release for core 2.0: Comments 0.3, Entities 0.3 and Locations 0.4. Comments 0.3.0 is a security release that fixes stored cross-site scripting in comment bodies, so the comment threads on machines get that fix too.
The machines list code was split into smaller pieces to pass the project’s code checks. The columns, their order, sorting and filters are the same as before.
Upgrading
Core 2.0 squashes its migrations into a single V135 baseline and refuses to migrate a database below it. Run mix phoenix_kit.status before upgrading. If it reports a version below V135, install phoenix_kit 1.7.236 first and migrate until the version is at least V135, then move to core 2.0 and Manufacturing 0.4. A site already at V135 or later updates core and the module together.
Full release notes: Manufacturing 0.4.0
0.4.0 · 10 August 2026
Changed
-
⚠️ Requires
phoenix_kit ~> 2.0. The core pin moved to~> 2.0, so this release no longer resolves against core 1.7.Core 2.0.0 squashes the migration chain into a single
V135baseline and makes V135 the chain’s floor:mix ecto.migratenow refuses on a database below it rather than migrating. Checkmix phoenix_kit.statusbefore upgrading. A host below V135 must installphoenix_kit 1.7.236— the migration bridge, the last release carrying the full pre-squash chain — migrate until the reported version is at least V135, and only then move to 2.0.This package does not call migration internals, so the change is the pin itself.
-
Sibling pins raised in step, each to that package’s first release requiring core 2.0:
phoenix_kit_comments→~> 0.3,phoenix_kit_entities→~> 0.3,phoenix_kit_locations→~> 0.4.phoenix_kit_comments0.3.0 is a security release (stored XSS in comment bodies); see its CHANGELOG. -
test/dependency_floors_test.exsreframed for the new contract. Its cases asserted each requirement still admitted the release that first shipped the API this module calls — true while every pin sat just above its marker, false once the pins moved far above it. The half that still catches a real mistake (a pin drifting back down past an API in use) is kept, and a new case asserts every sibling pin resolves a core-2.0-era release. -
mix precommitpasses again. Three pre-existing credo findings were blocking it: two too-deeply-nested filter closures inColumnConfigextracted into named helpers, andColumnConfig.Machines.columns/0(cyclomatic complexity 16 — every column definition’s anonymous functions count as branches) split intoidentity_columns/0+placement_columns/0+date_columns/0, order preserved. Two nested-module references aliased; the third is inside a__using__macro where the fully-qualified name is required for hygiene, so that one carries a targetedcredo:disable-for-next-lineinstead.
Manufacturing 0.4.0. Install or update: {:phoenix_kit_manufacturing, "~> 0.4"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.