This document describes the changes needed when upgrading because of a BC break. For the full list of changes, please look at the Changelog file.
The exception class Sp\BowerBundle\Bower\Exception
was removed.
If you used this class to catch or throw new exceptions, replace it with one of the new ones:
- Sp\BowerBundle\Bower\Exception\ExceptionInterface
- Sp\BowerBundle\Bower\Exception\FileNotFoundException
- Sp\BowerBundle\Bower\Exception\RuntimeException
The configuration option register_assets
is deprecated and will be removed in 0.6.
You should now use the assetic
option
Before:
sp_bower:
register_assets: true
After:
sp_bower:
assetic: ~
The configuration for this bundle slightly changed to make it more clear.
Before:
# app/config/config.yml
sp_bower:
paths:
DemoBundle: ~
After:
# app/config/config.yml
sp_bower:
bundles:
DemoBundle: ~