Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 909 Bytes

File metadata and controls

49 lines (34 loc) · 909 Bytes

Upgrade to 7.x

This guide lists the breaking changes when upgrading from 6.x.

Requirements

The bundle no longer requires endroid/installer or symfony/yaml directly.

Bundle configuration

Builder configuration must now be placed under the builders key.

Before:

endroid_qr_code:
    default:
        writer: Endroid\QrCode\Writer\PngWriter
        size: 300
    custom:
        writer: Endroid\QrCode\Writer\SvgWriter

After:

endroid_qr_code:
    builders:
        default:
            writer: Endroid\QrCode\Writer\PngWriter
            size: 300
        custom:
            writer: Endroid\QrCode\Writer\SvgWriter

Routes

The QR code route is now registered by the bundle itself. Use bundle configuration:

endroid_qr_code:
    route_enabled: true
    route_prefix: /qr-code

Internal files

The Resources/config/*.yaml files were removed.