Skip to content

Commit 00f8421

Browse files
Merge pull request #58 from theseus-rs/release-plz-2025-02-01T18-45-31Z
chore: release v0.5.0
2 parents c8163bb + bc7efe5 commit 00f8421

File tree

8 files changed

+27
-12
lines changed

8 files changed

+27
-12
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## `file_type` - [0.5.0](https://github.com/theseus-rs/file-type/compare/v0.4.1...v0.5.0) - 2025-02-03
10+
11+
### Added
12+
- add IANA media types
13+
14+
### Other
15+
- add comparison benchmarks
16+
- [**breaking**] reduce FileType::file_format() visibility to pub(crate)
17+
- improve test coverage
18+
- [**breaking**] update pronom ids to be prefixed with pronom/ instead of fmt/ or x-fmt/
19+
- optimize signature matching
20+
- update FileType to use a reference to FileFormat to avoid unnecessary clone
21+
- remove walkdir
22+
- add wikidata to readme
23+
924
## `file_type` - [0.4.1](https://github.com/theseus-rs/file-type/compare/v0.4.0...v0.4.1) - 2025-02-01
1025

1126
### Added

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ keywords = ["file", "file-type", "format"]
2525
license = "(Apache-2.0 OR MIT) AND OGL-UK-3.0"
2626
repository = "https://github.com/theseus-rs/file-type"
2727
rust-version = "1.84.0"
28-
version = "0.4.1"
28+
version = "0.5.0"
2929

3030
[workspace.dependencies]
3131
anyhow = "1.0.95"

export/httpd/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version.workspace = true
77

88
[dependencies]
99
anyhow = { workspace = true }
10-
file_type = { path = "../../file_type", version = "0.4.1" }
10+
file_type = { path = "../../file_type", version = "0.5.0" }
1111
reqwest = { workspace = true }
1212
tokio = { workspace = true, features = ["full"]}
1313
tracing = { workspace = true }

export/iana/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version.workspace = true
88
[dependencies]
99
anyhow = { workspace = true }
1010
csv = { workspace = true }
11-
file_type = { path = "../../file_type", version = "0.4.1" }
11+
file_type = { path = "../../file_type", version = "0.5.0" }
1212
reqwest = { workspace = true }
1313
tokio = { workspace = true, features = ["full"]}
1414
tracing = { workspace = true }

export/linguist/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version.workspace = true
77

88
[dependencies]
99
anyhow = { workspace = true }
10-
file_type = { path = "../../file_type", version = "0.4.1" }
10+
file_type = { path = "../../file_type", version = "0.5.0" }
1111
reqwest = { workspace = true }
1212
serde = { workspace = true, features = ["derive"] }
1313
serde_json = { workspace = true }

export/pronom/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version.workspace = true
77

88
[dependencies]
99
anyhow = { workspace = true }
10-
file_type = { path = "../../file_type", version = "0.4.1" }
10+
file_type = { path = "../../file_type", version = "0.5.0" }
1111
quick-xml = { workspace = true, features = ["serde", "serialize"] }
1212
rayon = { workspace = true }
1313
reqwest = { workspace = true, features = ["blocking"] }

export/wikidata/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version.workspace = true
77

88
[dependencies]
99
anyhow = { workspace = true }
10-
file_type = { path = "../../file_type", version = "0.4.1" }
10+
file_type = { path = "../../file_type", version = "0.5.0" }
1111
reqwest = { workspace = true, features = ["json"] }
1212
serde = { workspace = true, features = ["derive"] }
1313
serde_json = { workspace = true }

0 commit comments

Comments
 (0)