Skip to content

Bump deps#4537

Draft
midigofrank wants to merge 4 commits into
mainfrom
bump-deps
Draft

Bump deps#4537
midigofrank wants to merge 4 commits into
mainfrom
bump-deps

Conversation

@midigofrank

Copy link
Copy Markdown
Collaborator

Description

Upgrade phoenix and other deps

Closes #4338
Closes #4337
Closes #4336
Closes #4335
Closes #4334
Closes #4303

AI Usage

Please disclose whether you've used AI anywhere in this PR (it's cool, we just
want to know!):

  • I have used Claude Code
  • I have used another model
  • I have not used AI

You can read more details in our
Responsible AI Policy

Pre-submission checklist

  • I have performed an AI review of my code (we recommend using /review
    with Claude Code)
  • I have implemented and tested all related authorization policies.
    (e.g., :owner, :admin, :editor, :viewer)
  • I have updated the changelog.
  • I have ticked a box in "AI usage" in this PR

@github-project-automation github-project-automation Bot moved this to New Issues in Core Mar 19, 2026
@codecov

codecov Bot commented Mar 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.66%. Comparing base (f242061) to head (822c29b).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4537      +/-   ##
==========================================
+ Coverage   89.55%   89.66%   +0.10%     
==========================================
  Files         425      426       +1     
  Lines       20344    20323      -21     
==========================================
+ Hits        18220    18222       +2     
+ Misses       2124     2101      -23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

- Bump phoenix ~> 1.8, phoenix_live_view ~> 1.1, y_ex ~> 0.10.2,
  oban ~> 2.20, phoenix_storybook ~> 1.0, mix_test_watch ~> 1.4
- Add lazy_html test dependency (required by LiveView 1.1)
- Add :phoenix_live_view compiler to mix.exs compilers list
- Migrate ErrorView to format-specific ErrorHTML and ErrorJSON modules
  to match Phoenix 1.7+ conventions; update render_errors config and
  all put_view call sites across controllers and plugs
- Remove dead live routes for SettingsLive.Index and JobLive.Index
  that LiveView 1.1 now validates at compile time
Phoenix 1.8 renders boolean HTML attributes as attr="" instead of
attr="attr". lazy_html (new LiveView 1.1 test dep) enforces stricter
CSS selector parsing than Floki. Changes:

- Replace disabled="disabled" / checked="checked" assertions with
  disabled="" / checked="" throughout
- Replace [attr='attr'] CSS selectors with presence-only [attr] selectors
- Fix malformed attribute selectors missing closing quotes that Floki
  accepted silently but lazy_html rejects (e.g. [id='...id])
- Fix comma-separated attributes in single brackets to chained brackets
  (e.g. [a='x', b='y'] -> [a='x'][b='y'])
- Replace tbody:first-child selectors (now semantically enforced by
  lazy_html) with tbody:first-of-type or scoped ID selectors
- Replace selected="selected" option assertions with selected=""
- Fix save_is_disabled? helper to use List.keymember? instead of
  checking for {"disabled", "disabled"} tuple
- Replace ErrorViewTest with tests for ErrorHTML and ErrorJSON,
  including integration tests that exercise the full request cycle
@midigofrank

Copy link
Copy Markdown
Collaborator Author

This PR is currently blocked because of the change in liveview which validates live routes at compile time.

@midigofrank midigofrank mentioned this pull request Jun 30, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New Issues

Development

Successfully merging this pull request may close these issues.

1 participant