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

Update cookie requirement from 0.17.0 to 0.18.0 #378

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on cookie to permit the latest version.

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

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 10, 2023
@jbr
Copy link
Contributor

jbr commented Oct 16, 2023

@dependabot rebase

Updates the requirements on [cookie](https://github.com/SergioBenitez/cookie-rs) to permit the latest version.
- [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
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/cookie-0.18.0 branch from d84affb to e8a8e37 Compare October 16, 2023 18:53
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 16, 2023

Looks like cookie is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Oct 16, 2023
@dependabot dependabot bot deleted the dependabot/cargo/cookie-0.18.0 branch October 16, 2023 22:11
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