Skip to content

Releases: sonata-project/SonataPageBundle

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

3.5.0

05 Jun 08:20
3.5.0
5a3f7d7
Compare
Choose a tag to compare

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.skeleton files 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 QuestionHelper and DialogHelper in CreateSiteCommand for 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

04 Apr 09:10
3.4.1
c09070b
Compare
Choose a tag to compare

Deprecated

  • Removed block service deprecation

Fixed

  • use is not null instead of is defined in Block/block_base.html.twig

3.4.0

16 Mar 09:35
3.4.0
72e6f26
Compare
Choose a tag to compare

Added

  • Added --clean option to sonata:page:update-core-routes command to remove orphaned pages

Fixed

  • Configuration regex for ignore_route_patterns and ignore_uri_patterns nodes
  • 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

  • CmsManagerSelector now uses the PageAdmin::isGranted method to check for EDIT
  • Route name from admin_sonata_page_page_create to method sonata_admin.url().
  • Sonata\PageBundle\Admin\PageAdmin, added method getPersistentParameters
  • use font awesome icon instead of famfamfam icon in select_site.html.twig

Deprecated

  • Deprecated unused --all option in sonata:page:update-core-routes command
  • Removed deprecation for security.context

3.3.0

17 Jan 11:27
3.3.0
dbfd8b7
Compare
Choose a tag to compare

Added

  • Added new sonata:page:clone command
  • Added SiteRequestContextInterface to 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::generateFromPage to change the site context when generating the url for the given page

Fixed

  • Failed to create object: AppBundle\Entity\Site
  • NotNull constraint on Page instead of Site
  • Fixed inherits_containers feature Subject
  • Missing blockId setting SharedBlockBlockService
  • Use the correct protocol for urls
  • The page title won't get overwritten anymore

3.2.0

20 Sep 07:50
3.2.0
db004b4
Compare
Choose a tag to compare

Added

  • Added new command to create block container for all pages
  • Added new SnapshotPageFactory

Changed

  • UniqueUrl validation isn't checked for Dynamic pages anymore
  • UniqueUrlValidator is now more specific with the error, and the error is attached to a field

Fixed

  • trigger_error for deprecated sonata.core.slugify.native
  • Removed deprecation warning for Admin usage.
  • Removed deprecation warning for AdminExtension usage.
  • 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 beta tag onto the Composer functionality

3.1.0

01 Aug 13:51
3.1.0
7bc0eac
Compare
Choose a tag to compare

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

21 Jun 06:08
3.0.2
c54b5f4
Compare
Choose a tag to compare

Added

  • Support version 2.x for cocur/slugify dependency

Fixed

  • Typo with \RuntimeException usage
  • Fix missing $transformer property in SnapshotPageProxy
  • Service definition sonata.page.admin.page not exists error if admin-bundle is not present

3.0.1

13 Jun 13:37
3.0.1
7eabfd9
Compare
Choose a tag to compare

Fixed

  • Fixed missing null check when rendering tree view without any site
  • The page name is now correctly used as a page title fallback

Removed

  • Removed never implemented sonata_page_url twig function