Added TtlExtensionPolicy enum to support different strategies for extending the TTL attached to the session state. TtlExtensionPolicy::OnEveryRequest now allows for long-lived sessions that do not expire if the user remains active. #233
SessionLength is now called SessionLifecycle. #233
SessionLength::Predetermined is now called SessionLifecycle::PersistentSession. #233
The fields for Both SessionLength variants have been extracted into separate types (PersistentSession and BrowserSession). All fields are now private, manipulated via methods, to allow adding more configuration parameters in the future in a non-breaking fashion. #233
SessionLength::Predetermined::max_session_length is now called PersistentSession::session_ttl. #233
SessionLength::BrowserSession::state_ttl is now called BrowserSession::session_state_ttl. #233
SessionMiddlewareBuilder::max_session_length is now called SessionMiddlewareBuilder::session_lifecycle. #233
The SessionStore trait requires the implementation of a new method, SessionStore::update_ttl. #233
All types used to configure SessionMiddleware have been moved to the config sub-module. #233
Update actix dependency to 0.13.
Update actix-redis dependency to 0.12.
Minimum supported Rust version (MSRV) is now 1.57 due to transitive time dependency.
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the rust group with 6 updates:
0.6.2
0.6.4
0.6.5
0.7.0
1.0.193
1.0.195
1.0.109
1.0.111
1.0.78
1.0.79
1.0.53
1.0.56
Updates
actix-files
from 0.6.2 to 0.6.4Release notes
Sourced from actix-files's releases.
Changelog
Sourced from actix-files's changelog.
Commits
9306631
Fix segfault in ServerSettings::get_response_builder()487a713
update doc string095ad32
prepare releasea38afa0
--no-count for tarpaulin9619698
doc string4b1a471
add more examples for extractor configb6039b0
add doc stringd8fa430
export ExtractorConfig type92f993e
Fix client request timeout handlingc172deb
Merge pull request #219 from benjamingroeber/improve-readmeUpdates
actix-cors
from 0.6.5 to 0.7.0Release notes
Sourced from actix-cors's releases.
... (truncated)
Commits
c62b271
chore(actix-cors): prepare release 0.7.0320cbeb
chore: fmt markdowns0c859a9
docs(cors): use cargo-rdmed55fc6d
fix!(cors): default block_on_origin_mismatch to false (#379)e2bf504
feat(session): use real async traits (#365)77b8dcd
chore: clippyb694c93
mark Cors builder as must_use57eaad2
build(deps): bump taiki-e/install-action from 2.23.1 to 2.23.7 (#377)0cb0e28
ci: combine install steps8049a75
ci: use cargo-ci-clean-cacheUpdates
serde
from 1.0.193 to 1.0.195Release notes
Sourced from serde's releases.
Commits
03eec42
Release 1.0.195196f311
Merge pull request #2671 from dtolnay/deadremote38d9e0b
Revert "Add FIXME to fix dead_code warning when using serde(remote)"6502b31
Fix new dead_code warning in tuple struct and tuple variant remote defs6f1a8c3
Add FIXME to fix dead_code warning when using serde(remote)d883c94
Work around dead_code warning in tests961fa59
Merge pull request #2670 from serde-rs/exhaustive8bc71de
Fill in omitted patterns for GenericArguments match7c65a9d
Pick up changes to non_exhaustive_omitted_patterns lintd2d977a
Release 1.0.194Updates
serde_json
from 1.0.109 to 1.0.111Release notes
Sourced from serde_json's releases.
Commits
0131ac6
Release 1.0.11196ecfad
Merge pull request #1100 from heiher/limb-64-la64c80dbaf
Set limb width to 64 for loongarch64df5cf21
Release 1.0.110c35856a
Pull in proc-macro2 sccache fixUpdates
anyhow
from 1.0.78 to 1.0.79Release notes
Sourced from anyhow's releases.
Commits
71ab53d
Release 1.0.7960705a5
Merge pull request #340 from dtolnay/depinfo17e252b
Include env-dep:RUSTC_BOOTSTRAP in dep-info for sccache04774c0
Merge pull request #338 from dtolnay/nightlyci1fd290c
Make CI verify that error_generic_member_access works in latest nightlyee41470
RUSTC must be set by Cargo for build scriptUpdates
thiserror
from 1.0.53 to 1.0.56Release notes
Sourced from thiserror's releases.
Commits
77d0af4
Release 1.0.56d4caabd
Pull in proc-macro2 sccache fix6089273
Release 1.0.55322a2ae
Merge pull request #280 from dtolnay/depinfofd7d7a5
Emit dep-info for probe.rs in case sccache needs it447c328
Release 1.0.544619db8
Merge pull request #279 from dtolnay/depinfo7b53bff
Make env-dep:RUSTC_BOOTSTRAP get listed in probe's dep-infoe0500ad
Merge pull request #277 from dtolnay/nightlyci48cea47
Make CI verify that error_generic_member_access works in latest nightlyDependabot 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