All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3.16.0 - 2020-03-25
- Removed underscores in page names when calling
sonata:page:update-core-route
- Dependency on
cocur/slugify
3.15.1 - 2020-03-14
- Fix page actions for symfony 4
3.15.0 - 2020-01-27
- Re-allow SF DI>4.4.0
- Upgrade matthiasnoback/symfony-dependency-injection-test to ^4.0
3.14.0 - 2020-01-12
BlockInteractor
constructor's argument $registry is now an instance ofDoctrine\Persistence\ManagerRegistry
Transformer
constructor's argument $registry is now an instance ofDoctrine\Persistence\ManagerRegistry
- deprecations from
doctrine/persistence
3.13.0 - 2019-10-21
- Add missing translation for admin menu
- Added missing translation for blocks
- Add more
@method
annotation to propagate new methods ofSnapshotManagerInterface
- Fixed
DecoratorStrategy
compatibility withsymfony/http-foundation
>= 3.4.31 - Match PHPDoc with doctrine model
- Add
internal
as default context for technical blocks - Use correct translation domain for page blocks
- Remove translation call for empty block descriptions
- Remove superfluous PHPDoc
3.12.0 - 2019-10-03
- Added missing German translation
- Added support for new
EditableBlockService
- Match PHPDoc with doctrine model
- Increased block type length to 255 chars
- Removed superfluous PHPDoc
- Removed routing deprecations
3.11.1 - 2019-05-28
- compare with a different value type in the
treeAction
- Fixed missing macro call in
breadcrumb.html.twig
3.11.0 - 2019-14-17
- Add
|trans()
tochild.name|default(service.name)
incompose_preview.html.twig
- Translate page name in breadcrumb if no title is defined
- 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 - 2018-10-18
- Removed CoreBundle deprecations
- support for php 5 and php 7.0
3.9.1 - 2018-11-04
- Added group icon to admin pages
- Catch empty locale in exception listener
- Make
sonata.page.kernel.exception_listener
service public
- Hide debug information in prod environment
3.9.0 - 2018-06-18
- Auto-register datepicker form theme
- Force use breadcrumb translation strings for page admins
- 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 support for latest
sonata-project/cache
3.8.0 - 2018-02-23
- 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
- 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
- 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 default title from blocks
- Removed old
sonata-
classes from templates - Removed compatibility with older versions of FOSRestBundle (<2.1)
3.7.1 - 2018-01-07
- The internal page name is not used as a seo title fallback anymore
- make services explicit public
- 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 - 2017-12-12
- Added Russian translations
- Add Symfony 4 compatibility
- Added new configuration
skip_redirection
to skip asking Editor to redirect
- make services explicit public
- compatibility with Twig 2.0 was improved
- Fixed wrong route in pagelist block
- Removed old form alias usage
3.6.0 - 2017-11-14
- 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
- support for old versions of php and Symfony
- Removed php5 version checks
3.5.2 - 2017-09-14
- Changed fallback translation domain to
SonataBlockBundle
in page composer
- 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
3.5.1 - 2017-07-05
- 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 - 2017-06-05
- added support for
FOSRestBundle:2.0
- Added Italian translations
- 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 - 2017-04-04
- Removed block service deprecation
- use
is not null
instead ofis defined
inBlock/block_base.html.twig
3.4.0 - 2017-03-16
- Added --clean option to
sonata:page:update-core-routes
command to remove orphaned pages
- 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
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 unused
--all
option insonata:page:update-core-routes
command - Removed deprecation for
security.context
3.3.0 - 2017-01-17
- 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
CmsPageRouter::generateFromPage
to change the site context when generating the url for the given page
- 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 - 2016-09-20
- Added new command to create block container for all pages
- Added new
SnapshotPageFactory
- 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
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.
- The
beta
tag onto theComposer
functionality
3.1.0 - 2016-08-01
- Warmup the cache from the CLI brings an error in HTTP
- Fixed PHP Fatal error: Call to a member function getRelativePath() on null
- Internal test classes are now excluded from the autoloader
3.0.2 - 2016-06-21
- Support version 2.x for
cocur/slugify
dependency
- 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 - 2016-06-13
- Fixed missing null check when rendering tree view without any site
- The page name is now correctly used as a page title fallback
- Removed never implemented
sonata_page_url
twig function