Skip to content

fix(deps): widen phoenix_live_view to ~> 1.1 for phx.new compatibility#65

Merged
karim-semmoud merged 6 commits into
mainfrom
chore/widen-phoenix-live-view-constraint
Jun 11, 2026
Merged

fix(deps): widen phoenix_live_view to ~> 1.1 for phx.new compatibility#65
karim-semmoud merged 6 commits into
mainfrom
chore/widen-phoenix-live-view-constraint

Conversation

@karim-semmoud

@karim-semmoud karim-semmoud commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

Integration tests failed at mix deps.get because the latest phx_new archive generates apps with phoenix_live_view ~> 1.2.0, while Corex pinned ~> 1.1.0. In Mix, ~> 1.1.0 means >= 1.1.0 and < 1.2.0, so Hex could not satisfy both constraints.

This change widens Corex's constraint to ~> 1.1 (>= 1.1.0 and < 2.0.0). Generated apps keep whatever LiveView line their Phoenix installer chose: older phx.new apps on ~> 1.1.0 resolve to 1.1.x, newer apps on ~> 1.2.0 resolve to 1.2.x. Corex does not force an upgrade.

Updated in:

  • mix.exs
  • e2e/mix.exs
  • integration_test/mix.exs

Test plan

  • mix deps.get and mix compile --warnings-as-errors in repo root
  • mix deps.get in e2e/ and integration_test/
  • CI integration-tests job passes (code generation + deps.get on generated apps)

@karim-semmoud karim-semmoud self-assigned this Jun 11, 2026
@karim-semmoud karim-semmoud merged commit 7ca7f05 into main Jun 11, 2026
17 checks passed
@karim-semmoud karim-semmoud deleted the chore/widen-phoenix-live-view-constraint branch June 11, 2026 06:03
@karim-semmoud karim-semmoud mentioned this pull request Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant