- [Breaking]
extensionFromMime(String mimeType)
returnsnull
instead ofmimeType
for an unknown mime type. - Update
extensionFromMime
to return a default extension when a MIME type maps to multiple extensions.
- Add
topics
section topubspec.yaml
. - Move to
dart-lang/tools
monorepo.
- 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.
- Changed
.js
totext/javascript
per https://datatracker.ietf.org/doc/html/rfc9239. - Added
.mjs
astext/javascript
. - Add
application/dicom
mimeType lookup by extension. - Require Dart 2.18.
- 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.
- 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.
- Add image/webp mimeType lookup by header bytes.
- Stable null safety release.
- Update to null safety.
- Add
extensionFromMime
utility function.
- Change the mime type for Dart source from
application/dart
totext/x-dart
. - Add example.
- Fix links and code in README.
- Set max SDK version to
<3.0.0
, and adjust other dependencies.
- Stop using deprecated constants from the SDK.
- Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.
- Add support for the WebAssembly format.
-
Updated Dart SDK requirement to
>= 1.8.3 <2.0.0
-
Strong-mode clean.
-
Added support for glTF text and binary formats.
- Fixed erroneous behavior for listening and when pausing/resuming stream of parts.
- Fixed erroneous behavior when pausing/canceling stream of parts but already listened to one part.
- Handle parsing of MIME multipart content with no parts.