Skip to content

Releases: TYPO3-Solr/ext-solr

Release 12.0.5

30 Jul 13:01
Compare
Choose a tag to compare

What's Changed

Full Changelog: 12.0.4...12.0.5

Release 12.0.4

25 Jul 10:15
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 12.0.3...12.0.4


How to Get Involved

There are many ways to get involved with Apache Solr for TYPO3:

  • Submit bug reports and feature requests on GitHub
  • Ask or help or answer questions in our Slack channel
  • Provide patches through pull requests or review and comment on existing pull requests
  • Go to www.typo3-solr.com or call dkd to sponsor the ongoing development of Apache Solr for TYPO3

Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/

or call:
+49 (0)69 - 2475218 0

Release 12.0.3

13 May 08:08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 12.0.2...12.0.3

Release 11.5.6

29 Feb 07:40
Compare
Choose a tag to compare

This is a maintenance release for TYPO3 11.5 LTS.

What's Changed

Apache Solr support

11.5.6 has been tested with Apache Solr 11.8.1, 11.8.2 and 11.8.3. All of this versions are supported, but it's recommended to use the latest version.

Caution: Apache Solr 8.11.3 contains a breaking change, see security fix "SOLR-14853: Make enableRemoteStreaming option global; not configSet". EXT:solr relies on stream bodies which aren't enabled by default since 8.11.3. EXT:solr 11.5.6 contains all required settings, but if you're updating and not using our Docker image, you have to set "solr.enableRemoteStreaming=true" and "solr.enableStreamBody=true". TYPO3 reports module will print a warning if you have to reconfigure.

List of all changes:

New Contributors

Full Changelog: 11.5.5...11.5.6

Release 12.0.2

26 Feb 15:41
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 12.0.1...12.0.2


How to Get Involved

There are many ways to get involved with Apache Solr for TYPO3:

  • Submit bug reports and feature requests on GitHub
  • Ask or help or answer questions in our Slack channel
  • Provide patches through pull requests or review and comment on existing pull requests
  • Go to www.typo3-solr.com or call dkd to sponsor the ongoing development of Apache Solr for TYPO3

Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/

or call:
+49 (0)69 - 2475218 0

Resolves: #3961

Release 11.5.5

17 Nov 08:00
Compare
Choose a tag to compare

This is a maintenance release for TYPO3 11.5 LTS.

Note: This release requires the database schema update, due of database schema change from pull-request #3880

What's Changed

New Contributors

Full Changelog: 11.5.4...11.5.5


How to Get Involved

There are many ways to get involved with Apache Solr for TYPO3:

  • Submit bug reports and feature requests on GitHub
  • Ask or help or answer questions in our Slack channel
  • Provide patches through pull requests or review and comment on existing pull requests
  • Go to www.typo3-solr.com or call dkd to sponsor the ongoing development of Apache Solr for TYPO3

Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/

or call:
+49 (0)69 - 2475218 0

Resolves: #3854

Release 12.0.1

16 Nov 17:22
Compare
Choose a tag to compare

This is a maintenance release for TYPO3 12.4 LTS.

Note: This release requires the database schema update, due of database schema change from pull-request #3881

What's Changed

New Contributors

Full Changelog: 12.0.0...12.0.1


How to Get Involved

There are many ways to get involved with Apache Solr for TYPO3:

  • Submit bug reports and feature requests on GitHub
  • Ask or help or answer questions in our Slack channel
  • Provide patches through pull requests or review and comment on existing pull requests
  • Go to www.typo3-solr.com or call dkd to sponsor the ongoing development of Apache Solr for TYPO3

Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/

or call:
+49 (0)69 - 2475218 0

Resolves: #3854

11.5.4

06 Nov 13:51
Compare
Choose a tag to compare

This is a maintenance release for TYPO3 11.5.

What's Changed

Full Changelog: 11.5.3...11.5.4


Contributors

Like always this release would not have been possible without the help from our
awesome community. Here are the contributors to this release.

