---
title: "mso/idna-convert v5.0.0 Breaking Changes on Packagist"
description: "What each mso/idna-convert release removed, renamed or changed: 18 breaking changes in 1 version on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/mso/idna-convert
last_updated: 2026-12-04
---

# mso/idna-convert breaking changes

mso/idna-convert v5.0.0 (November 24, 2026) is its newest release with breaking changes, 18 of them. The first: Removed Algo26\\IdnaConvert\\Punycode\\AbstractPunycode::$unicodeTransCoder. Every breaking API change we have recorded in mso/idna-convert on Packagist: 18 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v5.0.0`, released November 24, 2026. The registry marks it abandoned: Abandoned. The author suggests algo26-matthias/idna-convert instead.. LGPL-2.1-or-later license. [Source repository](https://github.com/algo26-matthias/idna-convert)

Packages on Packagist run on PHP. [PHP end of life dates](https://since.dev/calendar/php.md).

## mso/idna-convert v5.0.0 breaking changes

mso/idna-convert v5.0.0, released November 24, 2026: 18 breaking changes.

- **Removed** `Algo26\IdnaConvert\Punycode\AbstractPunycode::$unicodeTransCoder`  

Subclasses using the protected unicodeTransCoder property must switch to the protected ucs4Codec property. [packagist.org](https://packagist.org/packages/mso/idna-convert#v5.0.0)
- **Behavior changed**  

Unicode normalization and UTS #46 mapping changes can produce different conversion results, for example IDNA2008 preserves ß and final sigma. Compare stored normalized domain names after upgrading. [github.com](https://github.com/algo26-matthias/idna-convert/releases/tag/v5.0.0)
- **Behavior changed**  

Empty labels and labels that become empty after mapping are rejected. Inputs that relied on them must be corrected. [github.com](https://github.com/algo26-matthias/idna-convert/releases/tag/v5.0.0)
- **Behavior changed**  

Malformed or non-canonical A-labels, invalid contextual or bidirectional sequences, and prohibited characters are now rejected. Check existing domain inputs for newly raised exceptions. [github.com](https://github.com/algo26-matthias/idna-convert/releases/tag/v5.0.0)
- **Behavior changed**  

The jakeasmith/http_build_url dependency was dropped. URL conversion now keeps the spelling and encoding of all other URL components unchanged. [github.com](https://github.com/algo26-matthias/idna-convert/blob/v5.0.0/UPGRADING.md)
- **Behavior changed**  

Inputs that previously produced invalid output now throw InvalidCharacterException. Handle this exception in calling code. [github.com](https://github.com/algo26-matthias/idna-convert/blob/v5.0.0/UPGRADING.md)
- **Behavior changed** `ToPunycode.convert`  

Converting UCS-4 arrays in strict mode now requires consecutive, zero-based integer lists. Reindex existing arrays with array_values() where needed. [github.com](https://github.com/algo26-matthias/idna-convert/releases/tag/v5.0.0)
- **Signature changed**  

Custom implementations of the interfaces and subclasses overriding these methods must update their signatures. [github.com](https://github.com/algo26-matthias/idna-convert/blob/v5.0.0/UPGRADING.md)
- **Signature changed** `Algo26\IdnaConvert\EncodingHelper\EncodingHelperInterface::convert`  

Was public function convert(string $sourceString, string $encoding = 'ISO-8859-1', bool $safeMode = false); now public function convert(string $sourceString, string $encoding = 'ISO-8859-1', bool $safeMode = false): string|false. [packagist.org](https://packagist.org/packages/mso/idna-convert#v5.0.0)
- **Signature changed** `Algo26\IdnaConvert\EncodingHelper\FromUtf8::convert`  

Was public function convert(string $sourceString, ?string $encoding = self::DEFAULT_ENCODING, ?bool $safeMode = false): string; now public function convert(string $sourceString, ?string $encoding = self::DEFAULT_ENCODING, ?bool $safeMode =... [packagist.org](https://packagist.org/packages/mso/idna-convert#v5.0.0)
- **Signature changed** `Algo26\IdnaConvert\EncodingHelper\ToUtf8::convert`  

Was public function convert(string $sourceString, ?string $encoding = self::DEFAULT_ENCODING, ?bool $safeMode = false); now public function convert(string $sourceString, ?string $encoding = self::DEFAULT_ENCODING, ?bool $safeMode = false)... [packagist.org](https://packagist.org/packages/mso/idna-convert#v5.0.0)
- **Signature changed** `Algo26\IdnaConvert\NamePrep\NamePrep::__construct`  

Was public function \_\_construct(?int $idnVersion = null); now public function \_\_construct(?int $idnVersion = null, bool $checkHyphens = true, ?bool $checkBidi = null). [packagist.org](https://packagist.org/packages/mso/idna-convert#v5.0.0)
- **Signature changed** `Algo26\IdnaConvert\Punycode\FromPunycode::convert`  

Was public function convert(string $encoded); now public function convert(string $encoded): string|false. [packagist.org](https://packagist.org/packages/mso/idna-convert#v5.0.0)
- **Signature changed** `Algo26\IdnaConvert\Punycode\PunycodeInterface::__construct`  

Custom implementations must add the checkHyphens and checkBidi parameters, even if unused, or PHP rejects the class declaration. [packagist.org](https://packagist.org/packages/mso/idna-convert#v5.0.0)
- **Signature changed** `Algo26\IdnaConvert\Punycode\ToPunycode::__construct`  

Was public function \_\_construct(?int $idnVersion = null, private readonly ?bool $useStd3AsciiRules = false); now public function \_\_construct(?int $idnVersion = null, private readonly ?bool $useStd3AsciiRules = false, bool $checkHyphens =... [packagist.org](https://packagist.org/packages/mso/idna-convert#v5.0.0)
- **Signature changed** `Algo26\IdnaConvert\ToIdn::__construct`  

Two new flags follow useStd3AsciiRules, both defaulting to true. Pass false as the fourth argument only when deliberately processing fragments. [packagist.org](https://packagist.org/packages/mso/idna-convert#v5.0.0)
- **Signature changed** `Algo26\IdnaConvert\TranscodeUnicode\TranscodeUnicode::convert`  

Was public function convert($data, string $fromEncoding, string $toEncoding, bool $safeMode = false, ?int $safeCodepoint = null); now public function convert($data, string $fromEncoding, string $toEncoding, bool $safeMode = false, int... [packagist.org](https://packagist.org/packages/mso/idna-convert#v5.0.0)
- **Signature changed** `Algo26\IdnaConvert\TranscodeUnicode\TranscodeUnicodeInterface::convert`  

Was public function convert($data, string $fromEncoding, string $toEncoding, bool $safeMode = false, int $safeCodepoint = 0xFFFC); now public function convert(string|array $data, string $fromEncoding, string $toEncoding, bool $safeMode =... [packagist.org](https://packagist.org/packages/mso/idna-convert#v5.0.0)

## Related packages

- [algo26-matthias/idna-convert](https://since.dev/packages/packagist/algo26-matthias/idna-convert.md)

## 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.
