mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 15:51:06 +01:00
build(deps): update redis requirement from 0.25 to 0.26 (#451)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
parent
caa5dbc5b3
commit
2de4b1886c
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
- Update `redis` dependency to `0.26`.
|
||||||
|
|
||||||
## 0.5.1
|
## 0.5.1
|
||||||
|
|
||||||
- No significant changes since `0.5.0`.
|
- No significant changes since `0.5.0`.
|
||||||
|
@ -28,7 +28,7 @@ actix-web = { version = "4", default-features = false, features = ["cookies"] }
|
|||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
derive_more = "0.99.7"
|
derive_more = "0.99.7"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
redis = { version = "0.25", default-features = false, features = ["tokio-comp"] }
|
redis = { version = "0.26", default-features = false, features = ["tokio-comp"] }
|
||||||
time = "0.3"
|
time = "0.3"
|
||||||
|
|
||||||
# session
|
# session
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
- Rename `redis-rs-tls-session` crate feature to `redis-session-native-tls`.
|
- Rename `redis-rs-tls-session` crate feature to `redis-session-native-tls`.
|
||||||
- Remove `redis-actor-session` crate feature (and, therefore, the `actix-redis` based storage backend).
|
- Remove `redis-actor-session` crate feature (and, therefore, the `actix-redis` based storage backend).
|
||||||
- Expose `storage::generate_session_key()`.
|
- Expose `storage::generate_session_key()`.
|
||||||
|
- Update `redis` dependency to `0.26`.
|
||||||
|
|
||||||
## 0.9.0
|
## 0.9.0
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ serde_json = { version = "1" }
|
|||||||
tracing = { version = "0.1.30", default-features = false, features = ["log"] }
|
tracing = { version = "0.1.30", default-features = false, features = ["log"] }
|
||||||
|
|
||||||
# redis-session
|
# redis-session
|
||||||
redis = { version = "0.25", default-features = false, features = ["tokio-comp", "connection-manager"], optional = true }
|
redis = { version = "0.26", default-features = false, features = ["tokio-comp", "connection-manager"], optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-session = { path = ".", features = ["cookie-session", "redis-session"] }
|
actix-session = { path = ".", features = ["cookie-session", "redis-session"] }
|
||||||
|
@ -215,7 +215,7 @@ impl SessionStore for RedisSessionStore {
|
|||||||
SaveError::Other(err) => UpdateError::Other(err),
|
SaveError::Other(err) => UpdateError::Other(err),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Value::Int(_) | Value::Okay | Value::Status(_) => Ok(session_key),
|
Value::Int(_) | Value::Okay | Value::SimpleString(_) => Ok(session_key),
|
||||||
val => Err(UpdateError::Other(anyhow::anyhow!(
|
val => Err(UpdateError::Other(anyhow::anyhow!(
|
||||||
"Failed to update session state. {:?}",
|
"Failed to update session state. {:?}",
|
||||||
val
|
val
|
||||||
|
Loading…
Reference in New Issue
Block a user