Skip to content

Bump to the latest cookie crate #2500

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

Merged
merged 2 commits into from
May 11, 2020
Merged

Conversation

jtgeibel
Copy link
Member

@jtgeibel jtgeibel commented May 9, 2020

These upstream conduit-* crates now pull in the latest versions of cookie and time.

In particular, the following changes to cookie behavior are made:

  • cookie is bumped to 0.13
  • Max-Age is set to 90 days
  • Same-Site=Strict is added to the session cookie
  • Only set the session cookie in the response if the session was modified

r? @JohnTitor

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! r=me any time you like.

jtgeibel added 2 commits May 10, 2020 10:48
This upstream release includes several changes:

* `cookie` is bumped to 0.13
* `Max-Age` is set to 90 days
* `Same-Site=Strict` is added to the session cookie
* Only set the session cookie in the response if the session was
  modified
Now that `cookie 0.13` pulls in `time 0.2`, we bump these crates which
also depend on the newer version.
@jtgeibel jtgeibel force-pushed the update/cookie-and-time branch from eb0c094 to faa2cad Compare May 10, 2020 14:49
@jtgeibel
Copy link
Member Author

Great catches! I had rebased and ended up with some inconsistent state in the lock file.

It looks like Travis has a backlog, so bors would probably timeout now waiting for CI to run. I'll start merging some PRs once it looks like that is resolved.

@jtgeibel
Copy link
Member Author

@bors r=JohnTitor

@bors
Copy link
Contributor

bors commented May 11, 2020

📌 Commit faa2cad has been approved by JohnTitor

@bors
Copy link
Contributor

bors commented May 11, 2020

⌛ Testing commit faa2cad with merge c982a71...

@bors
Copy link
Contributor

bors commented May 11, 2020

☀️ Test successful - checks-travis
Approved by: JohnTitor
Pushing c982a71 to master...

@bors bors merged commit c982a71 into rust-lang:master May 11, 2020
@jtgeibel jtgeibel deleted the update/cookie-and-time branch September 20, 2020 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants