PackageTrack
Sign in Get early access

mime

Utilities for handling media (MIME) types, including determining a type from a file extension and file contents.

2.0.0 1000K downloads/mo #46 most downloaded on pub.dev dart-lang/tools

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 7 months

Some releases are documented

notes for 18 of 62 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

63 releases · first in 2013

0 releases in the last 12 months

see the full history below

Release timeline

63 releases · Jun 2013 to Sep 2024
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 60 of 63
  1. 2.0.0 30 Sep 2024
    Release notes
    • [Breaking] extensionFromMime(String mimeType) returns null instead of mimeType for an unknown mime type.
    • Update extensionFromMime to return a default extension when a MIME type maps to multiple extensions.
    Open source →
  2. 1.0.6 26 Aug 2024
    Release notes
    • Add topics section to pubspec.yaml.
    • Move to dart-lang/tools monorepo.
    Open source →
  3. 1.0.5 24 Jan 2024
    Release notes
    • Update video/mp4 mimeType lookup by header bytes.
    • Add image/heic mimeType lookup by header bytes.
    • Add image/heif mimeType lookup by header bytes.
    • Add m4b mimeType lookup by extension.
    • Add text/markdown mimeType lookup by extension.
    • Require Dart 3.2.0.
    Open source →
  4. 1.0.4 12 Jan 2023
    Release notes
    • Changed .js to text/javascript per https://datatracker.ietf.org/doc/html/rfc9239.
    • Added .mjs as text/javascript.
    • Add application/dicom mimeType lookup by extension.
    • Require Dart 2.18.
    Open source →
  5. 1.0.3 29 Nov 2022
    Release notes
    • Add application/manifest+json lookup by extension.
    • Add application/toml mimeType lookup by extension.
    • Add audio/aac mimeType lookup by header bytes.
    • Add audio/mpeg mimeType lookup by header bytes.
    • Add audio/ogg mimeType lookup by header bytes.
    • Add audio/weba mimeType lookup by header bytes.
    • Add font/woff2 lookup by extension and header bytes.
    • Add image/avif mimeType lookup by extension.
    • Add image/heic mimeType lookup by extension.
    • Add image/heif mimeType lookup by extension.
    • Change audio/x-aac to audio/aac when detected by extension.
    Open source →
  6. 1.0.2 02 May 2022
    Release notes
    • Add audio/x-aiff mimeType lookup by header bytes.
    • Add audio/x-flac mimeType lookup by header bytes.
    • Add audio/x-wav mimeType lookup by header bytes.
    • Add audio/mp4 mimeType lookup by file path.
    Open source →
  7. 1.0.1 18 Oct 2021
    Release notes
    • Add image/webp mimeType lookup by header bytes.
    Open source →
  8. 1.0.0 05 Feb 2021
    Release notes
    • Stable null safety release.
    Open source →
  9. 1.0.0-nullsafety.0 08 Dec 2020 pre-release
    Release notes
    • Update to null safety.
    Open source →
  10. 0.9.7 11 Aug 2020
    Release notes
    • Add extensionFromMime utility function.
    Open source →
  11. 0.9.6 01 Feb 2018
    Release notes
    • Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.

    Open source →
  12. 0.9.6+1 15 May 2018
    Release notes
    • Stop using deprecated constants from the SDK.
    Open source →
  13. 0.9.6+2 20 Jul 2018
    Release notes
    • Set max SDK version to <3.0.0, and adjust other dependencies.
    Open source →
  14. 0.9.6+3 29 May 2019
    Release notes
    • Change the mime type for Dart source from application/dart to text/x-dart.
    • Add example.
    • Fix links and code in README.
    Open source →
  15. 0.9.5 07 Dec 2017
    Release notes
    • Add support for the WebAssembly format.
    Open source →
  16. 0.9.4 25 Oct 2017
    Release notes
    • Updated Dart SDK requirement to >= 1.8.3 <2.0.0

    • Strong-mode clean.

    • Added support for glTF text and binary formats.

    Open source →
  17. 0.9.3 18 Feb 2015
    Release notes
    • Fixed erroneous behavior for listening and when pausing/resuming stream of parts.
    Open source →
  18. 0.9.2 12 Feb 2015
    Release notes
    • Fixed erroneous behavior when pausing/canceling stream of parts but already listened to one part.
    Open source →
  19. 0.9.1 03 Dec 2014
    Release notes
    • Handle parsing of MIME multipart content with no parts.
    Open source →
  20. 0.9.0 06 Nov 2013

    Nothing published for this version

  21. 0.9.0+1 13 May 2014

    Nothing published for this version

  22. 0.9.0+3 30 May 2014

    Nothing published for this version

  23. 0.8.10 01 Nov 2013

    Nothing published for this version

  24. 0.8.10+3 04 Nov 2013

    Nothing published for this version

  25. 0.8.10+4 05 Nov 2013

    Nothing published for this version

  26. 0.8.9 31 Oct 2013

    Nothing published for this version

  27. 0.8.8 30 Oct 2013

    Nothing published for this version

  28. 0.8.7 28 Oct 2013

    Nothing published for this version

  29. 0.8.6 24 Oct 2013

    Nothing published for this version

  30. 0.8.5 21 Oct 2013

    Nothing published for this version

  31. 0.8.4 19 Oct 2013

    Nothing published for this version

  32. 0.8.3 17 Oct 2013

    Nothing published for this version

  33. 0.8.2 14 Oct 2013

    Nothing published for this version

  34. 0.8.1 04 Oct 2013

    Nothing published for this version

  35. 0.8.0 03 Oct 2013

    Nothing published for this version

  36. 0.7.6 27 Sep 2013

    Nothing published for this version

  37. 0.7.6+4 01 Oct 2013

    Nothing published for this version

  38. 0.7.5 21 Sep 2013

    Nothing published for this version

  39. 0.7.4 18 Sep 2013

    Nothing published for this version

  40. 0.7.3+1 16 Sep 2013

    Nothing published for this version

  41. 0.7.2 06 Sep 2013

    Nothing published for this version

  42. 0.7.2+1 08 Sep 2013

    Nothing published for this version

  43. 0.7.1 03 Sep 2013

    Nothing published for this version

  44. 0.7.0 28 Aug 2013

    Nothing published for this version

  45. 0.6.21+3 26 Aug 2013

    Nothing published for this version

  46. 0.6.20+1 22 Aug 2013

    Nothing published for this version

  47. 0.6.19 19 Aug 2013

    Nothing published for this version

  48. 0.6.17 10 Aug 2013

    Nothing published for this version

  49. 0.6.17+2 12 Aug 2013

    Nothing published for this version

  50. 0.6.15+2 05 Aug 2013

    Nothing published for this version

  51. 0.6.15+3 06 Aug 2013

    Nothing published for this version

  52. 0.6.14 02 Aug 2013

    Nothing published for this version

  53. 0.6.13 30 Jul 2013

    Nothing published for this version

  54. 0.6.12 26 Jul 2013

    Nothing published for this version

  55. 0.6.11 25 Jul 2013

    Nothing published for this version

  56. 0.6.9 22 Jul 2013

    Nothing published for this version

  57. 0.6.9+2 24 Jul 2013

    Nothing published for this version

  58. 0.6.8 19 Jul 2013

    Nothing published for this version

  59. 0.6.6 17 Jul 2013

    Nothing published for this version

  60. 0.6.5 16 Jul 2013

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive