Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to Symfony 7 #1414

Merged
merged 22 commits into from
Mar 21, 2024
Merged

Bump to Symfony 7 #1414

merged 22 commits into from
Mar 21, 2024

Conversation

chr-hertel
Copy link
Contributor

Just wanted to give it a shot - more like to see what happens. Don't get why this was that easy, but didn't/wasn't able to test everything.

Feel free to take over ... or close oc

Copy link

private-packagist bot commented Jan 12, 2024

composer.lock

Click to show 129 changes in this composer.lock file

Package changes

Package Operation From To About
babdev/pagerfanta-bundle upgrade v4.2.1 v4.4.0 diff
beelab/recaptcha2-bundle upgrade v2.7.0 v2.9.0 diff
composer/ca-bundle upgrade 1.4.0 1.5.0 diff
composer/class-map-generator upgrade 1.1.0 1.1.1 diff
composer/composer upgrade 2.7.x-dev bc157eb 2.7.x-dev 2027d49 diff
composer/pcre upgrade 3.1.1 3.1.3 diff
doctrine/collections upgrade 2.1.4 2.2.1 diff
doctrine/dbal upgrade 3.7.1 3.8.3 diff
doctrine/deprecations upgrade 1.1.2 1.1.3 diff
doctrine/doctrine-bundle upgrade 2.10.2 2.12.0 diff
doctrine/inflector upgrade 2.0.8 2.0.10 diff
doctrine/lexer upgrade 2.1.0 3.0.1 diff
doctrine/orm upgrade 2.16.2 2.19.2 diff
doctrine/persistence upgrade 3.2.0 3.3.2 diff
doctrine/sql-formatter upgrade 1.1.3 1.2.0 diff
endroid/qr-code upgrade 5.0.2 5.0.7 diff
enlightn/security-checker upgrade v1.10.0 v1.11.0 diff
friendsofphp/proxy-manager-lts upgrade v1.0.16 v1.0.18 diff
guzzlehttp/guzzle upgrade 7.8.0 7.8.1 diff
guzzlehttp/promises upgrade 2.0.1 2.0.2 diff
guzzlehttp/psr7 upgrade 2.6.1 2.6.2 diff
knplabs/knp-menu-bundle upgrade v3.2.0 v3.3.0 diff
knpuniversity/oauth2-client-bundle upgrade v2.15.0 v2.18.1 diff
laminas/laminas-stdlib upgrade 3.18.0 3.19.0 diff
monolog/monolog upgrade 3.4.0 3.5.0 diff
nelmio/cors-bundle upgrade 2.3.1 2.4.0 diff
nelmio/security-bundle upgrade v3.0.0 v3.2.0 diff
pagerfanta/core upgrade v4.2.0 v4.3.2 diff
pagerfanta/doctrine-orm-adapter upgrade v4.2.0 v4.3.2 diff
pagerfanta/twig upgrade v4.2.0 v4.3.2 diff
phpdocumentor/type-resolver upgrade 1.7.3 1.8.2 diff
phpstan/phpdoc-parser upgrade 1.25.0 1.26.0 diff
react/promise upgrade v3.0.0 v3.1.0 diff
scheb/2fa-backup-code upgrade v6.12.0 v7.2.0 diff
scheb/2fa-bundle upgrade v6.12.0 v7.2.0 diff
scheb/2fa-totp upgrade v6.12.0 v7.2.0 diff
scheb/2fa-trusted-device upgrade v6.12.0 v7.2.0 diff
seld/jsonlint upgrade 1.10.0 1.10.2 diff
snc/redis-bundle upgrade dev-custom_commands_config 631d392 4.7.1 diff
symfony/asset upgrade v6.3.0 v7.0.3 diff
symfony/cache upgrade v6.3.6 v7.0.4 diff
symfony/cache-contracts upgrade v3.3.0 v3.4.0 diff
symfony/clock upgrade v6.3.4 v7.0.5 diff
symfony/config upgrade v6.3.2 v7.0.4 diff
symfony/console upgrade v6.3.4 v7.0.4 diff
symfony/dependency-injection upgrade v6.3.5 v7.0.4 diff
symfony/deprecation-contracts upgrade v3.3.0 v3.4.0 diff
symfony/doctrine-bridge upgrade v6.3.6 v7.0.5 diff
symfony/dotenv upgrade v6.3.0 v7.0.4 diff
symfony/error-handler upgrade v6.3.5 v7.0.4 diff
symfony/event-dispatcher upgrade v6.3.2 v7.0.3 diff
symfony/event-dispatcher-contracts upgrade v3.3.0 v3.4.0 diff
symfony/expression-language upgrade v6.3.0 v7.0.3 diff
symfony/filesystem upgrade v6.3.1 v7.0.3 diff
symfony/finder upgrade v6.3.5 v7.0.0 diff
symfony/flex upgrade v2.4.0 v2.4.5 diff
symfony/form upgrade v6.3.6 v7.0.4 diff
symfony/framework-bundle upgrade v6.3.6 v7.0.4 diff
symfony/http-client upgrade v6.3.6 v7.0.5 diff
symfony/http-client-contracts upgrade v3.3.0 v3.4.0 diff
symfony/http-foundation upgrade v6.3.6 v7.0.4 diff
symfony/http-kernel upgrade v6.3.6 v7.0.5 diff
symfony/intl upgrade v6.3.2 v7.0.3 diff
symfony/lock upgrade v6.3.6 v7.0.3 diff
symfony/mailer upgrade v6.3.5 v7.0.4 diff
symfony/mime upgrade v6.3.5 v7.0.3 diff
symfony/monolog-bridge upgrade v6.3.1 v7.0.3 diff
symfony/monolog-bundle upgrade v3.8.0 v3.10.0 diff
symfony/options-resolver upgrade v6.3.0 v7.0.0 diff
symfony/password-hasher upgrade v6.3.5 v7.0.4 diff
symfony/polyfill-intl-grapheme upgrade v1.28.0 v1.29.0 diff
symfony/polyfill-intl-icu upgrade v1.28.0 v1.29.0 diff
symfony/polyfill-intl-idn upgrade v1.28.0 v1.29.0 diff
symfony/polyfill-intl-normalizer upgrade v1.28.0 v1.29.0 diff
symfony/polyfill-mbstring upgrade v1.28.0 v1.29.0 diff
symfony/polyfill-uuid upgrade v1.28.0 v1.29.0 diff
symfony/process upgrade v6.3.4 v7.0.4 diff
symfony/property-access upgrade v6.3.2 v7.0.4 diff
symfony/property-info upgrade v6.3.0 v7.0.3 diff
symfony/proxy-manager-bridge upgrade v6.3.0 v6.4.3 diff
symfony/routing upgrade v6.3.5 v7.0.5 diff
symfony/runtime upgrade v6.3.2 v7.0.3 diff
symfony/security-bundle upgrade v6.3.6 v7.0.5 diff
symfony/security-core upgrade v6.3.5 v7.0.3 diff
symfony/security-csrf upgrade v6.3.2 v7.0.3 diff
symfony/security-http upgrade v6.3.6 ⚠️ v7.0.4 ✅ diff
symfony/serializer upgrade v6.3.6 v7.0.4 diff
symfony/service-contracts upgrade v3.3.0 v3.4.1 diff
symfony/string upgrade v6.3.5 v7.0.4 diff
symfony/translation upgrade v6.3.6 v7.0.4 diff
symfony/translation-contracts upgrade v3.3.0 v3.4.1 diff
symfony/twig-bridge upgrade v6.3.5 ⚠️ v7.0.4 ✅ diff
symfony/twig-bundle upgrade v6.3.0 v7.0.4 diff
symfony/uid upgrade v6.3.0 v7.0.3 diff
symfony/validator upgrade v6.3.6 v7.0.5 diff
symfony/var-dumper upgrade v6.3.6 v7.0.4 diff
symfony/var-exporter upgrade v6.3.6 v7.0.4 diff
symfony/web-link upgrade v6.3.0 v7.0.3 diff
symfony/yaml upgrade v6.3.3 v7.0.3 diff
symfonycasts/verify-email-bundle upgrade v1.14.0 v1.17.0 diff
twig/extra-bundle upgrade v3.7.1 v3.8.0 diff
twig/string-extra upgrade v3.7.1 v3.8.0 diff
twig/twig upgrade v3.7.1 v3.8.0 diff
symfony/polyfill-php83 remove v1.28.0 - -

