E-commerce 0.1.15: Correct minimum versions of PhoenixKit and Billing
E-commerce 0.1.15 changes no behaviour. It raises the minimum versions it accepts to the ones it really needs.
The admin products and categories lists need PhoenixKit core 1.7.231; on an older core they failed to compile or crashed when opened. Linking an order to its payment option needs Billing 0.5.2; with an older Billing the link was dropped without any error.
Upgrading
The module now needs PhoenixKit core 1.7.231 or later and Billing 0.5.2 or later.
Full release notes: E-commerce 0.1.15
0.1.15 · 6 August 2026
Dependency-contract release. PR #15 raised the core floor to the release that
actually ships the module the admin lists depend on; the post-merge review
found the sibling billing floor stale in the same way, only wider. Findings in
dev_docs/pull_requests/2026/15-core-version-floor/CLAUDE_REVIEW.md.
Nothing about this package’s behaviour changed — mix.lock already carried
both dependencies well above the new floors. What changed is what a consumer
is allowed to resolve.
Changed
phoenix_kitfloor raised to~> 1.7.231(PR #15).Web.ProductsandWeb.Categoriesuse PhoenixKitWeb.Live.UrlState, which first shipped in core 1.7.231, while the requirement still named 1.7.214. A consumer whose resolution landed below it got a package referencing a module their core does not have: a compile failure from source, or anUndefinedFunctionErroronon_mount/4the first time an admin opened the products or categories list, since theon_mount({:url_state, cfg})tuple is baked into the.beam. Verified by building against both releases — 1.7.230 fails to compile, 1.7.231 is clean. The floor now also agrees with@payment_option_version 162, core’s V162 migration having shipped in the same release.phoenix_kit_billingfloor raised to~> 0.5.2.~> 0.1admitted 0.1.0, which predates thePhoenixKitBillingnamespace entirely (it wasPhoenixKit.Modules.Billing, so every call site here is undefined), and 0.1.1–0.1.2, which have no tax API. More quietly,Order.payment_option_uuid— the columnmaybe_put_payment_option/2writes once the host is migrated to core V162 — only exists from billing 0.5.2. Below that,cast/3drops the attr without an error and the order/payment-option linkage vanishes with nothing reporting it.
Added
test/phoenix_kit_ecommerce/dependency_floor_test.exs— DB-free contract test pinning the symbols the two floors exist to guarantee (UrlState,Migrations.Postgres.migrated_version_runtime/1,Order.payment_option_uuid, the billing tax trio). It asserts against the resolved dependency, so it fails in any build where resolution lands below a floor — the case this workspace’s always-latestmix.lockcan never reproduce, which is why both defects had to be found by reading.
E-commerce 0.1.15. Install or update: {:phoenix_kit_ecommerce, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.