dwyl / phoenix-chat-example

💬 The Step-by-Step Beginners Tutorial for Building, Testing & Deploying a Chat app in Phoenix 1.7 [Latest] 🚀
https://phoenix-chat.fly.dev
778 stars 96 forks source link

build(deps): Bump phoenix from 1.7.11 to 1.7.12 #239

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps phoenix from 1.7.11 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
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

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)