NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4407 most downloaded on crates.io
Cookie manager middleware for tower.
Latest stable
0.11.0
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.1 years
Most releases are documented
notes for 13 of 16 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
16 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Reduce build dependencies by @softdevca in https://github.com/imbolc/tower-cookies/pull/33
Full Changelog: https://github.com/imbolc/tower-cookies/compare/v0.10.0...v0.11.0
Bump axum-core to 0.4, http to 1.0 by @cole-h in https://github.com/imbolc/tower-cookies/pull/30
Full Changelog: https://github.com/imbolc/tower-cookies/compare/v0.9.0...v0.10.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Breaking change because cookie is part of the public API.
Breaking change because cookie is part of the public API.
Full Changelog: https://github.com/imbolc/tower-cookies/compare/v0.8.1...v0.9.0
Thank you @fasterthanlime :pray:
Thank you @fasterthanlime :pray:
Before this commit, the Key that's passed to Cookies::signed() or Cookies::private() is forced to have a static lifetime, because the returned Cookie
Before this commit, the Key that's passed to Cookies::signed() or Cookies::private() is forced to have a static lifetime, because the returned Cookie gets self's lifetime as its lifetime parameter. Now the Cookie gets static lifetime instead.
This makes it possible e.g. to store Key in an axum Extension layer instead of a global Cell.
Thank you @akheron :pray:
Thank you, @genusistimelord :pray:
Thank you, @genusistimelord :pray:
Added support for HTTP2 multiple Cookie headers: https://www.rfc-editor.org/rfc/rfc7540#section-8.1.2.5
Added support for HTTP2 multiple Cookie headers: https://www.rfc-editor.org/rfc/rfc7540#section-8.1.2.5
Thank you @charlesdaniel :pray:
cookie: updated to 0.16. it is important to note that this is a breaking change because the MSRV is 1.53. This is also an important update since it bu…
The following deps were upgraded:
time to 0.3 which includes a multitude of
fixes and improvementsThank you @ohsayan :pray:
`rust async fn handler(cookies: Cookies) -> String { cookies.private(&my_key).get("my_cookie").unwrap().value.into() } `
async fn handler(cookies: Cookies) -> String {
cookies.private(&my_key).get("my_cookie").unwrap().value.into()
}
Thank you @zvkemp :pray:
Because of the smaller API its less likely to receive breaking changes. Therefore its recommended for library to depend on that instead of axum.
This changes tower-cookies to have a public dependency on axum-core
instead of axum.
axum-core is designed to be a small crate that only contains the
FromRequest and IntoResponse traits. Because of the smaller API its
less likely to receive breaking changes. Therefore its recommended for
library to depend on that instead of axum.
Note this is a breaking change since axum 0.3 doesn't know about
axum-core.
Thank you @davidpdrsn :pray:
`rust async fn handler(cookies: Cookies) -> String { cookies.signed(&my_key).get("my_cookie").unwrap().value.into() } `
async fn handler(cookies: Cookies) -> String {
cookies.signed(&my_key).get("my_cookie").unwrap().value.into()
}
Fix: changed flag was unnecessary enabled on Cookies::get
Fix: changed flag was unnecessary enabled on Cookies::get
Nothing published for this version
Cookies methods now take &self instead of &mut self. Migration: fn handler(mut cookies: Cookies) => fn handler(cookies: Cookies)
Cookies methods now take &self instead of &mut self.
Migration: fn handler(mut cookies: Cookies) => fn handler(cookies: Cookies).layer(CookieLayer) => .layer(CookieManagerLayer::new())Thank you @programatik29 :pray:
Nothing published for this version
Nothing published for this version
One column per quarter.