Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 25, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/gabriel-vasile/mimetype v1.4.2 -> v1.4.10 age confidence

Release Notes

gabriel-vasile/mimetype (github.com/gabriel-vasile/mimetype)

v1.4.10: perfomance inprovements, tests and new formats

Compare Source

This release adds support for XHTML, Lotus-1-2-3, KML, shell scripts, VSDX, OneNote, CHM and Netpbm file formats.
Changes were made to make mimetype behave more file linux $ file --mime utility.

https://github.com/gabriel-vasile/mimetype_tests repo is now used for running comparisons between mimetype and $ file --mime. It contains 50 000 samples and mimetype identifies the same format as $ file --mime for ~97% of them. Results are in the Actions tab.

What's Changed

  • charset: remove dependency on x/net for parsing html in #​669
  • CSV: replace stdlib reader with a parser that allocates less in #​672
  • svg: make detection harder in #​674
  • pdf: relax check to match file in #​677
  • csv: stop mutating input byte slices; for #​680 in #​681
  • charset: remove dependency on mime in #​684
  • mso_office: increase limit of checked entries from 4 to 100 in #​685
  • jar: replace application/jar with application/java-archive in #​686
  • Zip container improvements in #​687
  • Jar first entry inside a zip in #​688
  • svg+html: better handling for comments in #​689
  • xhtml: add support in #​690
  • misc: behave more like file in #​691
  • lotus-1-2-3: add support in #​695
  • Add support for zipped KML files by @​dmlambea in #​693
  • shell: add support by @​scop in #​694
  • ruby: add support by @​scop in #​700
  • python: associate with python2 and python3 shebangs by @​scop in #​699
  • vsdx: add support in #​702
  • oneNote: add support in #​703
  • chm: add support for Microsoft Compiled HTML Help in #​704
  • Netpbm: add support by @​kenshaw in #​705

New Contributors

Full Changelog: gabriel-vasile/mimetype@v1.4.9...v1.4.10

v1.4.9: GLTF support and performance improvements

Compare Source

What's Changed

Full Changelog: gabriel-vasile/mimetype@v1.4.8...v1.4.9

v1.4.8: Add support for APK

Compare Source

What's Changed

New Contributors

Full Changelog: gabriel-vasile/mimetype@v1.4.7...v1.4.8

v1.4.7

Compare Source

What's Changed

Full Changelog: gabriel-vasile/mimetype@v1.4.6...v1.4.7

v1.4.6

Compare Source

What's Changed

New Contributors

Full Changelog: gabriel-vasile/mimetype@v1.4.5...v1.4.6

v1.4.5

Compare Source

What's Changed

New Contributors

Full Changelog: gabriel-vasile/mimetype@v1.4.4...v1.4.5

v1.4.4

Compare Source

What's Changed

Security fixes:

Update golang.org/x/net to latest. Fixes: CVE-2023-45288

Performance improvements:
  • Change tar detection to use checksum instead of legal ranges of values in #​466
  • ftyp: exit asap to prevent mem allocs in #​517
  • Improve x-subrip detection performance in #​524
  • improve performance for text detection in #​532
  • Using io.ReadAll instead of ioutil.ReadAll by @​phihungtf in #​525

Benchmarks:

before:
BenchmarkText/application/x-ndjson-8              663314              2027 ns/op            4306 B/op          6 allocs/op
BenchmarkSliceRand-8                              688160              1690 ns/op             728 B/op         75 allocs/op
BenchmarkSrt-8                                    946042              1089 ns/op            4240 B/op          5 allocs/op
after:
BenchmarkText/application/x-ndjson-8             1930292               678.6 ns/op           160 B/op          4 allocs/op
BenchmarkSliceRand-8                             1232066              1173 ns/op             160 B/op          4 allocs/op
BenchmarkSrt-8                                   3235448               368.8 ns/op            64 B/op          2 allocs/op

New Contributors

Full Changelog: gabriel-vasile/mimetype@v1.4.3...v1.4.4

v1.4.3

Compare Source

What's Changed

New Contributors

Full Changelog: gabriel-vasile/mimetype@v1.4.2...v1.4.3


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.9 fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.10 Aug 25, 2025
@renovate renovate bot force-pushed the renovate/github.com-gabriel-vasile-mimetype-1.x branch from 2bb17d3 to 1f07485 Compare August 25, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants