CHANGELOG
0.3.0#
- Upgrade Symfony from
5.2to5.4(LTS version) - Upgrade php from
7.4to8.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#
API#
note
📣  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-bundlephpunit/phpunitsymfony/framework-bundlesymfony/messenger
Take a look at the following commit for a better understanding of the changes: https://github.com/thecodingmachine/symfony-boilerplate/commit/c64dda19a44a49b75056eb34fea07c854f7fe7dc
Web Application#
Replace 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 Environment#
In the Makefile, update the value of VAGRANT_DOCKER_COMPOSE_VERSION from 1.27.3 to 1.27.4.
0.1.1#
API#
Method createResponseWithXLSXAttachment from DownloadXLSXController class did not delete the temporary file in
case of exception:
We now make sure it does: