Add fs::StaticFileConfig to provide means of customizing static
file services. It allows to map mime to Content-Disposition,
specify whether to use ETag and Last-Modified and allowed methods.
Add .has_prefixed_resource() method to router::ResourceInfo
for route matching with prefix awareness
Add HttpMessage::readlines() for reading line by line.
Add ClientRequestBuilder::form() for sending application/x-www-form-urlencoded requests.
Add method to configure custom error handler to Form extractor.
arena_tree would silently stop iteration when trying to proceed from a child that had lost its parent. It now panics instead, as the old behaviour is incorrect and impossible to notice.
The broken reference link callback has been moved into ParseOptions (which now takes a lifetime, meaning Options does too).
The callback now takes a struct containing both the normalised reference, and the original text, and the return value has changed from a 2-tuple to a struct for clarity.
parse_document_with_broken_link_callback has been marked deprecated.
arena_tree would silently stop iteration when trying to proceed from a
child that had lost its parent. It now panics instead, as the old behaviour
is incorrect and impossible to notice.
The broken reference link callback has been moved into ParseOptions (which
now takes a lifetime, meaning Options does too).
The callback now takes a struct containing both the normalised reference,
and the original text, and the return value has changed from a 2-tuple to a
struct for clarity.
parse_document_with_broken_link_callback has been marked deprecated.
Apply #[diagnostic::on_unimplemented] attribute on Rust 1.78+ to suggest adding serde derive or enabling a "serde" feature flag in dependencies (#2767, thanks @weiznich)
Panic when reading a file truncated in the middle of an XZ block header
Some archives with over u16::MAX files were handled incorrectly or slowly (#189)
Check number of files when deciding whether a CDE is the real one
Could still select a fake CDE over a real one in some cases
May have to consider multiple CDEs before filtering for validity
We now keep searching for a real CDE header after read an invalid one from the file comment
Always search for data start when opening an archive for append, and reject the header if data appears to start after central directory
deep_copy_file no longer allows overwriting an existing file, to match the behavior of shallow_copy_file
File start position was wrong when extra data was present
Abort file if central extra data is too large
Overflow panic when central directory extra data is too large
ZIP64 header was being written twice when copying a file
ZIP64 header was being written to central header twice
Start position was incorrect when file had no extra data
Allow all reserved headers we can create
Fix a bug where alignment padding interacts with other extra-data fields
Fix bugs involving alignment padding and Unicode extra fields
Incorrect header when adding AES-encrypted files
Parse the extra field and reject it if invalid
Incorrect behavior following a rare combination of merge_archive, abort_file and deep_copy_file. As well, we now return an error when a file is being copied to itself.
path_to_string now properly handles the case of an empty path
Implement Debug for ZipWriter even when it's not implemented for the inner writer's type
Fix an issue where the central directory could be incorrectly detected
finish_into_readable() would corrupt the archive if the central directory had moved
🚜 Refactor
Verify with debug assertions that no FixedSizeBlock expects a multi-byte alignment (#198)
Use new do_or_abort_file method
⚡ Performance
Speed up CRC when encrypting small files
Limit the number of extra fields
Refactor extra-data validation
Store extra data in plain vectors until after validation
Only build one IndexMap after choosing among the possible valid headers
Simplify validation of empty extra-data fields
Validate automatic extra-data fields only once, even if several are present
Remove redundant validate_extra_data() call
Skip searching for the ZIP32 header if a valid ZIP64 header is present (#189)
⚙️ Miscellaneous Tasks
Fix a bug introduced by c934c824
Fix a failing unit test
Fix build errors on older Rust versions
Fix build
Fix another fuzz failure
Switch to ok_or_abort_file, and inline when that fails borrow checker
Panic when reading a file truncated in the middle of an XZ block header
Some archives with over u16::MAX files were handled incorrectly or slowly (#189)
Check number of files when deciding whether a CDE is the real one
Could still select a fake CDE over a real one in some cases
May have to consider multiple CDEs before filtering for validity
We now keep searching for a real CDE header after read an invalid one from the file comment
Always search for data start when opening an archive for append, and reject the header if data appears to start after central directory
deep_copy_file no longer allows overwriting an existing file, to match the behavior of shallow_copy_file
File start position was wrong when extra data was present
Abort file if central extra data is too large
Overflow panic when central directory extra data is too large
ZIP64 header was being written twice when copying a file
ZIP64 header was being written to central header twice
Start position was incorrect when file had no extra data
Allow all reserved headers we can create
Fix a bug where alignment padding interacts with other extra-data fields
Fix bugs involving alignment padding and Unicode extra fields
Incorrect header when adding AES-encrypted files
Parse the extra field and reject it if invalid
Incorrect behavior following a rare combination of merge_archive, abort_file and deep_copy_file. As well, we now return an error when a file is being copied to itself.
path_to_string now properly handles the case of an empty path
Implement Debug for ZipWriter even when it's not implemented for the inner writer's type
Fix an issue where the central directory could be incorrectly detected
finish_into_readable() would corrupt the archive if the central directory had moved
🚜 Refactor
Verify with debug assertions that no FixedSizeBlock expects a multi-byte alignment (#198)
Use new do_or_abort_file method
⚡ Performance
Speed up CRC when encrypting small files
Limit the number of extra fields
Refactor extra-data validation
Store extra data in plain vectors until after validation
Only build one IndexMap after choosing among the possible valid headers
Simplify validation of empty extra-data fields
Validate automatic extra-data fields only once, even if several are present
Remove redundant validate_extra_data() call
Skip searching for the ZIP32 header if a valid ZIP64 header is present (#189)
⚙️ Miscellaneous Tasks
Fix a bug introduced by c934c824
Fix a failing unit test
Fix build errors on older Rust versions
Fix build
Fix another fuzz failure
... (truncated)
Commits
9caa3b6 Merge pull request #194 from zip-rs/release-plz-2024-06-15T04-17-17Z
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 all-dependencies group with 10 updates in the / directory:
0.6.2
0.7.2
4.5.8
4.5.9
4.5.7
4.5.8
0.24.1
0.26.0
0.12.0
0.13.1
0.23.10
0.23.11
1.0.203
1.0.204
1.0.61
1.0.63
1.38.0
1.38.1
2.1.3
2.1.4
Updates
actix-multipart
from 0.6.2 to 0.7.2Release notes
Sourced from actix-multipart's releases.
Changelog
Sourced from actix-multipart's changelog.
... (truncated)
Commits
b4ed564
update changes80fbc2e
Fix stream draining for http/2 connections #290f580650
fix missing content-encoding header for h2 connections #4216048817
Correct flate feature names in documentatione408b68
Update cookie dependency (#422)b878613
fix warning85b275b
fix warningsd6abd2f
allow to handle empty path for application with prefixb79a9aa
fix changelogb9586b3
Merge pull request #412 from gdamjan/masterUpdates
clap
from 4.5.8 to 4.5.9Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
3a2fb25
Merge pull request #5547 from tesuji/fish-list1e3681b
refactor: Pass list to __fish_seen_subcommand_fromb1a0508
refactor: Rewrite iterator for followup changes5cc44bb
Merge pull request #5548 from tesuji/fish-escape-tab181b9e0
test: Ensure optional_value runs0724b7b
chore: Remove tarpaulin support8024254
chore: Update deps to fix nightlyb16f987
style: Escaping tab as \t for more readability for fishcf151fd
Merge pull request #5542 from casey/exit-without-flushing5da658c
Merge pull request #5541 from rustco/masterUpdates
clap_complete
from 4.5.7 to 4.5.8Release notes
Sourced from clap_complete's releases.
Changelog
Sourced from clap_complete's changelog.
Commits
44189f3
chore: Releasef5e7b7a
docs: Update changelog280fb4e
Merge pull request #5568 from tesuji/fish-nested-sub6243d65
fix: Only generate stubs if has subcommandsf5965e5
chore: Update dependenciesafd7270
chore: Update dev-dependencies43e7368
chore: Releasef00dafa
docs: Update changelogda1093a
Merge pull request #5574 from zanieb/zb/try-help-custom76b9c46
style: Prefer matching with enum nameUpdates
comrak
from 0.24.1 to 0.26.0Release notes
Sourced from comrak's releases.
Changelog
Sourced from comrak's changelog.
... (truncated)
Commits
415f527
Merge pull request #445 from kivikakk/release/v0.26.00c62d39
changelog.txt: update.ed7113c
[skip test] update changelog6b268f9
Cargo.toml: v0.26.0.0de8251
Merge pull request #444 from kivikakk/experimental-inline-sourcepos1dc3fed
html: only show inline sourcepos when asked for.c5f5f2d
Revert "html: don't report sourcepos on inlines."ae113bf
Merge pull request #440 from kivikakk/release/v0.25.083e90b2
changelog.txt: elaborate on 0.25.0, and clean up.17c02a2
[skip test] update changelogUpdates
if-addrs
from 0.12.0 to 0.13.1Release notes
Sourced from if-addrs's releases.
Commits
5948a71
Bump version to 0.13.1fec7d73
Add possible fallable conversion tolibc::suseconds_t
(#40)d0656e4
Bump version to 0.13.0f948092
Merge pull request #38 from mon/more-changes4b1ea8d
Fix some IfChangeNotifier docsadca042
Use latest stable Xcodec6d61ac
Merge pull request #36 from mon/network-change-notifyd4a0b5d
Update examples/detect_interface_changes.rscabec36
Rework if notifier to give changed interfaces, persist structuresbadbfdf
Removefrom_raw_fd
, not stabilised til rustc 1.66Updates
rustls
from 0.23.10 to 0.23.11Commits
7b521da
roadmap: reflect 0.23.11cd9be0d
Prepare 0.23.11f781276
x509.rs: moveasn1_wrap
below callersbc1e543
ring::sign: tidy up pkcs8 conversionb5895c7
Addpublic_key()
for all built-inSigningKey
s20fdce6
Call CertifiedKey::keys_match from ConfigBuilder::with_single_cert*54b3b5e
Refactor AlwaysResolvesChain to take existing CertifiedKey0e2d2ac
chore(deps): lock file maintenance8b8d5dc
Refactor and explain bulktotal_data
behaviourfefc057
Hoist Arc intomake_client/server_config
return typeUpdates
serde
from 1.0.203 to 1.0.204Release notes
Sourced from serde's releases.
Commits
18dcae0
Release 1.0.20458c307f
Alphabetize list of rustc-check-cfg8cc4809
Merge pull request #2769 from dtolnay/onunimpl1179158
Update ui test with diagnostic::on_unimplemented from PR 276791aa40e
Add ui test of unsatisfied serde trait bound595019e
Cut test_suite from workspace members in old toolchain CI jobsb0d7917
Pull in trybuild 'following types implement trait' fix8e6637a
Merge pull request #2767 from weiznich/feature/diagnostic_on_unimplemented694fe05
Use the#[diagnostic::on_unimplemented]
attribute when possiblef3dfd2a
Suppress dead code warning in test of unit struct remote deriveUpdates
thiserror
from 1.0.61 to 1.0.63Release notes
Sourced from thiserror's releases.
Commits
915c75e
Release 1.0.633d5ec25
Merge pull request #312 from dtolnay/backtracedocde8a1e5
Update documentation of #[from] and #[backtrace] attributes0bf6e3d
Release 1.0.624977932
Merge pull request #310 from dtolnay/nestedtuple40a7779
Support .0.0 nested tuple indexf1ca210
Add regression test for issue 309479744e
No need for dead code if struct fields are public4db08b1
Ignore warning on unused struct in testf2824ae
Fill in ignore reasons in all #[ignore] attributesUpdates
tokio
from 1.38.0 to 1.38.1Release notes
Sourced from tokio's releases.
Commits
14b9f71
chore: release Tokio v1.38.1 (#6688)24344df
time: fix race condition leading to lost timers (#6683)Updates
zip
from 2.1.3 to 2.1.4Release notes
Sourced from zip's releases.
... (truncated)
Changelog
Sourced from zip's changelog.
... (truncated)
Commits
9caa3b6
Merge pull request #194 from zip-rs/release-plz-2024-06-15T04-17-17Z8b11361
chore: release55c2c64
ci(fuzz): Set max length closer to current corpus entries' length193bbe1
fix(#215): Upgrade to deflate64 0.1.94e971d0
Commit unfinished corpusc149868
Fix divergence from origin/master81b5fb6
Update fuzz_write corpus to use only smaller entries6106a2b
Merge pull request #201 from nichmor/fix/soft-links-should-remain-the-same03dd557
Merge pull request #218 from zip-rs/fuzz-write-no-feat-40me48686a
ci(fuzz): Run fuzz_write_with_no_features only 40m timesDependabot 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