(patches, comments, bug reports, reviews, ... in alphabetical order)

Also a big thank you to our partners who have concluded our Apache Solr EB for TYPO3 11 LTS (Maintenance) contribution:

  • .hausformat GmbH
  • AUSY
  • Ampack AG
  • Atol CD
  • Bundesanstalt Statistik Österreich
  • CARL von CHIARI GmbH
  • Columbus Interactive GmbH
  • FTI Touristik GmbH
  • Fachhochschule Erfurt
  • Fourdegrees GbR
  • HSPV NRW
  • Hochschule Furtwangen
  • INOTEC Sicherheitstechnik GmbH
  • Landeskriminalamt Thüringen
  • Leuchtfeuer Digital Marketing GmbH
  • Lingner Consulting New Media GmbH
  • NEW.EGO GmbH
  • Plan Software GmbH
  • ProPotsdam GmbH
  • RR Anwendungsentwicklung
  • Stadtverwaltung Villingen-Schwenningen
  • Talleux & Zöllner GbR
  • Verband der Vereine Creditreform e.V.
  • VisionConnect.de
  • WACON Internet GmbH
  • Webtech AG
  • abteilung_digital GmbH
  • brandung GmbH
  • chiliSCHARF GmbH
  • clickstorm GmbH
  • hiroki digital GmbH
  • medien.de mde GmbH
  • pietzpluswild GmbH
  • tirol.gv.at
  • unternehmen online GmbH Co. KG (UO)
  • visuellverstehen GmbH
  • webconsulting business services gmbh
  • wow! solution

How to Get Involved

There are many ways to get involved with Apache Solr for TYPO3:

  • Submit bug reports and feature requests on GitHub
  • Ask or help or answer questions in our Slack channel
  • Provide patches through pull requests or review and comment on
    existing pull requests
  • Go to www.typo3-solr.com or call dkd to sponsor the ongoing
    development of Apache Solr for TYPO3

Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/

or call:
+49 (0)69 - 2475218 0

Release 12.0.0

16 Oct 11:12
Compare
Choose a tag to compare

New in this release:

Huge improvements

TYPO3 12 LTS compatibility (12.4.3+)

With EXT:solr 12.0 we provide the support of TYPO3 12 LTS.

Please note that we require at least TYPO3 12.4.3, as this version contains some change concerning to Fluid.

!!! Upgrade to Apache Solr 9.3.0

This release requires Apache Solr v 9.3.0+.

Note: On third party installations enabling stream feature via the ENV vars or system properties is required.

Following variables must be set in solr.in.sh file or in Solr system props:

  • SOLR_ENABLE_REMOTE_STREAMING=true
  • SOLR_ENABLE_STREAM_BODY=true

For more information see:

Reworked Search Query Component System

The Search Component system, which is used to enrich the search query (e.g.
by faceting, boosting, debug analysis), has been completely reworked by
utilizing the PSR-14 event system.

At the same time the Search Query Modifiers have been merged into the
Query Component systems.

All built-in components are now reworked and utilize the
ApacheSolrForTypo3\Solr\Event\Search\AfterSearchQueryHasBeenPreparedEvent
PSR-14 event.

The interface ApacheSolrForTypo3\Solr\Domain\Search\SearchRequestAware has been removed.

The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['modifySearchQuery']
and the interfaces ApacheSolrForTypo3\Solr\Query\Modifier as well
as ApacheSolrForTypo3\Solr\Search\QueryAware and ApacheSolrForTypo3\Solr\Search\SearchAware
have been removed. The modifiers have been merged into Components.

Registration does not happen in ext_localconf.php anymore via ApacheSolrForTypo3\Solr\Search\SearchComponentManager
which has been removed, but now happens in :file:Configuration/Services.yaml
as documented in TYPO3 Core's PSR-14 Registration API.

Related hooks around this system have been moved to PSR-14 events as well:

  • $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['beforeSearch'] has
    been replaced by ApacheSolrForTypo3\Solr\Event\Search\AfterInitialSearchResultSetHasBeenCreatedEvent
  • $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['afterSearch'] has been
    been replaced by ApacheSolrForTypo3\Solr\Event\Search\AfterSearchHasBeenExecutedEvent

