Releases: sonata-project/SonataPageBundle
Releases · sonata-project/SonataPageBundle
4.1.1
Fixed
- [#1676] ORM schema mapping does not give validation errors (@jordisala1991)
4.1.0
4.0.0
4.0.0-alpha-1
Added
- [#1583] Added
assets/css/frontend.scss
to use in site's page (@eerison) - [#1623] Add ability to display and remove blocks that belongs to types that no longer exist on compose page. (@jordisala1991)
- [#1534] Add missing dependency to
symfony/intl
. (@jordisala1991) - [#1530] Add typehints and return types instead of phpdoc on all places possible. (@jordisala1991)
- [#1520] Add support for
sonata-project/doctrine-extensions
^2.0. (@jordisala1991) - [#1520] Add support for
sonata-project/twig-extensions
^2.0. (@jordisala1991) - [#1491] Add support for Symfony 5 and 6. (@jordisala1991)
- [#1485] Add support for Sonata ^4. (@jordisala1991)
- [#1483] Add support for SonataBlockBundle ^4. (@jordisala1991)
- [#1483] Add support for SonataSeoBundle ^3. (@jordisala1991)
- [#1452] Add
PageManager::createWithDefaults()
to create Pages with some default values. (@jordisala1991) - [#1464] Add support for PHP 8.1 (@jordisala1991)
- [#1450] Add Twig ^3.0 compatibility. (@jordisala1991)
Changed
- [#1437] Updated ValidatorTest to use ConstraintValidatorTestCase (@Hanmac)
- [#1460] Changed
BaseCommand::class
toSymfony\Command::class
(@eerison) - [#1493] Change
SnapshotChildrenCollection
to be a lazyCollection
from Doctrine (@jordisala1991) - [#1564] Changed
page
context tosonata.page.block.breadcrumb
used insrc/Resources/views/layout.html.twig
file (@eerison) - [#1559] Change frontend compilation system from Gulp to Webpack (@jordisala1991)
- [#1559] Change final minified file to
app.js
andapp.css
(@jordisala1991) - [#1531] Change from xml configuration format to PHP, for the internal bundle configuration. (@jordisala1991)
- [#1528]
BlockAdmin
and its childs now inject their required dependencies through__construct
instead of set methods. (@jordisala1991) - [#1519]
PageAdmin
now injects its required dependencies through__construct
instead of set methods. (@jordisala1991) - [#1513] Replace usage of Container as a dependency by the actual dependencies of services. (@jordisala1991)
- [#1512] Adjust
PageInterface
,SnapshotInterface
andSiteInterface
to reflect all the methods available on the actual implementation. (@jordisala1991) - [#1510] Changed visibility for most protected properties / methods to private, since classes are final. (@jordisala1991)
- [#1508] Changed from
\DateTime
to\DateTimeInterface
on all the codebase. (@jordisala1991) - [#1436] PageExtension doesn't need InitRuntimeInterface anymore (@Hanmac)
Fixed
- [#1627] Fixed
snapshot
translation (@eerison) - [#1624] Fix to not show blocks that are not meant to be editable. (@jordisala1991)
- [#1625] Fix delete button while editting blocks on compose page. (@jordisala1991)
- [#1607] Fix
customUrl
implementation. (@jordisala1991) - [#1606] Fix
host_with_path
with site on a relative path of '/'. (@jordisala1991) - [#1606] Fix
View Page
button on Page edit, when site has relative path of '/'. (@jordisala1991)
Removed
- [#1460] Removed
--site=all
option for the commands (@eerison) - [#1460] Removed
DumpPageCommand::class
(@eerison) - [#1460] Removed
RenderBlockCommand::class
(@eerison) - [#1460] Removed
BaseCommand::class
(@eerison) - [#1596] Removed
sonata.page.assets
option (@eerison) - [#1627] Removed SonataAdmin translation files (@eerison)
- [#1594] Removed deprecate
page_stylesheets
block frombase_layout.html.twig
(@eerison) - [#1594] Removed deprecate
page_javascripts
block frombase_layout.html.twig
(@eerison) - [#1594] Removed deprecate
page_top_bar
block frombase_layout.html.twig
(@eerison) - [#1594] Removed deprecate
page_container
block frombase_layout.html.twig
(@eerison) - [#1594] Removed deprecate
page_asset_footer
block frombase_layout.html.twig
(@eerison) - [#1574] Remove show route for block since blocks are meant to be edited through compose page. (@jordisala1991)
- [#1541] Remove unused
AjaxController
. (@jordisala1991) - [#1541] Remove unused
BlockController
. (@jordisala1991) - [#1524] Remove
BlockContextManager
service to use the default one from BlockBundle. (@VincentLanglet) - [#1506] Remove
setSlugifyMethod
andgetSlugifyMethod
static methods from Page. (@jordisala1991) - [#1473] Removed the command
MigrateBlockNameSettingCommand::class
(@eerison) - [#1473] Removed the command
MigrateToJsonTypeCommand::class
(@eerison) - [#1456] Remove integration with SonataNotificationBundle (@jordisala1991)
- [#1449] Remove SonataCoreBundle related code. (@jordisala1991)
- [#1430] Remove cache related code. (@Hanmac)
3.29.0
3.28.0
3.27.0
Added
- [#1418] Added
CreateSnapshotService
to create snapshots (@eerison) - [#1418] Added
CreateSnapshotBySiteInterface
(@eerison) - [#1418] Added
CreateSnapshotByPageInterface
(@eerison)
Changed
- [#1446] Updated SnapshotManger to use QueryBuilder instead of native SQL (@Hanmac)
- [#1427] Make Cache dependency optional (@Hanmac)
Deprecated
- [#1461] Deprecated
DumpPageCommand::class
(@eerison) - [#1461] Deprecated
RenderBlockCommand::class
(@eerison) - [#1459] Deprecated
Mustache:class
generator (@eerison) - [#1434] Deprecated
CleanupSnapshotConsumer
class (@eerison) - [#1434] Deprecated
CleanupSnapshotsConsumer
class (@eerison) - [#1434] Deprecated
--mode
option forsonata:page:cleanup-snapshots
(@eerison) - [#1434] Deprecated
--base-console
option forsonata:page:cleanup-snapshots
(@eerison) - [#1434] Deprecated
--site=all
option forsonata:page:cleanup-snapshots
(@eerison) - [#1434] Deprecated
--base-console
option forsonata:page:create-snapshots
(@eerison) - [#1434] Deprecated
--site=all
option forsonata:page:create-snapshots
(@eerison) - [#1434] Deprecated
--site=all
option forsonata:page:update-core-routes
(@eerison) - [#1434] Deprecated
BaseCommand::class
(@eerison) - [#1482] Deprecated target page code from
src/Command/CloneSiteCommand.php
(@eerison) - [#1482] Deprecated target page code from
src/Entity/Transformer.php
(@eerison) - [#1482] Deprecated
src/Model/Page::target
property (@eerison) - [#1482] Deprecated
src/Model/Page::getTarget()
method (@eerison) - [#1482] Deprecated
src/Model/Page::setTarget()
method (@eerison) - [#1482] Deprecated
src/Model/PageInterface::getTarget()
method (@eerison) - [#1482] Deprecated
src/Model/PageInterface::setTarget()
method (@eerison) - [#1482] Deprecated
src/Model/Snapshot::target
property (@eerison) - [#1482] Deprecated
src/Model/Snapshot::targetId
property (@eerison) - [#1482] Deprecated
src/Model/Snapshot::getTarget()
method (@eerison) - [#1482] Deprecated
src/Model/Snapshot::setTarget()
method (@eerison) - [#1482] Deprecated
src/Model/Snapshot::getTargetId()
method (@eerison) - [#1482] Deprecated
src/Model/Snapshot::setTargetId()
method (@eerison) - [#1482] Deprecated
src/Model/SnapshotPageProxy::target
property (@eerison) - [#1482] Deprecated
src/Model/SnapshotPageProxy::getTargetId()
method (@eerison) - [#1482] Deprecated
src/Model/SnapshotPageProxy::setTargetId()
method (@eerison) - [#1482] Deprecated
src/Page/PageServiceManager::createResponse()
method (@eerison) - [#1476] Deprecated the command
MigrateToJsonTypeCommand::class
(@eerison) - [#1476] Deprecated the command
MigrateBlockNameSettingCommand::class
(@eerison) - [#1435] Deprecated
BlockEsiCache
,BlockJsCache
andBlockSsiCache
. (@Hanmac) - [#1418] Deprecated
async
mode inCreateSnapshotsCommand
(@eerison) - [#1418] Deprecated
sonata.notification.backend
code intoSiteAdminController
(@eerison) - [#1418] Deprecated
sonata.notification.backend
code intoPageAdminController
(@eerison) - [#1418] Deprecated
sendMessage
and$backend
property into theCreateSnapshotAdminExtension
(@eerison)
Removed
3.26.0
3.25.0
Added
- [#1382] Added PHPStan and Psalm. (@jordisala1991)