Releases: sonata-project/SonataPageBundle
Releases · sonata-project/SonataPageBundle
3.11.1
3.11.0
Added
- Add
|trans()
tochild.name|default(service.name)
incompose_preview.html.twig
Changed
- Translate page name in breadcrumb if no title is defined
Fixed
- Use page title in breadcrumbs
- Creating homepage from router config (check if page available in config - we
will not create default Homepage).
3.10.0
3.9.1
3.9.0
Changed
- Auto-register datepicker form theme
- Force use breadcrumb translation strings for page admins
Fixed
- Removed default value for parent association mappings
addChild
deprecations- Only blocks with getBlockMetadata method will be shown in "add block of type" menu of Page Composer
Added
- Added support for latest
sonata-project/cache
3.8.0
Added
- added block title translation domain option
- added block icon option
- added block class option
- Added auto-registration sonata.page.router to cmf_routing.router service
Changed
- Switch all templates references to Twig namespaced syntax
- Switch from templating service to sonata.templating
- Remove default template from exception list
- Use default template in page create template
- Added styling to page create button
- Allow Slugify ^3.0
Fixed
- Replaced service names for field types by classnames.
- Commands not working on symfony4
- sonata.page.site.selector is public
- forward-compatibility with strict mode
Removed
- Removed default title from blocks
- Removed old
sonata-
classes from templates - Removed compatibility with older versions of FOSRestBundle (<2.1)
3.7.1
Changed
- The internal page name is not used as a seo title fallback anymore
- make services explicit public
Fixed
- Fix for getRuntime on Symfony older than 3.4
- Fixed missing import
- Lowered page request listener to make sure it's triggered behind the firewall listener
- Fixed template choices in BlockAdmin
3.7.0
Added
- Added Russian translations
- Add Symfony 4 compatibility
- Added new configuration
skip_redirection
to skip asking Editor to redirect
Changed
- make services explicit public
Fixed
- compatibility with Twig 2.0 was improved
- Fixed wrong route in pagelist block
Removed
- Removed old form alias usage
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-confirmation
option 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
SonataBlockBundle
in 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
configureSettings
instead of deprecatedsetDefaultSettings
- compatibility with Twig 2.0 was improved
_self
returns 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