SignalSlots replaced by PSR-14 events

The previously available Extbase Signals have been removed from EXT:solr in favor of PSR-14 Events.

  • The signal ApacheSolrForTypo3\Solr\Domain\Index\IndexService::beforeIndexItems
    has been replaced by ApacheSolrForTypo3\Solr\Event\Indexing\BeforeItemsAreIndexedEvent
  • The signal ApacheSolrForTypo3\Solr\Domain\Index\IndexService::beforeIndexItem
    has been replaced by ApacheSolrForTypo3\Solr\Event\Indexing\BeforeItemIsIndexedEvent
  • The signal ApacheSolrForTypo3\Solr\Domain\Index\IndexService::afterIndexItem
    has been replaced by ApacheSolrForTypo3\Solr\Event\Indexing\AfterItemHasBeenIndexedEvent
  • The signal ApacheSolrForTypo3\Solr\Domain\Index\IndexService::afterIndexItems
    has been replaced by ApacheSolrForTypo3\Solr\Event\Indexing\AfterItemsHaveBeenIndexedEvent
  • The signal ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\Options\OptionFacetParser::optionsParsed
    has been replaced by ApacheSolrForTypo3\Solr\Event\Parser\AfterFacetIsParsedEvent
  • The signal ApacheSolrForTypo3\Solr\Controller\SearchController::resultsAction
    has been replaced by ApacheSolrForTypo3\Solr\Event\Search\BeforeSearchResultIsShownEvent
  • The signal ApacheSolrForTypo3\Solr\Controller\SearchController::formAction
    has been replaced by ApacheSolrForTypo3\Solr\Event\Search\BeforeSearchFormIsShownEvent
  • The signal ApacheSolrForTypo3\Solr\Controller\SearchController::frequentlySearchedAction
    has been replaced by ApacheSolrForTypo3\Solr\Event\Search\AfterFrequentlySearchHasBeenExecutedEvent
  • The signal ApacheSolrForTypo3\Solr\Controller\SearchController::beforeSearch
    has been removed (see the new PSR-14 events below)

Hooks replaced by PSR-14 events

The previously available hooks and their respective interfaces have been removed from EXT:solr.

The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['Indexer']['indexPageAddDocuments'] and its
interface ApacheSolrForTypo3\Solr\AdditionalPageIndexer are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\BeforePageDocumentIsProcessedForIndexingEvent.

The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['modifyVariantId'] and its
interface ApacheSolrForTypo3\Solr\Variants\IdModifier are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Variants\AfterVariantIdWasBuiltEvent.

The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['IndexQueueIndexer']['preAddModifyDocuments'] and its
interface ApacheSolrForTypo3\Solr\PageIndexerDocumentsModifier are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\BeforeDocumentIsProcessedForIndexingEvent.

The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['IndexQueueIndexer']['indexItemAddDocuments'] and its
interface ApacheSolrForTypo3\Solr\AdditionalIndexQueueItemIndexer are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\BeforeDocumentsAreIndexedEvent.

The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['Indexer']['indexPageSubstitutePageDocument'] and its
interface ApacheSolrForTypo3\Solr\SubstitutePageIndexer are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\AfterPageDocumentIsCreatedForIndexingEvent.

The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['postProcessIndexQueueInitialization'] and its
interface ApacheSolrForTypo3\Solr\IndexQueue\InitializationPostProcessor are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\IndexQueue\AfterIndexQueueHasBeenInitializedEvent

The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['postProcessFetchRecordsForIndexQueueItem'] is now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\IndexQueue\AfterRecordsForIndexQueueItemsHaveBeenRetrievedEvent

The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['IndexQueuePageIndexer']['dataUrlModifier']
and the according interface ApacheSolrForTypo3\Solr\IndexQueue\PageIndexerDataUrlModifier
is now superseded by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\AfterFrontendPageUriForIndexingHasBeenGeneratedEvent

