Skip to content

Commit

Permalink
Add info to UPGRADE file
Browse files Browse the repository at this point in the history
  • Loading branch information
mpysiak committed Oct 29, 2024
1 parent c3d603c commit f7a75e2
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions UPGRADE-1.14.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,22 @@

The previous namespaces are still usable, but are considered deprecated and may be removed in future versions of `Resource` packages, update them at your own convenience.

2. Package `enshrined/svg-sanitize` has been removed from the project due to license incompatibility with Sylius. You can still use it in your project by adding it manually. Just add it to your `composer.json` file:

```json
{
"require": {
"enshrined/svg-sanitize": "^0.16",
}
}
```
Also `svg` image support has been removed. If you want to use `svg` images in your project, add `image/svg+xml` to the list of allowed mime types in `CoreBundle` configuration.

```yaml
sylius_core:
allowed_image_mime_types: ['image/jpeg', 'image/png', 'image/gif', 'image/webp', 'image/svg+xml']
```

### Deprecations

1. Aliases for the following services have been introduced to standardize service IDs and will replace the incorrect IDs in Sylius 2.0:
Expand Down Expand Up @@ -718,9 +734,6 @@
1. The following classes have been deprecated and will be removed in Sylius 2.0:
- **AdminBundle**
- `Sylius\Bundle\AdminBundle\Controller\NotificationController`

1. The following services have been deprecated and will be removed in Sylius 2.0:
- **AdminBundle**
- `sylius.controller.admin.notification`
- `Sylius\Bundle\AdminBundle\Controller\Dashboard\StatisticsController`
- `Sylius\Bundle\AdminBundle\Form\Extension\CatalogPromotionActionTypeExtension`
Expand Down Expand Up @@ -805,6 +818,7 @@
- `Sylius\Bundle\CoreBundle\Form\Extension\LocaleTypeExtension`
- `Sylius\Bundle\CoreBundle\Form\Type\Grid\Filter\EntitiesFilterType`
- `Sylius\Component\Core\Grid\Filter\EntitiesFilter`
- `Sylius\Bundle\CoreBundle\Twig\FilterExtension`
- **PayumBundle**
- `Sylius\Bundle\PayumBundle\Action\Paypal\ExpressCheckout\ConvertPaymentAction`
- `Sylius\Bundle\PayumBundle\Controller\PayumController`
Expand Down

0 comments on commit f7a75e2

Please sign in to comment.