Releases: sonata-project/SonataPageBundle
Releases · sonata-project/SonataPageBundle
3.5.1
Fixed
- use FQCN for Symfony 3 for
type
inPageAdmin
- 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.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
andDialogHelper
inCreateSiteCommand
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
Deprecated
- Removed block service deprecation
Fixed
- use
is not null
instead ofis defined
inBlock/block_base.html.twig
3.4.0
Added
- Added
--clean
option tosonata:page:update-core-routes
command to remove orphaned pages
Fixed
- Configuration regex for
ignore_route_patterns
andignore_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 thePageAdmin::isGranted
method to check for EDIT- Route name from
admin_sonata_page_page_create
to 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
--all
option insonata:page:update-core-routes
command - Removed deprecation for
security.context
3.3.0
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 ofSite
- 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
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 deprecatedsonata.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 theComposer
functionality
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/slugify
dependency
Fixed
- Typo with
\RuntimeException
usage - Fix missing
$transformer
property inSnapshotPageProxy
- Service definition
sonata.page.admin.page
not exists error if admin-bundle is not present
3.0.1
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