The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['postProcessIndexQueueUpdateItem']
is now superseded by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\AfterIndexQueueItemHasBeenMarkedForReindexingEvent

PSR-14 events renamed

Previous PSR-14 events have been renamed to be consistent with other PSR-14 Events in EXT:solr.

  • ApacheSolrForTypo3\Solr\Event\Routing\PostProcessUriEvent is now named ApacheSolrForTypo3\Solr\Event\Routing\AfterUriIsProcessedEvent
  • ApacheSolrForTypo3\Solr\Event\Routing\BeforeProcessCachedVariablesEvent is now named ApacheSolrForTypo3\Solr\Event\Routing\BeforeCachedVariablesAreProcessedEvent
  • ApacheSolrForTypo3\Solr\Event\Routing\BeforeReplaceVariableInCachedUrlEvent is now named ApacheSolrForTypo3\Solr\Event\Routing\BeforeVariableInCachedUrlAreReplacedEvent

!!! Shortcut pages not indexed anymore

Currently there is no important reason to index the shortcut pages,
because the target pages are indexed as expected and the shortcuts are 307-redirected to their targets.
So contents can be found in search results as expected.

!!! Deprecated Node class removed

Former EXT:solr versions used an own node implementation for Solr endpoints, this implementation (\ApacheSolrForTypo3\Solr\System\Solr\Node) is now removed in favor of the Endpoint implementation of Solarium.

If you've used this class or the SolrConnection directly, you have to adapt your PHP code:

  • use \Solarium\Core\Client\Endpoint instead of \ApacheSolrForTypo3\Solr\System\Solr\Node
  • call \ApacheSolrForTypo3\Solr\System\Solr\SolrConnection->getEndpoint() instead of \ApacheSolrForTypo3\Solr\System\Solr\SolrConnection\getNode(),
    method will return Solarium Endpoint
  • Node could be converted to string to get the core base URI, getCoreBaseUri() can be used instead.

Note: With dropping the Node implementation we also dropped the backwards compatibility that allows to define the Solr path segment "/solr" within "solr_path_read" or "solr_path_write". Be sure your configuration doesn't contain this path segment!

!!! Changed visibility of ApacheSolrForTypo3\Solr\IndexQueue\FrontendHelper\PageIndexer methods

For testing purposes some methods of the PageIndexer were defined as public, these methods are now protected. The tests are adapted accordingly, so that there is no need to declare the methods as public.
If you have used one of this methods, you have to adapt your code. Affected methods:

  • setupConfiguration
  • index
  • indexPage

!!! Solr route enhancer disabled by default

EXT:solr offers the possibility to create speaking URLs for Solr facets, but as this feature requires additional configuration and costly processing this feature is now disabled by default.

If you've already used the route enhancer you must set option "enableRouteEnhancer":

$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['solr']['enableRouteEnhancer']

Frontend Helper Changes

The FrontendHelper logic revolving around PageIndexer has been reduced to
a minimum by only having two methods available:

  • ApacheSolrForTypo3\Solr\IndexQueue\FrontendHelper\FrontendHelper::activate() - used to register hooks and PSR-14 event listeners
  • `ApacheSolrForTypo3\Solr\IndexQueue\FrontendHelper\FrontendHelper::deactivate(PageIndexerResp...
Read more

Release 12.0.0-RC1

22 Sep 15:05
Compare
Choose a tag to compare
Release 12.0.0-RC1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: 12.0.0-beta-1...12.0.0-RC1


How to Get Involved

There are many ways to get involved with Apache Solr for TYPO3:

  • Submit bug reports and feature requests on GitHub
  • Ask or help or answer questions in our Slack channel
  • Provide patches through pull requests or review and comment on
    existing pull requests
  • Go to www.typo3-solr.com or call dkd to sponsor the ongoing
    development of Apache Solr for TYPO3

Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/

or call:
+49 (0)69 - 2475218 0