Skip to content

Releases: sonata-project/SonataPageBundle

3.11.0

17 Apr 21:24
3.11.0
f51b47c
Compare
Choose a tag to compare

Added

  • Add |trans() to child.name|default(service.name) in compose_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

18 Jan 22:17
3.10.0
a9048ac
Compare
Choose a tag to compare

Removed

  • Removed CoreBundle deprecations
  • support for php 5 and php 7.0

3.9.1

05 Nov 07:36
3.9.1
796c220
Compare
Choose a tag to compare

Added

  • Added group icon to admin pages

Fixed

  • Catch empty locale in exception listener
  • Make sonata.page.kernel.exception_listener service public

Security

  • Hide debug information in prod environment

3.9.0

11 Jul 18:18
3.9.0
d784a93
Compare
Choose a tag to compare

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

23 Feb 16:26
3.8.0
7f67b30
Compare
Choose a tag to compare

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

07 Jan 10:13
3.7.1
8dd0f02
Compare
Choose a tag to compare

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

12 Dec 17:11
3.7.0
1a91939
Compare
Choose a tag to compare

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

14 Nov 12:45
3.6.0
322376b
Compare
Choose a tag to compare

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

14 Sep 10:56
3.5.2
52a1e41
Compare
Choose a tag to compare

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 deprecated setDefaultSettings
  • 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

3.5.1

05 Jul 08:53
3.5.1
5368786
Compare
Choose a tag to compare

Fixed

  • use FQCN for Symfony 3 for type in PageAdmin
  • 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