Skip to content

Commit

Permalink
Merge pull request #37 from smartbooster/prevent_using_doctrine_v3_wh…
Browse files Browse the repository at this point in the history
…ile_bc_break

Ensure we still use doctrine version 2 for now because we have detected some BC break
  • Loading branch information
mathieu-ducrot authored Feb 6, 2024
2 parents 20a8680 + 0775cee commit cceded9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
CHANGELOG for 1.x
===================

## v1.0.6 - (2024-02-06)
### Changed
- Ensure we still use doctrine version 2 for now because we have detected some BC break with the new version 3 such as with Sentry https://github.com/getsentry/sentry-symfony/issues/806

### Added
- Added suffix version for smartbooster install vendors

## v1.0.5 - (2024-02-06)
### Changed
- Also add the `main` branch to the except branch for the test job
Expand Down
8 changes: 6 additions & 2 deletions make/install.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,14 @@ install-symfony: ## Install a new fresh version of symfony
docker compose exec --user=dev php composer remove symfony/doctrine-messenger symfony/notifier symfony/asset-mapper symfony/stimulus-bundle symfony/ux-turbo
docker compose exec --user=dev php composer remove --dev phpunit/phpunit
rm -r assets
# While https://github.com/getsentry/sentry-symfony/issues/806 isn't fix we wont pass to doctrine/orm:v3
docker compose exec --user=dev php composer require --no-interaction doctrine/orm:^2.18 doctrine/dbal:^3.8
# The symfony/maker-bundle update his dependencies to allow nikic/php-parser:^5 but phpmetrics/phpmetrics:^2.8 only works with the previous version so that why we downgrade it for now
docker compose exec --user=dev php composer require --no-interaction --dev nikic/php-parser:^4.18
# Add SmartBooster bundles
docker compose exec --user=dev php composer config --json extra.symfony.endpoint '["https://api.github.com/repos/smartbooster/standard-bundle/contents/recipes.json", "flex://defaults"]'
docker compose exec --user=dev php composer require --dev --no-interaction smartbooster/standard-bundle
docker compose exec --user=dev php composer require --no-interaction smartbooster/core-bundle
docker compose exec --user=dev php composer require --dev --no-interaction smartbooster/standard-bundle:^1
docker compose exec --user=dev php composer require --no-interaction smartbooster/core-bundle:^1
git restore package.json
rm src/DataFixtures/AppFixtures.php
mkdir -p config/serialization
Expand Down

0 comments on commit cceded9

Please sign in to comment.