Releases: georgringer/news
12.2.0
Important changes
Changed behavior for TS settings.search.paginate.itemsPerPage
The TypoScript setting settings.search.paginate.itemsPerPage
has been disabled in the default TypoScript setup.
This makes it possible that the setting provied in the plugin configuration (FlexForms) is used.
However, this uses the default backup of settings.list.paginate.itemsPerPage
.
Deprecated hooks
The following hooks have been deprecated and will be removed with the next major version:
$GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['Domain/Repository/AbstractDemandedRepository.php']['findDemanded']
: use the event\GeorgRinger\News\Event\ModifyDemandRepositoryEvent
$GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['Controller/NewsController.php']['overrideSettings']
: use the event\GeorgRinger\News\Event\NewsControllerOverrideSettingsEvent
$GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['Controller/NewsController.php']['createDemandObjectFromSettings']
: use the event\GeorgRinger\News\Event\CreateDemandObjectFromSettingsEvent
$GLOBALS['TYPO3_CONF_VARS']['EXT']['news'][\GeorgRinger\News\Hooks\PluginPreviewRenderer::class]['extensionSummary']
: use the event\GeorgRinger\News\Event\PluginPreviewSummaryEvent
Calling any of the aforementioned hooks will trigger deprecation log entries.
Features
New events
Finally the last hooks of the extension are now available as event to follow the best practices of TYPO3 core.
The most used is $GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['Domain/Repository/AbstractDemandedRepository.php']['findDemanded']
which is used to modify the query to fetch the news records. This is now available as \GeorgRinger\News\Event\ModifyDemandRepositoryEvent
.
See above for a full list of available events.
Support of PHP 8.4
PHP 8.4 is now officially supported.
What's Changed
- [DOCS] Use page argument in routePath by @simonschaufi in #2564
- [TASK] Simplify TCA by @georgringer in #2566
- [TASK] Improve code by @simonschaufi in #2557
- [BUGFIX] Fix extensionlaoded VH #2572 by @georgringer in #2573
- [BUGFIX] fix proxy cache update required check in ClassCacheManager::… by @bahammes in #2570
- [BUGFIX] Fix links to TSconfig by @linawolf in #2574
- [TASK] Trigger errors for old hook usages by @georgringer in #2575
- [TASK] Support PHP 8.4 by @georgringer in #2576
- Update Bug Template to contain current vesions by @linawolf in #2578
- [TASK] Apply SimplifyCheckboxItemsTCARector by @simonschaufi in #2583
- [TASK] Import fully qualified class names by @simonschaufi in #2582
- [TASK] Apply ExtbaseActionsWithRedirectMustReturnResponseInterfaceRector by @simonschaufi in #2581
- [BUGFIX] Replace indexed array keys for items by label and value tags by @wtfred in #2584
- [TASK] Apply AddErrorCodeToExceptionRector by @simonschaufi in #2585
- [TASK] Use iconIdentifier in module registration by @wtfred in #2586
New Contributors
Full Changelog: 12.1.0...12.2.0
12.1.0
Features
Provide additional information to result of Live Search
The result of the live search now contains additional information from the fields:
- Date
- Teaser
- Author
- Slug
This makes it easier to find the correct record.
Improved suggest wizards in FlexForms
The suggest wizards in FlexForms now skip pages that are not reachable.
The selection of a page for the detail view ignores doktypes like sysfolder.
This makes the life of editors easier - especially on bigger instances.
Tagged Data Processors
The usage of the data processors has been simplified by using their tags.
# old
10 = GeorgRinger\News\DataProcessing\AddNewsToMenuProcessor
20 = GeorgRinger\News\DataProcessing\DisableLanguageMenuProcessor
new
10 = add-news-to-menu
20 = disable-language-menu
Site Set Support
The extension now supports site sets as drop in replacements for TypoScript includes.
TYPO3 13 only
Flag topnews records in backend list
If a record is marked as topnews, it is now highlighted in the backend list
with a small blue border on the left side.
TYPO3 13 only
Add StatusInformation to pages with news
If a page contains a news plugin, a small icon is shown in the page tree to indicate this.
This feature is TYPO3 13 only and can be disabled in the global extension settings.
What's Changed
- [BUGFIX] Make the backend admin work #2534 by @georgringer in #2535
- [FEATURE] Add site sets as drop in replacements for TypoScript includes by @linawolf in #2536
- [TASK] Add relationship
manyToOne
for group fields with maxitems 1 by @nhovratov in #2540 - Dev by @georgringer in #2543
- Not setting limitToPages led to failing error handling by @createdwithlove in #2491
- [BUGFIX] Handle deprecated cache tag management by @georgringer in #2544
- [TASK] Fix query for sqlite by @georgringer in #2548
- [FEATURE] Tag and alias for data processors by @ErHaWeb in #2554
- [DOC] ProxyClassGenerator - exclude class from dependency injection by @stigfaerch in #2556
- [BUGFIX] Use language aspect in NewsRepository by @linawolf in #2559
- [DOC] Update internal link by @georgringer in #2562
Full Changelog: 12.0.0...12.1.0
11.4.3
Full Changelog: 11.4.2...11.4.3
12.0.0
This is the 1st release supporting TYPO 13 & 12. Support of TYPO3 11 has been dropped!
What's Changed
- [DOCU] Add misc section for RSS feed by @sfroemkenjw in #2090
- [TASK] Streamline
12-13
branch handling by @sbuerk in #2481 - [TASK] Streamline Build/Scripts/runTests.sh by @sbuerk in #2480
- [DOCS] Fix contents menu and other warnings by @linawolf in #2482
- [TASK] Avoid implicitly nullable class method parameter by @sbuerk in #2500
- [TASK] Avoid implicitly nullable class method parameter by @sbuerk in #2499
- [DOCS] Fix duplicate attribute "type" in section "Improved routing" by @FelHell in #2502
- Prevent queries if pagination is deactivated by @sfroemkenjw in #2493
- [Docs] Remove TYPO3 9 from infobox by @linawolf in #2511
- [DOCS] Correct route names by @linawolf in #2122
- [BUGFIX] Always render og:image if news has at least one image by @peterkraume in #2510
- [BUGFIX] Fix failing runTests by @linawolf in #2520
- [BUGFIX] ogImage condition - don't render media of null by @80Quattro in #2517
- [TASK] Remove outdated TypoScript files with .txt ending by @linawolf in #2518
- [TASK] Remove reference to AltPageTitleProvider from config by @chesio in #2515
- 12 13 by @georgringer in #2525
- Update Index.rst by @mtness in #2532
New Contributors
- @80Quattro made their first contribution in #2517
- @chesio made their first contribution in #2515
Full Changelog: 11.4.2...12.0.0
11.4.2
What's Changed
- [DOCS] Switch documentation rendering to PHP-based rendering by @linawolf in #2356
- Slash missing by @ste101 in #1990
- [BUGFIX] Make inherited method visibility same as parent by @saschanowak in #2365
- [DOCS] Format documentation and fix a few bugs by @simonschaufi in #2360
- [BUGFIX] Resolve rendering warnings by @linawolf in #2461
- [BUGFIX] Use eval as source for eval by @schliesser in #2412
- [DOCS] Switch to using the new cards directive by @linawolf in #2464
- [DOCS] Modernize outdated conditions still using globalVar by @ErHaWeb in #2469
- [BUGFIX] Reduce the number of possible combinations of categorys by @vertexvaar in #2378
- [BUGFIX] Return correct response in handleNoNewsFoundError by @georgringer in #2470
- Docs mention wrong linkHandler by @createdwithlove in #2473
- Fix typo in docs Index.rst by @tgaertner in #2471
- [BUGFIX] 5th argument BU::wrapClickMenuOnIcon() must be an array by @christophlehmann in #2477
New Contributors
- @saschanowak made their first contribution in #2365
- @schliesser made their first contribution in #2412
- @createdwithlove made their first contribution in #2473
- @tgaertner made their first contribution in #2471
Full Changelog: 11.4.1...11.4.2
11.4.1
Full Changelog: 11.4.0...11.4.1
11.4.0
What's Changed
- [BUGFIX] Ensure command compat with Symfony >= 7.x by @andreaskienast in #2313
- [BUGFIX] Use the PHP version from the CI matrix for the CGL checks by @oliverklee in #2320
- [BUGFIX] Migrate usages of the PDO param type constants by @oliverklee in #2318
- [BUGFIX] Bump the development dependencies by @oliverklee in #2322
- [TASK] Drop obsolete Composer conflicts by @oliverklee in #2317
- [FEATURE] Add support for PHP 8.3 by @oliverklee in #2316
- Set correct variable type of
$importId
in method signatures by @koehnlein in #2330 - [BUGFIX] Raise the minimum 12LTS version by @oliverklee in #2329
- [TASK] Properly define dependencies on system extensions by @oliverklee in #2328
- [DOC] Resolve documentation warnings by @linawolf in #2309
- [TASK] Streamline the PHPUnit configuration files by @oliverklee in #2327
- [BUGFIX] Uncaught TYPO3 Exception: #1476045117 by @bugskarl in #2336
- Apply fixes from StyleCI by @georgringer in #2335
- Categories tree select is to small by @ste101 in #2311
- [DOCS] Add start anchor to the index page by @linawolf in #2301
- [BUGFIX] Make
symfony/console
an explicit dependency by @oliverklee in #2315 - [DOCS] Add RenderMedia ViewHelper to docs by @kanow in #2343
- [TASK] Prevent generation of
composer.lock
by @oliverklee in #2348
New Contributors
- @koehnlein made their first contribution in #2330
- @bugskarl made their first contribution in #2336
- @ste101 made their first contribution in #2311
Full Changelog: 11.3.0...11.4.0
11.3.0
What's Changed
- [TASK] Remove redundant ORDER BY clause in default_sortby by @nhovratov in #2189
- Remove weird characters by @kitzberger in #2193
- [BUGFIX] Overwrite via tx_news_pi1[overwriteDemand][categories][] broken by @kitzberger in #2194
- [BUGFIX] Use FlexFormTools to clean up flexforms in plugin updater by @eliashaeussler in #2173
- [BUGFIX] Allow orderDirection again for DateMenu plugin by @liayn in #2196
- [BUGFIX] Ensure correct context for ext:form flexform hook by @liayn in #2197
- [DOCS] Clarify target core version for FlexForm syntax by @liayn in #2198
- [BUGFIX] Ensure only valid plugins are migrated in UpgradeWizard by @IchHabRecht in #2200
- [BUGFIX] Correctly create LanguageService in UpgradeWizard by @IchHabRecht in #2199
- [BUGFIX] Add setter function by @nlehmkuhl in #2205
- [TASK] Add index for parent relation in link table by @christophlehmann in #2207
- [BUGFIX] Make a flaky test not timing-sensitive anymore by @oliverklee in #2211
- [CLEANUP] Autoformat the code with the latest PHP-CS-Fixer version by @oliverklee in #2209
- [TASK] Bump the development dependencies by @oliverklee in #2210
- [TASK] Only allow LTS core versions by @oliverklee in #2215
- [DOC] Fix flexform example by @wtfred in #2219
- [Test] Remove duplicated entry in test data set by @KrohnMi in #2223
- [TASK] Set correct return type by @KrohnMi in #2222
- Update Index.rst / change use classes by @wrock in #2229
- [BUGFIX] Fix CGL by @georgringer in #2232
- [BUGFIX] Avoid nested content element get rendered twice by @dkoether in #2202
- [CLEANUP] Add missing parameter signatures by @kitzberger in #2237
- [BUGFIX] Fix AddNewsToMenuProcessor for 12 by @georgringer in #2242
- [DOC] Check request object in conditions #2251 by @cundd in #2252
- [TASK] Make MariaDB the default for functional tests in
runTests.sh
by @oliverklee in #2248 - [DOCS] Add tip for pagination routing by @kanow in #2256
- [TASK] Add generic types by @KrohnMi in #2262
- [DOCS] add a quick start section to the routing chapter by @linawolf in #2260
- [TASK] Rename plugin names (and descriptions) by @kitzberger in #2258
- [FEATURE] Allow configuring RSS fields in the constant editor by @KrohnMi in #2261
- [DOCS] Update link to TYPO3 core LinkHandler feature changelog by @josefglatz in #2267
- [FEATURE] Allow to set a ttl for the rss feed by @KrohnMi in #2271
- [BUGFIX] Make sure all model classes are extensible (#2272) by @kitzberger in #2274
- [DOCS] Make file and position for Linkhandler more clear by @linawolf in #2277
- [TASK] Update locallang_db.xlf by @georgringer in #2285
New Contributors
- @nlehmkuhl made their first contribution in #2205
- @wrock made their first contribution in #2229
- @cundd made their first contribution in #2252
- @kanow made their first contribution in #2256
Full Changelog: 11.2.0...11.3.0
11.2.0
What's Changed
- [DOCS] Load different partial in Template selector example by @stefan0xC in #2147
- [BUGFIX] Remove non-existent FlexformHook from Services.php by @liayn in #2145
- Update docs about 404 redirects by @derhansen in #2144
- [TASK] Remove addQueryStringMethod usage in templates by @derhansen in #2160
- [DOCS] How to create a Route Enhancer for the news sitemap by @linawolf in #2119
- [Task] Improved ObjectStorage return type with generic type parameter by @KrohnMi in #2096
- Apply fixes from StyleCI by @georgringer in #2164
- [BUGFIX] Avoid undefined array key findCategoriesByImportSource by @codegm in #2166
- [FEATURE] Deprecate Legacy sitemap and provide new solution by @linawolf in #2118
- [TASK] Add support for TYPO3 v12 ES6 modules by @bnf in #2168
- [BUGFIX] Protect sitemap against missing category record by @rupasix in #2095
- [TASK] Remove not needed TCA config internal_type by @codegm in #2169
- [BUGFIX] fix undefined array key warning by @DaRealFreak in #2170
- [TASK] Fix links and code examples in contribution guidelines by @eliashaeussler in #2174
- [BUGFIX] Fix undefined array key "single" in NewsRepository by @nhovratov in #2181
New Contributors
- @stefan0xC made their first contribution in #2147
- @KrohnMi made their first contribution in #2096
- @rupasix made their first contribution in #2095
- @eliashaeussler made their first contribution in #2174
- @nhovratov made their first contribution in #2181
Full Changelog: 11.1.2...11.2.0
11.1.2
What's Changed
- [Bugfix] Allow media files for news again by @websi in #2133
- [BUGFIX] RSS example: News Plugins now use the "Generic" template by @ghermens in #2137
- [TASK] Hide again content elements in list module by @georgringer in #2140
New Contributors
Full Changelog: 11.1.1...11.1.2