---
title: "mimetype 0.29.0 Breaking Changes on Hex | Since.dev"
description: "What each mimetype release removed, renamed or changed: 57 breaking changes in 4 versions on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/mimetype
last_updated: 2026-12-04
---

# mimetype breaking changes

mimetype 0.29.0 (December 2, 2026) is its newest release with breaking changes, 4 of them. The first: Behavior changed accept.negotiate. Every breaking API change we have recorded in mimetype on Hex: 57 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.29.1`, released December 2, 2026. MIT license. [Source repository](https://github.com/nao1215/mimetype)

- From [0.26.0](#v-0-26-0) to [0.29.0](#v-0-29-0): 54 breaking changes in 3 versions.

## mimetype 0.29.0 breaking changes

mimetype 0.29.0, released December 2, 2026: 4 breaking changes.

- **Behavior changed** `accept.negotiate`  

A wildcard range with parameters, such as charset, no longer matches offers lacking those parameters; charset values are compared case-insensitively. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.29.0)
- **Behavior changed** `accept.prefer`  

Among wildcard ranges of the same kind, one with more parameters is now ranked before one with fewer. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.29.0)
- **Signature changed** `AnyType`  

AnyType becomes AnyType(parameters:), so code that matches or constructs it without parameters must be updated. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.29.0)
- **Signature changed** `TypeWildcard`  

TypeWildcard gains a parameters field, so code that pattern matches on it must be updated. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.29.0)

## mimetype 0.28.0 breaking changes

mimetype 0.28.0, released November 23, 2026: 9 breaking changes.

- **Removed** `accept.AcceptItem.extensions`  

Code reading the extensions field of AcceptItem no longer compiles; parameters after q now belong to the media range. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.28.0)
- **Removed** `mimetype.is_xml_based`  

Calls to mimetype.is_xml_based must switch to mimetype.is_a checked against application/xml. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.28.0)
- **Removed** `mimetype.is_zip_based`  

Calls to mimetype.is_zip_based must switch to mimetype.is_a checked against application/zip. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.28.0)
- **Behavior changed** `accept.negotiate`  

text/html;level=1 matches only offers with level=1 and takes precedence over text/html; check negotiated results that relied on the old matching. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.28.0)
- **Behavior changed** `accept.negotiate_value`  

identity is acceptable only unless identity;q=0 or \*;q=0 rules it out, and language ranges now match by prefix per RFC 4647. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.28.0)
- **Behavior changed** `accept.parse_values`  

The failing entry is now put in InvalidQValue, and InvalidMediaRange holds the whole entry; error handling that matched the old values must be updated. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.28.0)
- **Behavior changed** `detect`  

Documents starting with an XML declaration are now reported as application/xml rather than text/xml. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.28.0)
- **Behavior changed** `extension_to_mime_type`  

Extension lookup for deb and udeb now returns application/vnd.debian.binary-package instead of application/octet-stream. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.28.0)
- **Behavior changed** `mimetype.is_a`  

is_a(mime, text/xml) now returns False for image/svg+xml and other +xml types, which are kinds of application/xml. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.28.0)

## mimetype 0.27.0 breaking changes

mimetype 0.27.0, released November 23, 2026: 41 breaking changes.

- **Removed** `accept.AcceptError.Malformed`  

The Malformed variant of accept.AcceptError is removed because no input produced it. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.27.0)
- **Removed** `accept.negotiate_charset_strings`  

Parse the header and the offers, then call accept.negotiate. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.27.0)
- **Removed** `accept.negotiate_encoding_strings`  

Parse the header and the offers, then call accept.negotiate. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.27.0)
- **Removed** `accept.negotiate_language_strings`  

Parse the header and the offers, then call accept.negotiate. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.27.0)
- **Removed** `accept.negotiate_strings`  

Parse the header and the offers, then call accept.negotiate. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.27.0)
- **Removed** `accept.NegotiateError`  

Parse the header and the offers, then call accept.negotiate. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.27.0)
- **Removed** `accept.parse_charset`  

accept.parse_charset is replaced by accept.parse_values. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.27.0)
- **Removed** `accept.parse_encoding`  

accept.parse_encoding is replaced by accept.parse_values. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.27.0)
- **Removed** `accept.parse_language`  

accept.parse_language is replaced by accept.parse_values. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.27.0)
- **Removed** `accept.prefer_values`  

Parse the header and the offers, then call accept.negotiate. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.27.0)

And 31 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## mimetype 0.26.0 breaking changes

mimetype 0.26.0, released November 19, 2026: 3 breaking changes.

- **Behavior changed** `accept.negotiate`  

An offer's q-value is now taken from the most specific matching media range instead of the highest matching q. Code relying on the old selection may get different results. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.26.0)
- **Behavior changed** `accept.negotiate_strings`  

An offer's q-value is now taken from the most specific matching media range instead of the highest matching q. Code relying on the old selection may get different results. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.26.0)
- **Behavior changed** `charset_of`  

Byte sequences that were invalid UTF-8 (overlong sequences, encoded surrogates, code points above U+10FFFF) used to be reported as utf-8 and now return Error(NoMatch). Code that expects Ok for these inputs must handle the error. [github.com](https://github.com/nao1215/mimetype/releases/tag/v0.26.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
