Skip to content

Releases: derhansen/sf_banners

TYPO3 13.4 compatibility

02 Nov 14:04
8ad9b8e
Compare
Choose a tag to compare

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 from BannerController
  • 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

21 Apr 16:48
37ab8be
Compare
Choose a tag to compare

[!!!][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

21 Apr 17:00
432f60d
Compare
Choose a tag to compare

[!!!][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

24 Mar 17:48
803aa43
Compare
Choose a tag to compare

[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

07 Dec 13:42
0c7182b
Compare
Choose a tag to compare

[BUGFIX] Remove superfluous TCA field "t3ver_label" #253
[BUGFIX] Fix language parameter for link generation in showAction #252

Bugfix release

07 Dec 14:05
4de14f8
Compare
Choose a tag to compare

[BUGFIX] Remove superfluous TCA field "t3ver_label" #253
[BUGFIX] Fix language parameter for link generation in #252

Bugfix release

27 Apr 05:54
b9a1471
Compare
Choose a tag to compare

[BUGFIX] Fix invertStateDisplay in TCA #249
[BUGFIX] Only execute JavaScript when banners available #250

TYPO3 12 compatibility

01 Apr 12:24
dc9c355
Compare
Choose a tag to compare

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

27 Feb 17:49
49edd11
Compare
Choose a tag to compare

[TASK] Apply TCA Migrations #240 - thanks @drblitz-weblab
[TASK] Use page UID from routing in showAction #241 - thanks @drblitz-weblab

Bugfix release

06 Jun 17:09
9a03a12
Compare
Choose a tag to compare

[BUG] Fix typo in category setting #231 @NitinParri
[TASK] Add plugin icons for content element preview #232