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.10 to 1.7.12 #317

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 2 months ago

Bumps phoenix from 1.7.10 to 1.7.12.

Changelog

Sourced from phoenix's changelog.

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

1.7.11 (2024-02-01)

Enhancements

  • [phx.new] Default to the Bandit webserver for newly generated applications
  • [phx.new] Enable longpoll transport by default and auto fallback when websocket fails for newly generated applications

JavaScript Client Enhancements

  • Support new longPollFallbackMs option to auto fallback when websocket fails to connect
  • Support new debug option to enable verbose logging

Deprecation

  • Deprecate the c:init/2 callback in endpoints in favor of config/runtime.exs or in favor of {Phoenix.Endpoint, options}
Commits
  • bdc2d73 Release 1.7.12
  • 72c388c Fix channel leave on unjoined channels. Closes #5779
  • 28203dd Use clearer arg name
  • cdc16ab replace deprecated live_flash for Phoenix.Flash.get in phx.gen.auth (#5773)
  • 2c5da88 Fix phx.gen.socket moduledoc grammar and example path (#5769)
  • 7aea049 Clarify Token secrecy in docs (#5768)
  • 8f2770e Bump telemetry metrics to v1.0 (#5755)
  • 1312123 Allow running phx.digest task multiple times (#5753)
  • f17c2c1 Fix Phoenix.Controller.send_download/3 :encode option doc (#5754)
  • b07c130 Mention it is ok to use code generators
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 83.13%. Comparing base (39a2b5f) to head (3ccf45d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #317 +/- ## ======================================= Coverage 83.13% 83.13% ======================================= Files 31 31 Lines 1186 1186 ======================================= Hits 986 986 Misses 200 200 ```

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

dependabot[bot] commented 1 week ago

Superseded by #324.