Skip to content

Commit

Permalink
document breaking change correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mx1up committed Aug 30, 2024
1 parent c33a7ea commit b5e6981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/mime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 2.0.0-wip

* **[Breaking]** `extensionFromMime(String mimeType, {String? orElse})` has been removed. Use `extensionFromMime(String mimeType) ?? orElse` instead.
* **[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.

## 1.0.6
Expand Down

0 comments on commit b5e6981

Please sign in to comment.