Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Bump rocket_cors from 0.4.0 to 0.5.2 #141

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

Conversation

dependabot-preview[bot]
Copy link

Bumps rocket_cors from 0.4.0 to 0.5.2.

Release notes

Sourced from rocket_cors's releases.

v0.5.2 - 2020-03-18

0.5.2 (2020-03-18)

Improvements

  • Add a builder methods for CorsOptions (#75)

v0.5.1 - 2019-11-13

0.5.1 (2019-11-13)

There are no new features.

  • Fix build issues with Rocket 0.4.2
  • Fix clippy lints with latest nightly

v0.5.0 - 2019-05-27

See Changelog

No change since v0.5.0-beta-1.

v0.5.0-beta-1

See Changelog

Changelog

Sourced from rocket_cors's changelog.

0.5.2 (2020-03-18)

Improvements

  • Add a builder methods for CorsOptions (#75)

0.5.1 (2019-11-13)

There are no new features.

  • Fix build issues with Rocket 0.4.2
  • Fix clippy lints with latest nightly

0.5.0 (2019-05-27)

There is no change since 0.5.0-beta1.

Breaking Changes

  • The Cors struct can no longer be constructed. Instead, you will now construct the options for Cors directly or through deserialization using the CorsOptions struct. Then, you can construct Cors for use in Fairings or manual responses using the CorsOptions::to_cors method.
  • The AllowedOrigins type has been modified. It is now a typedef of AllOrSome<Origins> where Origins is now a struct supporting exact matches or regex matches.

Migrating existing Code

  • Existing use of AllowedOrigins::some to create exact matches can be replaced simply with AllowedOrigins::some_exact instead.

  • Replace all construction of Cors struct with CorsOptions instead. Then, you can create the Cors struct for use in Fairings using the CorsOptions::to_cors method

    -fn main() {
    +fn main() -> Result<(), Error> {
        let (allowed_origins, failed_origins) = AllowedOrigins::some(&["https://www.acme.com"]);
        assert!(failed_origins.is_empty());

... (truncated)
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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants