Repository navigation
feat!: rename package to youtrust/safe-migrations - #9
Merged
Merged
Conversation
Following the GitHub organisation rename from Yousign to Youtrust, move the package to the youtrust vendor and the Youtrust\SafeMigrations namespace. No functional change: only the package name, the namespace, the licence copyright holder and the documentation move. BREAKING CHANGE: the package is now youtrust/safe-migrations and exposes the Youtrust\SafeMigrations namespace. Consumers must update their composer requirement, their PHP imports, the middleware service id in services.yaml and the use statement in their migration template. Released as v2.0.0; yousign/safe-migrations v1 is abandoned. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
B-Galati
approved these changes
Aug 19, 2026
PHP 8.1 and 8.2 are past active support, and this major is the right place to drop them rather than carrying them into the new vendor. The CI matrix loses its 8.1 and 8.2 rows; --prefer-lowest moves to 8.3 so DBAL 3 stays covered. BREAKING CHANGE: PHP 8.3 or above is now required. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
@benconda your suggestion from the previous PR is in: minimum PHP is now I left |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The company behind this package is now Youtrust. This moves the package and its namespace accordingly, and realigns the PHP requirement with what the code and its dependencies actually need.
What changes
yousign/safe-migrationsyoutrust/safe-migrationsYousign\SafeMigrations\Youtrust\SafeMigrations\^8.1^8.3yousignYoutrustApart from the raised PHP floor, no functional change — the rest of the diff is a pure rename plus an upgrade section in the README.
Why a major version
The namespace is part of the public API, so this is a hard break for consumers. Two of the breaking spots live in configuration, not in PHP code, and are easy to miss:
services.yamlusestatement in themigration.php.tplmigration templateBoth are called out in the new
## ⬆️ Upgradingsection.yousign/safe-migrationswill be marked abandoned on Packagist, pointing at the new name. It gets no further release of any kind, security fixes included.Raising the PHP floor from 8.1 to 8.3
The floor was picked from evidence rather than from a wish to look modern — this is a public package and excluding users needs a reason:
doctrine/migrations ^3.6is what rules out 8.0; nothing rules out 8.1.Hence 8.3, whose security support runs to 31 Dec 2027. The CI matrix loses its 8.1 and 8.2 rows;
--prefer-lowestmoves to 8.3 so DBAL 3 stays covered.Left alone on purpose:
symfony/string: ^6.4|^7.0|^8.0. Symfony 6.4 is still in support and runs fine on PHP 8.3, so narrowing that range is a separate call — say the word and I'll fold it in.Verification
make testson PHP 8.4.24, all green after the floor change:Plus the suite run on real 8.2 / 8.3 / 8.4 interpreters.
grep -ri yousign .returns nothing outside.git.Release plan, after merge
v2.0.0.youtrust/safe-migrationspackage is created.v1.0.8on the old package carrying theabandonedflag, and set Abandon on its Packagist page.maindeclares the new package name, Packagist can no longer crawl a matchingcomposer.jsonfor the old package.🤖 Generated with Claude Code