Migrate to brezel/api 1.x
brezel/api 1.0 brings you the joys of a new export system.
The underlying export microservices have been completely reworked and now provide more flexibility, performance and most importantly: maintainability!
Migration steps
To update your project to brezel/api 1.0, follow these steps:
- Change the brezel/api version in your composer.json to the latest 1.x version and run
composer update. - Update the
BREZEL_EXPORT_URLin your.envfile to point to an instance of the new export.- Either use the staging environment at
https://export.cluster-sw.brezel.io/, or set up your own instance. - Setting up your own instance (locally or on your production server) is easiest using the export installer!
- Either use the staging environment at
- Validate that all your PDFs and other exports are still working. You might need to update your
action/exportworkflow elements- Export type “legacy” has been removed, but the previously default “2.0” is also not supported anymore. There are no very big changes from 2.0 to the curren version, but some minor changes might be necessary.
- Schedule downtime with your Customer (~1h, minimum)
- Update your production environment
- Install the new export system on your production server
- Update your
.envfile so thatBREZEL_EXPORT_URLpoints to your new export system
- Run / deploy as normal
- Make sure to test important parts of your application to ensure that everything works as expected.