After upgrading the bundle, you should migrate your database to remove the useless UNIQUE index for field name from table craue_config_setting. The PRIMARY index for field name will remain.
-
If you're overriding the template
modify_form.html.twigin your project, you probably need to adapt it to changes in the built-in form type. Before, two hidden form fieldsnameandsectionwere added only to read theirvaluevariable in the template. They have been removed now. But you can still access the properties of settings in the template via thevaluevariable of eachsettingform field:before:
{% for setting in form.settings %} {{ setting.section.vars.value }} {{ setting.name.vars.value }} {% endfor %}after:
{% for setting in form.settings %} {{ setting.vars.value.section }} {{ setting.vars.value.name }} {% endfor %}
- If you've used the DI parameter
craue_config.configTemplate.class, you now need to override the Twig extension with service idtwig.extension.craue_config_templateinstead. - If you've used the DI parameter
craue_config.config.class, you now need to override the service with idcraue_configinstead.