Releases: sonata-project/SonataPageBundle
Releases · sonata-project/SonataPageBundle
3.6.0
Fixed
- use new sf3 choices structure
- Pass form data instead of request object to form::submit
- Not working SEO page title
- read_only error for site selection in page admin
- Renamed internal method to fix sf2.8 incompatibility
- Fixed passing snapshot factory as wrong argument to
Sonata\PageBundle\Entity\SnapshotManager - Unused
no-confirmationoption for site create command
Removed
- support for old versions of php and Symfony
- Removed php5 version checks
3.5.2
Changed
- Changed fallback translation domain to
SonataBlockBundlein page composer
Fixed
- Batch blocks removing doesn't mark page as edited
- Composer (JS): Relying of custom status-property; instead rely on Response Status Code
- use
configureSettingsinstead of deprecatedsetDefaultSettings - compatibility with Twig 2.0 was improved
_selfreturns the template path instead of the template object- Twig runtime error on Symfony < 3.2 and Twig 2.x
- Don't call Extension::addClassesToCompile() on php versions greater than 7
3.5.1
Fixed
- use FQCN for Symfony 3 for
typeinPageAdmin - parent page select input no longer has flipped choices
- crash when running
sonata:page:clone-site - form typess are referenced by FQCN and not by name, which is no longer supported
3.5.0
Added
- added support for
FOSRestBundle:2.0 - Added Italian translations
Fixed
- Rendering failure when block.page property does not exist.
- Fixed hardcoded paths to classes in
.xml.skeletonfiles of config - Compatibility with Symfony 3 was fixed
- A deprecation warning regarding the usage of factories in the DIC was fixed
- deprecation warning about scope attributes
- deprecation error message about
addViolationAt - added support for both
QuestionHelperandDialogHelperinCreateSiteCommandfor Symfony 2.3 and 3.x compatibility - fixed token manager compatibility in
PageAdminController - fixed the syntax change necessary for question helper as opposed to dialog helper
3.4.1
Deprecated
- Removed block service deprecation
Fixed
- use
is not nullinstead ofis definedinBlock/block_base.html.twig
3.4.0
Added
- Added
--cleanoption tosonata:page:update-core-routescommand to remove orphaned pages
Fixed
- Configuration regex for
ignore_route_patternsandignore_uri_patternsnodes - ISO 639 compatibility,
Site::$locale, now has length set as 7 instead of 6. - Add relative path to the "view page" link in the
PageAdmin - deprecated usage of the logger
- deprecated usage
configureSideMenu
Changed
CmsManagerSelectornow uses thePageAdmin::isGrantedmethod to check for EDIT- Route name from
admin_sonata_page_page_createto methodsonata_admin.url(). Sonata\PageBundle\Admin\PageAdmin, added methodgetPersistentParameters- use font awesome icon instead of famfamfam icon in
select_site.html.twig
Deprecated
- Deprecated unused
--alloption insonata:page:update-core-routescommand - Removed deprecation for
security.context
3.3.0
Added
- Added new
sonata:page:clonecommand - Added
SiteRequestContextInterfaceto check the current context type in get SiteRequestContext - Added
SiteRequestContext::setSite()to change the site context - Added
SiteRequestContext::getSite()to get the site context
Changed
- Changed
CmsPageRouter::generateFromPageto change the site context when generating the url for the given page
Fixed
- Failed to create object: AppBundle\Entity\Site
- NotNull constraint on
Pageinstead ofSite - Fixed
inherits_containersfeature Subject - Missing
blockIdsetting SharedBlockBlockService - Use the correct protocol for urls
- The page title won't get overwritten anymore
3.2.0
Added
- Added new command to create block container for all pages
- Added new
SnapshotPageFactory
Changed
- UniqueUrl validation isn't checked for Dynamic pages anymore
UniqueUrlValidatoris now more specific with the error, and the error is attached to a field
Fixed
trigger_errorfor deprecatedsonata.core.slugify.native- Removed deprecation warning for
Adminusage. - Removed deprecation warning for
AdminExtensionusage. - Fixed duplicate translation in tab menu
- Fixed duplicate translation of batch actions
- make sure the scope in the container is clean to avoid failing test while unit testing the command
- Fixed deprecated doctrine methods
- top menu items not translated for the compose action
- add missing title in the compose action.
- Top menu links for edit/compose action are now highlighted.
- Custom query parameters are no longer lost on redirect.
Removed
- The
betatag onto theComposerfunctionality
3.1.0
Fixed
- Warmup the cache from the CLI brings an error in HTTP
- Fixed PHP Fatal error: Call to a member function getRelativePath() on null
Removed
- Internal test classes are now excluded from the autoloader
3.0.2
Added
- Support version 2.x for
cocur/slugifydependency
Fixed
- Typo with
\RuntimeExceptionusage - Fix missing
$transformerproperty inSnapshotPageProxy - Service definition
sonata.page.admin.pagenot exists error if admin-bundle is not present