- Move Bundle class from
\Netzmacht\Contao\Toolkit\Bundle\NetzmachtContaoToolkitBundle
to\Netzmacht\Contao\Toolkit\NetzmachtContaoToolkitBundle
\Netzmacht\Contao\Toolkit\Dca\Listener\AbstractListener::getName()
is abstract now and has to be implemented in favor of defining a static$name
property
- Remove components. Use proper fragment controllers
- Remove support of symfony/templating. Use built in template renderer instead.
- Drop support for encrypted values and do not provide the encryption service.
- Remove handle* callback methods. Use on* callbacks methods instead
- Remove
AddTaggedServicesAsArgumentPass
class - Use native types where possible
HtmlPageAssetsManager
got removed. Signature is part ofAssetsManager
now.- Remove
AssetPackageAssetsManager
. Feature got integrated intoGlobalsAssetsManager
.
- Check AbstractListener::getName() and not static property for better compatibility between v3 and v4
- Do not use customTpl in the backend of the fragment controller
- Asset manager: Add support for asset packages based assets
- Declare model type in the abstract fragment controllers using psalm's templates feature
- Replace patchwork/utf8 to symfony/string (#31)
- Fix state button callback for disabling a state
- Fix visibility logic in hybrid component
- Fix unique database value validator
- Fix broken YesNoFormatter
- Remove backward incompatible type annotation #29
- Allow doctrine/dbal ^3.0 for Contao 4.13 compatibility
- Bump symfony requirements
- Change coding standard
- Use symfony contracts where required for Symfony 5 compatibility
- Unlock more symfony 5 components
- Use the correct csrf token manager (#28)
- Introduce new template renderer which does not require the templating engine to support twig templates
3.6.0 (2020-12-15)
- Provide base fragment controllers for content elements, modules and hybrids
- Support short templates names (
fe:template_name
,be:template_name
)
- Require at least Contao
^4.9
- Always activate the fos cache response tagger if available
- Wizard listeners now support
netzmacht.contao_toolkit.template_renderer
. Support fortemplating
is deprecated.
- Remove Contao translator backport
- Remove tagged hook listener backport
3.5.0 (2020-11-20)
- Add a new template renderer service which will replace the integration of the templating engine
- Integration in the templating engine. Will be removed in version 4.0.
- Deprecate the components (Frontend module and content elements) - Use contao fragments instead
3.4.5 (2020-08-28)
- Fix type class for content elements based on hybrids
3.4.4 (2020-08-27)
ỲesNoLabelFormatter
was not registered
3.4.3 (2020-08-26)
- Prevent initialization error caused by not initialized contao framework
3.4.2 (2020-06-30)
- Unlock
symfony/security-core:^5.0
3.4.1 (2020-06-26)
- Fix specs from missing merge
3.4.0 (2020-06-26)
- Add
netzmacht.contao_toolkit.contao.image_adapter
for theContao\Image
class - Introduce interface
Netzmacht\Contao\Toolkit\Dca\DcaManager
- Add alias
netzmacht.contao_toolkit.csrf.token_manager
which refers to the token manager used in Contao - Add CsrfTokenProvider to simplify access to the request token
- Add
Netzmacht\Contao\Toolkit\View\Assets\HtmlPageAssetsManager
interface which extends the AssetsManager
- Adding
netzmacht.contao_toolkit.component.content_element_factory
andnetzmacht.contao_toolkit.component.frontend_module_factory
isn't required anymore - Do not depend on constant TL_MODE to detect request scope. Use
RequestScopeMatcher
instead for components. Not passingRequestScopeMatcher
as constructor argument to components (content elements, modules) is deprecated now. - Do not detect preview mode using BE_USER_LOGGED_IN constant. State has to be passed to the constructor for content
elements. Deprecate not passing the
isPreviewMode
state as constructor argument. - Adding
netzmacht.contao_toolkit.component.content_element_factory
andnetzmacht.contao_toolkit.component.frontend_module_factory
isn't required anymore - Service
netzmacht.contao_toolkit.assets_manager
has to implementNetzmacht\Contao\Toolkit\View\Assets\HtmlPageAssetsManager
now.
- Fix css class for frontend modules
3.3.3 (2020-03-30)
- Fixed potential security issues of symfony components CVE-2019-10913 and CVE-2019-18888
3.3.2 (2020-01-20)
- Fixed specs and coding standards
3.3.1 (2019-05-07)
- Fix visibility of content elements
3.3.0 (2019-04-09)
- Auto register models in globals registry if defined as repository.
- Log if translated message does not exist.
- Generate deprecated error if domain prefix is added to a translated message.
- Fix css class for frontend modules
3.2.0 (2019-02-12)
- Add service for Contao Message class
- Add service for Contao Dbafs class
- Add
Definition#modify
method to modify given defintion.
- Default alias generator factory has to be a public service.
3.1.1 (2018-12-17)
- Fix contao/core-bundle version detection if the monorepo contao/contao is used
- Do not register services tagged as contao.hook as service for Contao 4.5 and later
3.1.0 (2018-11-21)
- Provide a response tagger service for forward compatibility for Contao < 4.6
- Support table prefixing for columns in findBySpecification and order for findAll calls.
- Support
type
as alternative toalias
for registering components
- Switch to strict_types everywhere. Set internal classes as final (You should treat all classes as final).
- Improve wizard picker positions
- Change callback method from
handleCallbackName
toonCallbackName
for all callbacks. - Use class name as service name for dca callback listeners.
- Require PHP 7.1.
- Fix broken FilePickerListener.
- Deprecate
handle*
methods for all dca callback listeners. - Deprecate dotted named for dca callback listener services. Use class names instead.
- Fix a POSIX compilation error in the translator (See contao/core-bundle#1656)
- Do not add domain as message prefix by default in the translator as Contao doesn't anymore. Added BC support.
3.0.6 (2018-08-27)
- Fix incompatibility with contao-community/translator
3.0.5 (2018-08-24)
- Get travis build work again for Contao 4.5 and later
- Fix rendering of component classes
3.0.4 (2018-08-24)
- Update readme
3.0.3 (2018-08-24)
- Allow symfony 4 components.
- RUn composer-require-checker and fix issues.
3.0.2 (2018-03-29)
- Fix the order of the labels in the options builder
- Improve the translator compatibility by supporting catalogs
3.0.1 (2018-01-12)
- Prevent error than no dca array is loaded (See contao-leaflet-maps/issues/54
- Added changelog (#9)