CHANGELOG
#
0.3.0- Upgrade Symfony from
5.2
to5.4
(LTS version) - Upgrade php from
7.4
to8.0
- Upgrade GraphQLite to
v5
- Add some useful command in
Makefile
(test and lint) - Add a test case to verify validity of the graphQL schema
#
0.2.0#
APInote
📣  All commands have to be run in the api
service (make api
).
Update Symfony from version 5.1
to 5.2
by following
the Upgrading a Minor Version guide.
Once done, run the following commands:
And delete the src/api/src/Domain/ResultIterator folder.
In order to find the last outdated dependencies, run composer outdated --direct
:
fzaninotto/faker
:
Replace this dependency with fakerphp/faker
:
sensiolabs-de/deptrac-shim
:
In the require-dev
section from the src/api/composer.json file, replace:
By:
And run composer update
.
league/flysystem-aws-s3-v3
& league/flysystem-memory
:
At the time of writing, the Symfony Bundle is not yet ready for version 2.0.0
:
Now most of the dependencies are up-to-date.
Let's update the Symfony recipes:
doctrine/doctrine-bundle
phpunit/phpunit
symfony/framework-bundle
symfony/messenger
Take a look at the following commit for a better understanding of the changes: https://github.com/thecodingmachine/symfony-boilerplate/commit/c64dda19a44a49b75056eb34fea07c854f7fe7dc
#
Web ApplicationReplace the content of the following file:
Remove the file src/webapp/yarn.lock and the folder src/webapp/node_modules,
before recreating the webapp
service with docker-compose up -d --force webapp
.
Enter the webapp
service (make webapp
) and run yarn lint:fix
.
#
Development EnvironmentIn the Makefile, update the value of VAGRANT_DOCKER_COMPOSE_VERSION
from 1.27.3
to 1.27.4
.
#
0.1.1#
APIMethod createResponseWithXLSXAttachment
from DownloadXLSXController
class did not delete the temporary file in
case of exception:
We now make sure it does: