The parameter sets a limit on the number of threads used by blocking tasks.
Added an [ip_header] "real IP" header configuration parameter.
The parameter allows modifying the header that Rocket attempts to use to retrieve the "real IP"
address of the client via Request methods like [Request::client_ip()]. Additionally, the
change allows disabling the use of any such header entirely.
A [pool()] method is emitted by [rocket_sync_db_pools] for code-generated pools.
The method returns an opaque reference to a type that can be used to retrieve pooled connections
outside of a request handling context.
Raw binary form field data can be retrieved using the &[u8] form guard.
Data guards are now eligible [sentinels].
General Improvements
Final launch messages are now always logged, irrespective of profile.
Only functions that return Rocket<Build> are now #[must_use], not all Rocket<P>.
Fixed mismatched form field names in errors under certain conditions in [FromForm] derive.
The [FromForm] derive now collects all errors that occur.
Data pools are now gracefully shutdown in [rocket_sync_db_pools].
Added [Metadata::render()] in [rocket_dyn_templates] for direct template rendering.
Rocket salvages more information from malformed requests for error catchers.
The cookiesecure feature is now properly conditionally enabled.
Data before encapsulation boundaries in TLS keys is allowed and ignored.
Support for TLS keys in SEC1 format was added.
Rocket now warns when a known secret key is configured.
A panic that could occur on shutdown in rocket_sync_db_pools was fixed.
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 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)
Updates the requirements on rocket to permit the latest version.
Release notes
Sourced from rocket's releases.
Changelog
Sourced from rocket's changelog.
... (truncated)
Commits
91f6288
New version: 0.5.0-rc.3.f800d52
Update CHANGELOG, add news article for 0.5.0-rc.3.cf1748d
Add CHANGELOG for 0.5.0-rc.3.14b8a08
Fix doc re-export inlines in crate root.28569e8
Improve section headings in README.md.89919aa
Fix several typos.0e6b786
Fix typo in docs.e86d503
Fix typo in updating guide: 'phase' -> 'faze'.380e75c
Fix minor typo.6742041
Remove unnecessary word in state docs.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 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)