Dev Package changes

Package Operation From To About
doctrine/data-fixtures upgrade 1.6.7 1.7.0 diff
doctrine/doctrine-fixtures-bundle upgrade 3.4.4 3.5.1 diff
nikic/php-parser upgrade v4.17.1 v5.0.2 diff
phar-io/manifest upgrade 2.0.3 2.0.4 diff
phpstan/phpstan upgrade 1.10.55 1.10.64 diff
phpstan/phpstan-doctrine upgrade 1.3.54 1.3.63 diff
phpstan/phpstan-symfony upgrade 1.3.6 1.3.9 diff
phpunit/php-code-coverage upgrade 10.1.7 10.1.14 diff
phpunit/phpunit upgrade 10.4.1 10.5.14 diff
sebastian/cli-parser upgrade 2.0.0 2.0.1 diff
sebastian/complexity upgrade 3.1.0 3.2.0 diff
sebastian/diff upgrade 5.0.3 5.1.1 diff
sebastian/exporter upgrade 5.1.1 5.1.2 diff
sebastian/global-state upgrade 6.0.1 6.0.2 diff
sebastian/lines-of-code upgrade 2.0.1 2.0.2 diff
symfony/browser-kit upgrade v6.3.2 v7.0.3 diff
symfony/css-selector upgrade v6.3.2 v7.0.3 diff
symfony/debug-bundle upgrade v6.3.2 v7.0.3 diff
symfony/dom-crawler upgrade v6.3.4 v7.0.4 diff
symfony/maker-bundle upgrade v1.51.1 v1.56.0 diff
symfony/stopwatch upgrade v6.3.0 v7.0.3 diff
symfony/web-profiler-bundle upgrade v6.3.6 v7.0.4 diff
theseer/tokenizer upgrade 1.2.1 1.2.3 diff

