Skip to content
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

Bump corsica from 1.3.0 to 2.0.0 #964

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 4, 2023

Bumps corsica from 1.3.0 to 2.0.0.

Changelog

Sourced from corsica's changelog.

v2.0.0

Breaking changes

  • The :origins option is now required. Not having this option used to warn before this version.
  • The :log option was removed in favor of Corsica.Telemetry.

Improvements

  • Start emitting Telemetry events (see Corsica.Telemetry).
  • Bump Elixir requirement to 1.11+.
  • Response headers that contain lists (such as access-control-expose-headers) are now joined without spaces, so what could be GET, POST, DELETE before is now GET,POST,DELETE. Every byte's important.

Upgrading from 1.x to 2.0.0 is a matter of these things:

  • If you're not specifying the :origins options when using Corsica, add origins: "*" to all the places you're using Corsica (as a plug, through Corsica.Router, or through the functions in the Corsica module).

  • If you were using the :log option, remove it and call this in your application's start/2 callback:

    log_levels = # what you were using before as the :log option
    Corsica.Telemetry.attach_default_handler(log_levels: log_levels)
    Supervisor.start_link(...)

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 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)

Bumps [corsica](https://github.com/whatyouhide/corsica) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/whatyouhide/corsica/releases)
- [Changelog](https://github.com/whatyouhide/corsica/blob/main/CHANGELOG.md)
- [Commits](whatyouhide/corsica@v1.3.0...v2.0.0)

---
updated-dependencies:
- dependency-name: corsica
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@coveralls
Copy link

Coverage Status

coverage: 95.349% (-0.04%) from 95.389% when pulling 575c868 on dependabot/hex/corsica-2.0.0 into dd58373 on master.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 25, 2023

Superseded by #977.

@dependabot dependabot bot closed this Jul 25, 2023
@dependabot dependabot bot deleted the dependabot/hex/corsica-2.0.0 branch July 25, 2023 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant