petalframework / petal_components

Phoenix + Live View HEEX Components
https://petal.build/components
MIT License
767 stars 84 forks source link

Bump phoenix from 1.7.11 to 1.7.14 #324

Open dependabot[bot] opened 1 week ago

dependabot[bot] commented 1 week ago

Bumps phoenix from 1.7.11 to 1.7.14.

Changelog

Sourced from phoenix's changelog.

1.7.14 (2024-06-18)

Bug fixes

  • Revert "Add follow_redirect/2 to Phoenix.ConnTest" (#5797) as this conflicts with follow_redirect/2 in LiveView, which is imported with ConnTest by default

1.7.13 (2024-06-18)

Bug fixes

  • Fix Elixir 1.17 warning in Cowboy2Adapter
  • Fix verified routes emitting diagnostics without file and position

JavaScript Client Bug Fixes

  • Fix error when sessionStorage is not available on global namespace

Enhancements

  • Add follow_redirect/2 to Phoenix.ConnTest
  • Use LiveView 1.0.0-rc for newly generated applications
  • Use new Phoenix.Component.used_input? for form errors in generated core_components.ex
  • Allow mix ecto.setup from the umbrella root
  • Bump Endpoint static cache manifest on config_change callback

1.7.12 (2024-04-11)

JavaScript Client Bug Fixes

  • Fix all unjoined channels from being removed from the socket when channel leave is called on any single unjoined channel instance

Enhancements

  • [phx.gen.auth] Add enhanced session fixation protection. For applications whichs previously used phx.gen.auth, the following line can be added to the renew_session function in the auth module:

      defp renew_session(conn) do
    +   delete_csrf_token()
    
    conn
    |> configure_session(renew: true)
    |> clear_session()
    

    Note: because the session id is in a http-only cookie by default, the only way to perform this attack prior to this change is if your application was already vulnerable to an XSS attack, which itself grants more escalated "privileges” than the CSRF fixation.

JavaScript Client Enhancements

  • Only memorize longpoll fallback for browser session if WebSocket never had a successful connection
Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.24%. Comparing base (3b1d859) to head (8e359c1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #324 +/- ## ======================================= Coverage 83.24% 83.24% ======================================= Files 32 32 Lines 1194 1194 ======================================= Hits 994 994 Misses 200 200 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.