Skip to content

Update plug_cowboy 2.5.2 → 2.7.4 (minor) #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jun 19, 2025

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ plug_cowboy (2.5.2 → 2.7.4) · Repo · Changelog

Release Notes

2.7.4 (from changelog)

Enhancements

  • Ensure errors from Ranch are correctly translated

2.7.3 (from changelog)

Enhancements

  • Ensure errors from Cowboy 2.13 are correctly translated

2.7.2 (from changelog)

Bug fixes

  • Ensure crash_reason in metadata is always a tuple

2.7.1 (from changelog)

Enhancements

  • Support Cowboy 2.11

2.7.0 (from changelog)

Enhancements

  • Do not allow Cowboy 2.11 due to backwards incompatible changes

2.6.2 (from changelog)

Enhancements

  • Fix warnings on Elixir v1.15+

2.6.0 (from changelog)

Enhancements

  • Support websocket upgrades
  • Require Plug v1.14+ and Elixir v1.10+

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 37 commits:

↗️ cowboy (indirect, 2.9.0 → 2.13.0) · Repo

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ cowlib (indirect, 2.11.0 → 2.15.0) · Repo

Sorry, we couldn't find anything useful about this release.

↗️ mime (indirect, 2.0.3 → 2.0.7) · Repo · Changelog

Release Notes

2.0.7 (from changelog)

  • Correct support for JP2000

2.0.6 (from changelog)

  • Add mimes for ZSTD, APNG, JP2000
  • Add known_types/0 to list all known types

2.0.5 (from changelog)

  • Allow conflicting extension to be overridden

2.0.4 (from changelog)

  • Only returns extensions from known suffixes
  • Allow mime types to be fully overridden

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 19 commits:

↗️ plug (indirect, 1.13.6 → 1.18.0) · Repo · Changelog

Release Notes

1.18.0 (from changelog)

Enhancements

  • [Plug.Conn] Define optional get_sock_data/1 and get_ssl_data/1 callbacks
  • [Plug.RequestID] Allow metadata key to be customizable
  • [Plug.Router] Allow match to dispatch to function plugs

1.17.0 (from changelog)

Enhancements

  • [Plug.Debugger] Add dark mode and other UI improvements
  • [Plug.Debugger] Link Module.function/arity to hexdocs in exception messages
  • [Plug.Debugger] Support __RELATIVEFILE__ to PLUG_EDITOR replacements
  • [Plug.SSL] Add SSL validation support for certs_keys

Deprecations

  • [Plug.Conn.Adapter] Make push an optional callback as it is no longer supported by browsers
  • [Plug.Conn] Deprecate req_cookies, cookies, and resp_cookies fields in favor of functions
  • [Plug.Conn] Deprecate owner field. Tracking responses is now part of adapters
  • [Plug.Test] Deprecate use Plug.Test in favor of imports

1.16.2 (from changelog)

Bug fixes

  • Avoid XSS injection in the debug error page

1.16.1 (from changelog)

Enhancements

  • Optimize cookie parsing by 10x (10x faster, 10x less memory) on Erlang/OTP 26+

1.16.0 (from changelog)

Enhancements

  • Support x-forwarded-for in Plug.RewriteOn
  • Support MFArgs in Plug.RewriteOn
  • Add immutable directive to versioned requests in Plug.Static
  • Support disabling MIME type handling in Plug.Static

Bug fixes

  • Fix bug with discarded connection state in Plug.Debugger
  • Parse media types with underscores in them
  • Do not crash on max_age set to nil (for consistency)

1.15.3 (from changelog)

Enhancements

  • Allow setting the port on the connection in tests
  • Allow returning {:ok, payload} on inform
  • Allow custom exceptions in validate_utf8 option
  • Allow skipping sent body on chunked replies

1.15.2 (from changelog)

Enhancements

  • Add :assign_as option to Plug.RequestId
  • Improve performance of Plug.RequestId
  • Avoid clashes between Plug nodes
  • Add specs to Plug.BasicAuth
  • Fix a bug with non-string _method body parameters in Plug.MethodOverride

1.15.1 (from changelog)

Enhancements

  • Relax requirement on plug_crypto

1.15.0 (from changelog)

Enhancements

  • Add Plug.Conn.get_session/3 for default value
  • Allow Plug.SSL.configure/1 to accept all :ssl options
  • Optimize query decoding by 15% to 45% - this removes the previously deprecated :limit MFA and :include_unnamed_parts_at from MULTIPART

1.14.2 (from changelog)

Bug fixes

  • Properly deprecate Plug.Adapters.Cowboy before removal

1.14.1 (from changelog)

Enhancements

  • Add nest_all_json option to JSON parser
  • Make action on Plug.Debugger page look like a button
  • Better formatting of exceptions on the error page
  • Provide stronger response header validation

1.14.0 (from changelog)

Require Elixir v1.10+.

Enhancements

  • Add Plug.Conn.prepend_req_headers/2 and Plug.Conn.merge_req_headers/2
  • Support adapter upgrades with Plug.Conn.upgrade_adapter/3
  • Add "Copy to Markdown" button in exception page
  • Support exclusive use of tlsv1.3

Bug fixes

  • Make sure last parameter works within maps

Deprecations

  • Deprecate server pushes as they are no longer supported by browsers

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ plug_crypto (indirect, 1.2.2 → 1.2.5) · Repo · Changelog

Release Notes

1.2.5 (from changelog)

  • Allow AAD to be given as iolist

1.2.4 (from changelog)

  • Allow AAD to be given as argument on message encryptor

1.2.3 (from changelog)

  • Remove warnings on Elixir v1.14

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 17 commits:

↗️ ranch (indirect, 1.8.0 → 2.2.0) · Repo

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ telemetry (indirect, 1.1.0 → 1.3.0) · Repo · Changelog

Release Notes

1.3.0 (from changelog)

Added

  • Ability to return extra measurements from telemetry:span/3.

Changed

  • Rewrite docs from edoc to OTP 27 -moduledoc/-doc.

    Internal macros ?DOC and ?MODULEDOC are used. They are no-ops prior to OTP 27.

1.2.1 (from changelog)

Fixed

  • Fixed a local handler warning log when using telemetry_test. (#124)

1.2.0 (from changelog)

Added

  • Added telemetry_test module for testing telemetry events. (#118)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 17 commits:


👉 No CI detected

You don't seem to have any Continuous Integration service set up!

Without a service that will test the Depfu branches and pull requests, we can't inform you if incoming updates actually work with your app. We think that this degrades the service we're trying to provide down to a point where it is more or less meaningless.

This is fine if you just want to give Depfu a quick try. If you want to really let Depfu help you keep your app up-to-date, we recommend setting up a CI system:

* [Circle CI](https://circleci.com), [Semaphore ](https://semaphoreci.com) and [Github Actions](https://docs.github.com/actions) are all excellent options. * If you use something like Jenkins, make sure that you're using the Github integration correctly so that it reports status data back to Github. * If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with `depfu/`.

Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants