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 cookie from 0.17.0 to 0.18.0 #934

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 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

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

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 25, 2023
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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 force-pushed the dependabot/cargo/cookie-0.18.0 branch from ef2128c to 619f653 Compare January 23, 2024 20:00
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 14, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/cookie-0.18.0 branch April 14, 2024 08: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.

2 participants