Skip to content

Support Phoenix 1.8 - #153

Open
tfwright wants to merge 1 commit into
mainfrom
deps/allow-live-view-1.2
Open

Support Phoenix 1.8#153
tfwright wants to merge 1 commit into
mainfrom
deps/allow-live-view-1.2

Conversation

@tfwright

@tfwright tfwright commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Makes LiveAdmin usable from an app on current Phoenix 1.8 defaults, which pin newer LiveView and gettext than LiveAdmin currently allows.

  • phoenix_live_view: ~> 1.1.0~> 1.1 (the old bound resolves to < 1.2.0, excluding LiveView 1.2).
  • gettext: ~> 0.22~> 0.26 or ~> 1.0, and switch LiveAdmin.Gettext to the Gettext.Backend API so it compiles without deprecation warnings on gettext 1.0. Drops support for gettext < 0.26.

Also fixes a LiveView 1.2 warning: forms with phx-change need an id for form recovery after a crash/disconnect. Added ids to the resource edit, index search, select-all, and session forms (the per-row selection form uses a record-scoped id to stay unique).

Verified against LiveView 1.2.8 + gettext 1.0.2: mix compile --warnings-as-errors clean, 45 tests / 0 failures, no form-id or gettext deprecation warnings.

🤖 Generated with Claude Code

@tfwright
tfwright force-pushed the deps/allow-live-view-1.2 branch 3 times, most recently from 3c4b264 to add0369 Compare August 9, 2026 19:26
@tfwright tfwright changed the title Allow phoenix_live_view 1.2 Support Phoenix 1.8 Aug 9, 2026
Relax the phoenix_live_view and gettext requirements to current
Phoenix 1.8 versions, adopt gettext's new backend API, and give
phx-change forms ids so LiveAdmin builds cleanly on LiveView 1.2.
@tfwright
tfwright force-pushed the deps/allow-live-view-1.2 branch from add0369 to f3b5c9b Compare August 9, 2026 19:40
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