symfony/uid breaking changes
symfony/uid v8.0.0 (November 27, 2025) is its newest release with breaking changes, 2 of them. The first: Signature changed Symfony\Component\Uid\Uuid::compare. Every breaking API change we have recorded in symfony/uid on Packagist: 12 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
On this page
Latest version v8.2.0, released November 28, 2026. MIT license. Source repository
Its v8.0.0-BETA1 release requires PHP 8.4 or later. PHP end of life dates.
symfony/uid v8.0.0 breaking changes
- Signature changed
Symfony\Component\Uid\Uuid::compare
Was public function compare(self $other): int; now public function compare(AbstractUid $other): int. packagist.org - Signature changed
Symfony\Component\Uid\Uuid::isValid
Was public static function isValid(string $uuid /*, int $format = self::FORMAT_RFC_9562 */): bool; now public static function isValid(string $uuid, int $format = self::FORMAT_RFC_9562): bool. packagist.org
symfony/uid v8.0.0-BETA1 breaking changes
- Removed
Symfony 8 requires PHP 8.4 or later. Projects on older PHP versions cannot upgrade. github.com - Removed
Application.add
The deprecated Application::add() methods are removed in this release. Code calling them must be updated before upgrading. github.com - Default changed
UuidFactory
UuidFactory now produces UuidV7 by default. Code that relies on the previous default UUID version must request that version explicitly. github.com
symfony/uid v7.0.0 breaking changes
- Signature changed
Symfony\Component\Uid\AbstractUid::$uid
Was protected $uid; now protected string $uid. packagist.org - Signature changed
Symfony\Component\Uid\Factory\UuidFactory::__construct
Was public function __construct(string|int $defaultClass = UuidV6::class, string|int $timeBasedClass = UuidV6::class, string|int $nameBasedClass = UuidV5::class, string|int $randomBasedClass = UuidV4::class, Uuid|string|null $timeBasedNode... packagist.org - Signature changed
Symfony\Component\Uid\Factory\UuidFactory::nameBased
Was public function nameBased(Uuid|string|null $namespace = null): NameBasedUuidFactory; now public function nameBased(Uuid|string $namespace = null): NameBasedUuidFactory. packagist.org - Signature changed
Symfony\Component\Uid\Factory\UuidFactory::timeBased
Was public function timeBased(Uuid|string|null $node = null): TimeBasedUuidFactory; now public function timeBased(Uuid|string $node = null): TimeBasedUuidFactory. packagist.org - Signature changed
Symfony\Component\Uid\Uuid::compare
Was public function compare(self $other): int; now public function compare(AbstractUid $other): int. packagist.org
symfony/uid v7.0.0-BETA1 breaking changes
- Removed
The package now requires PHP 8.2 or later. Projects on older PHP versions must upgrade PHP before upgrading this package. github.com - Behavior changed
Public and protected properties now declare types. Code that subclasses these classes and redeclares those properties without matching types may break. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.