Remove Dialyzer PLTs from the Hex package. This has no functional impact whatsoever on the library. The PLTs were accidentally published together with the Hex package, which just results in an unnecessarily large Hex package.
v2.1.2
Fix a bug with typespecs and Dialyzer.
v2.1.1
Bug fixes
Fix a small issue with preflight requests and the :passthrough_non_cors_requests option.
Add the Corsica.options/0 type.
v2.1.0
Improvements
Add the :passthrough_non_cors_requests option.
Add the Corsica.sanitized_options/0 and Corsica.options/0 types.
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)
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.
Bumps corsica from 1.1.3 to 2.1.3.
Changelog
Sourced from corsica's changelog.
... (truncated)
Commits
4267102
Release v2.1.398c7e77
Remove PLTs from Hex package (#69)3f8f975
Update excoveralls to remove transitive dependencies432443d
Add GitHub action to publish to Hex6eca50d
Change version to 2.0 on README installation section (#67)8f555a6
Release v2.1.21560dcc
Remove opaque Corsica.sanitized_options/0 type1857c34
Release v2.1.1c3e17ef
Fix small bug with :passthrough_non_cors_requests2bce890
Update missing info in CHANGELOGYou 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