Manufacturing 0.5.0: Works with PhoenixKit 3, tables checked by doctor and repair
Manufacturing 0.5.0 makes the PhoenixKit machines module ready for PhoenixKit 3: it accepts core 3.x, and it describes its own tables so the doctor and repair tasks can check them again.
Ready for PhoenixKit 3
The module now accepts PhoenixKit >= 2.65.0 and < 4.0.0. PhoenixKit 3 no longer creates the manufacturing tables. The module’s own migration chain already builds all three with CREATE TABLE IF NOT EXISTS: phoenix_kit_machines, phoenix_kit_machine_type_assignments, which links machines to machine types, and phoenix_kit_machine_operations, which links machines to operations and keeps any time norm set for one machine. On an empty database the chain creates them, and where core already made them nothing changes.
Doctor and repair see the tables again
The module now hands core a manifest of these three tables. mix phoenix_kit.doctor and mix phoenix_kit.repair read it to check them, now from the module’s own chain instead of core’s list. Repair only adds what is missing and reports the rest, and it checks the tables only while the database is at the module’s current migration version.
Upgrading
Update core to 2.65.0 or later first. The module now also needs Comments 0.5, Entities 0.7 and Locations 0.8 or later. There is no new migration. The machines list, the machine form, the dashboard and the directories of machine types, operations and defect reasons work as before.
Full release notes: Manufacturing 0.5.0
0.5.0 · 27 October 2026
Changed
- Core pin widened to
>= 2.65.0 and < 4.0.0: works with core 3.x (core 3.0 stops creating the module tables; this module’s own chain builds its tables). The floor is the first core with thefile_references/0andexpected_schema/0callbacks, which now carry@impl PhoenixKit.Module.
Added
- The module supplies the manifest of its 3 tables (
expected_schema/0,PhoenixKitManufacturing.ExpectedSchema), somix phoenix_kit.repairandmix phoenix_kit.doctorcheck and repair them again, now from the module’s own chain instead of core’s manifest. Generated fromPhoenixKitManufacturing.Migrationsby core’sdev_docs/squash/generate_module_manifest.exs, never edited by hand. Core uses it from the first release after 2.64.1; before that nothing reads it. Repair is additive (it creates what is missing and reports the rest) and checks the tables only while the database is at the chain’s current version. No migration.
Manufacturing 0.5.0. Install or update: {:phoenix_kit_manufacturing, "~> 0.5"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.