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

# algo26-matthias/idna-convert breaking changes

algo26-matthias/idna-convert v5.0.0 (November 24, 2026) is its newest release with breaking changes, 17 of them. The first: Removed Algo26\\IdnaConvert\\Punycode\\AbstractPunycode::$unicodeTransCoder. Every breaking API change we have recorded in algo26-matthias/idna-convert on Packagist: 17 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. 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).

## algo26-matthias/idna-convert v5.0.0 breaking changes

algo26-matthias/idna-convert v5.0.0, released November 24, 2026: 17 breaking changes.

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

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

Normalization and mapping changes can produce different converted names. IDNA2008 now preserves the German sharp s and final sigma. [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 code that relied on earlier acceptance. [github.com](https://github.com/algo26-matthias/idna-convert/releases/tag/v5.0.0)
- **Behavior changed**  

URL conversion replaces only the host and keeps the spelling and encoding of all other URL components as they were. [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 where IDNA2003 inputs are converted. [github.com](https://github.com/algo26-matthias/idna-convert/blob/v5.0.0/UPGRADING.md)
- **Behavior changed** `ToPunycode.convert`  

In strict mode, arrays of code points must be consecutive and zero-based. Reindex existing arrays with array_values() where needed. [github.com](https://github.com/algo26-matthias/idna-convert/releases/tag/v5.0.0)
- **Behavior changed** `TranscodeUnicode.convert`  

Converting from ucs4array to another encoding now requires a zero-based, consecutive list of code points. Use array_values() to reindex existing arrays. [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/algo26-matthias/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/algo26-matthias/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/algo26-matthias/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/algo26-matthias/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/algo26-matthias/idna-convert#v5.0.0)
- **Signature changed** `Algo26\IdnaConvert\Punycode\PunycodeInterface::__construct`  

Was public function \_\_construct(?int $idnVersion = null, ?bool $useStd3AsciiRules = false); now public function \_\_construct(?int $idnVersion = null, ?bool $useStd3AsciiRules = false, bool $checkHyphens = true, ?bool $checkBidi = null). [packagist.org](https://packagist.org/packages/algo26-matthias/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/algo26-matthias/idna-convert#v5.0.0)
- **Signature changed** `Algo26\IdnaConvert\ToIdn::__construct`  

Was public function \_\_construct(?int $idnVersion = null, bool $useStd3AsciiRules = false); now public function \_\_construct(?int $idnVersion = null, private readonly bool $useStd3AsciiRules = false, private readonly bool $checkHyphens =... [packagist.org](https://packagist.org/packages/algo26-matthias/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/algo26-matthias/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/algo26-matthias/idna-convert#v5.0.0)

## Related packages

- [mso/idna-convert](https://since.dev/packages/packagist/mso/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.