Important Metadata Changes

Package Version Metadata From To
snc/redis-bundle 4.7.1 dist url https://api.github.com/repos/Seldaek/SncRedisBundle/zipball/631d392cf59ae20247872d2d0196009fb74a4a9a https://api.github.com/repos/snc/SncRedisBundle/zipball/4c212a0ee7bac0af82817d9d71c9c8e290e2ca7e
snc/redis-bundle 4.7.1 source url https://github.com/Seldaek/SncRedisBundle.git https://github.com/snc/SncRedisBundle.git

Settings · Docs · Powered by Private Packagist

@chr-hertel chr-hertel force-pushed the php-symfony-update branch 3 times, most recently from 50bda8f to 1b780f4 Compare January 13, 2024 16:47
@Chris53897
Copy link
Contributor

I think this should be seperated PRs.
Maybe one to update scheb/2fa-* 6.x to 7.x
One for UserProviderInterface (if that is unrelated from symfony 6 / 7 choice)
One for snc/redis-bundle
After that, one for symfony 7 and php 8.2 as min version. https://symfony.com/releases/7.0
Users should not be enforced to use the latest version.

@Seldaek
Copy link
Member

Seldaek commented Mar 7, 2024

@chr-hertel servers are now running php8.3, do you mind rebasing here? I'll then take a look at merging and doing some more testing :)

@Chris53897
Copy link
Contributor

Please run composer recipes and update the recipes for the Symfony 7 upgrade.

@chr-hertel chr-hertel force-pushed the php-symfony-update branch from 1b780f4 to 39d5b3b Compare March 8, 2024 10:07
Copy link

The composer.lock diff comment has been updated to reflect new changes in this PR.

1 similar comment
Copy link

The composer.lock diff comment has been updated to reflect new changes in this PR.

@chr-hertel
Copy link
Contributor Author

chr-hertel commented Mar 8, 2024

rebase done, having issues locally to login right now - seems to be unrelated though 🙈 will have a look at the recipe updates

@Seldaek
Copy link
Member

Seldaek commented Mar 8, 2024

There was a change to user table. Make sure db schema is up to date then login should work after a retry perhaps

@chr-hertel chr-hertel changed the title Bump to PHP 8.3 & Symfony 7 Bump to Symfony 7 Mar 8, 2024
@chr-hertel
Copy link
Contributor Author

oof, recipes update was annoying, but i hope i got it right.

not sure about following changes:

  • recipe of symfony/lock was in strange state. not sure about the env var LOCK_DSN=flock there or what you're using, see https://symfony.com/doc/current/lock.html#configuring
  • discarded everything from phpunit recipe. not sure about the value of that thing tbh 🙊
  • doctrine bundle changes, rolled them back with 8a91af6

@chr-hertel chr-hertel marked this pull request as ready for review March 8, 2024 12:08
@Seldaek Seldaek force-pushed the php-symfony-update branch from 8a91af6 to f75c7cd Compare March 21, 2024 10:36
Copy link

The composer.lock diff comment has been updated to reflect new changes in this PR.

@Seldaek Seldaek merged commit 88d1c08 into composer:main Mar 21, 2024
3 checks passed
@Seldaek
Copy link
Member

Seldaek commented Mar 21, 2024

Thanks @chr-hertel !

@chr-hertel chr-hertel deleted the php-symfony-update branch March 23, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants