Releases: derhansen/sf_banners
TYPO3 13.4 compatibility
This version is compatible with TYPO3 13.4 LTS only. The extension contains the following breaking changes:
- The Plugin has been migrated to
CType
. The included update wizard must be executed - The extension now uses TYPO3 core functionality to create database tables and fields. Please make sure to apply all suggested database changes in install tool after update.
- Function
getTypoScriptFrontendController
has been removed fromBannerController
- The new TYPO3 HashService is now used in the extension. After updating the extension, it must be ensured, that all caches are cleared
Important HTML banner changes
[!!!][TASK] Add extension setting to enable HTML banner type for editors
The output of HTML banners has most likely never worked as expected since the introduction of TYPO3 HTML sanitizer in TYPO3 v9.5, since the Fluid template used <f:format.html>
ViewHelper to output the content of a HTML banner. Since no one ever reported a problem with HTML banners until april 2024, it can be assumed, that the HTML banner feature is most likey unused.
As a result and due to security concerns, the feature has been disabled for non-admin users. If non-admin users are required to create HTML banners, the extension setting allowHtmlBannerForNonAdmins
must be enabled.
[BUGFIX] Output HTML banner content as is #264
Important HTML banner changes
[!!!][TASK] Add extension setting to enable HTML banner type for editors
The output of HTML banners has most likely never worked as expected since the introduction of TYPO3 HTML sanitizer in TYPO3 v9.5, since the Fluid template used <f:format.html>
ViewHelper to output the content of a HTML banner. Since no one ever reported a problem with HTML banners until april 2024, it can be assumed, that the HTML banner feature is most likey unused.
As a result and due to security concerns, the feature has been disabled for non-admin users. If non-admin users are required to create HTML banners, the extension setting allowHtmlBannerForNonAdmins
must be enabled.
[BUGFIX] Output HTML banner content as is #264
Maintenance release
[TASK] Change TCA type to number #257 - thanks @ste101
[TASK] Use core language definitions #256 - thanks @ste101
[TASK] Use noopener sponsored rel attribute value for links #254 - thanks @ste101
[TASK] Exclude banner from google snippet #259 - thanks @ste101
[TASK] Remove unused keys in locallang_db.xlf
Bugfix release
Bugfix release
Bugfix release
TYPO3 12 compatibility
This is the first version of the extension with support for TYPO3 12. The whole codebase has been adapted to meet PHP 8.1 standards.
Only a few breaking changes had to be made to make the extension compatible. No database updates are required.
Breaking Changes 🔥
[!!!][TASK] Refactor JavaScript and remove jQuery dependency #236
Time to say good bye to jQuery. Instead, the JavaScript include of the extension has been refactored to use vanilla JS. When to the new extension version, make sure to use the new JavaScript file included (included by default, if you include the extensions TypoScript file).
[!!!][TASK] Use strict types in domain model
The extension now uses strict types in all domain models and the DTO. If you extended either a domain model or the DTO of the extension, make sure to adapt your code to meet the new type requirements.
[!!!][TASK] Rename TypoScript files to .typoscript #244
The TypoScript files have been renamed from setup.txt
-> setup.typoscript
and constants.txt
-> constants.typoscript
. When upgrading to the new version of the extension, make sure to fix TypoScript includes in your sitepackage.
[!!!][TASK] Move BannerDemand to Dto Namespace
The DTO of the extension has been moved from the namespace DERHANSEN\SfBanners\Domain\Model
toDERHANSEN\SfBanners\Domain\Model\Dto
. If you extended the DTO, make sure to use the new namespace.
[!!!][TASK] Initial v12 compatibility #242 - thanks @drblitzweblab
Bugfixes
[BUGFIX] Fix link generation in banner model
[BUGFIX] Use imageoverlayPalette for image again
[BUGFIX] Fixed fluid template for banner display
[BUGFIX] Always initialize domain model properties
[BUGFIX] PHP8 fix for maxResults in BannerController
Tasks
[TASK] Require TYPO3 12.3 minimum
[TASK] Remove superfluous tabs in TCA
[TASK] Use FQDN in tt_content.php TCA override
[TASK] Apply TCA migrations for v12 #248
[TASK] Update postscribe.js to 2.0.8
[TASK] Register cache in services.yaml
[TASK] Remove unused HtmlParser.js
[TASK] Use strict types in all tests
[TASK] Use strict types in BannerController
[TASK] Minor CGL fix
[TASK] Use strict types in BannerRepository
[TASK] Harden PageUtility
[TASK] Harden cache identifier
[TASK] Set version to 7.0.0-dev
[TASK] Remove ext_tables.php
[TASK] CGL fix in ext_tables.php
[TASK] CGL fixes
[TASK] Renamed unit and functional CI
[TASK] Added code quality checks
[TASK] Updated CI and composer.json
[TASK] Migrate xml test fixtures to csv
[TASK] Updated .gitignore
[TASK] Fix remaining non-string startingpoint in tests
[TASK] Pass constraints as array to condition matchers
[TASK] Always use startingPoint as string in tests
[TASK] Avoid objectManager usage in BannerRepository
Bugfix Release
[TASK] Apply TCA Migrations #240 - thanks @drblitz-weblab
[TASK] Use page UID from routing in showAction #241 - thanks @drblitz-weblab
Bugfix release
[BUG] Fix typo in category setting #231 @NitinParri
[TASK] Add plugin icons for content element preview #232