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

chore(deps): Bump cookie from 0.17.0 to 0.18.0 #3666

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 27, 2023

Bumps cookie from 0.17.0 to 0.18.0.

Changelog

Sourced from cookie's changelog.

Version 0.18.0 (Oct 9, 2023)

Breaking Changes

  • The MSRV is now 1.56.

  • Cookie::value() no longer trims surrounding double quotes. (89eddd)

    Use Cookie::value_trimmed() for the previous behavior.

  • Many methods now expect a T: Into<Cookie> in place of Cookie. (49ff7b)

    Functions and methods that previously accepted a Cookie now accept any T: Into<Cookie>. This particularly affects the CookieJar API, which now allows simpler addition and removal of cookies:

    • jar.add(("foo", "bar"));
    • jar.add(Cookie::build(("foo", "bar")).path("/"));
    • jar.remove("foo");
    • jar.remove(Cookie::build("foo").path("/"));
  • CookieJar::force_remove() now expects a T: AsRef<str> in place of &Cookie.

    Force-removal never requires more information than a cookie's name. The API has been simplified to reflect this.

  • CookieBuilder::finish() was deprecated in favor of CookieBuilder::build().

    This largely serves as a compile-time notice that calling finish() or build() is largely unnecessary given that CookieBuilder implements Into<Cookie>.

  • Cookie::named() was deprecated in favor of using Cookie::build() or Cookie::from().

    • Cookie::named("foo") is equivalent to Cookie::from("foo").
    • Cookie::build("foo") begins building a cookie equivalent to Cookie::named("foo").

New Features

  • Added Cookie::value_trimmed() and Cookie::name_value_trimmed().

    These versions of Cookie::value() and Cookie::name_value(), respectively, trim a matching pair of surrounding double quotes from the cookie's value, if any are present.

  • String-like types, tuples of string-like types, and CookieBuilder

... (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 show <dependency name> 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)

Bumps [cookie](https://github.com/SergioBenitez/cookie-rs) from 0.17.0 to 0.18.0.
- [Changelog](https://github.com/SergioBenitez/cookie-rs/blob/master/CHANGELOG.md)
- [Commits](rwf2/cookie-rs@0.17.0...0.18.0)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 27, 2023
@dependabot dependabot bot requested review from a team and nick-mobilecoin and removed request for a team October 27, 2023 05:46
@nick-mobilecoin nick-mobilecoin merged commit 57b42ad into main Oct 27, 2023
@nick-mobilecoin nick-mobilecoin deleted the dependabot/cargo/cookie-0.18.0 branch October 27, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant