All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Nothing so far
- Fix bundle tooling and Q&A
- Forward merge of v6.2.1: Synonym admin value label
- Forward merge of v6.2.0: Reset PHP's memory peak usage in between reindexing of entities (PHP >= 8.2).
- Forward merge of v6.2.0: Duration time and byte size information in reindex command.
- Forward merge of v6.2.0: Added explicit max. memory of 50 Mb to the temp stream of the Solr update query, instead of relying on the (2 Mb) default.
- Forward merge of v6.2.0: Added PHP CS Fixer to lint the PHP code style.
- Forward merge of v6.2.0: Psalm level 4 to 3 to increase Psalm's type checking strictness.
- Forward merge of v6.2.0: Improved texts and text colors of reindex command output.
- Fixed the PHP code style with newer PHP CS Fixer version than being used in v6.
- Forward merge of v6.2.0: Fixed the PHP code style with Zicht Standards PHP first and then with the newly added PHP CS Fixer.
- Forward merge of v6.2.0: Fixed call to Doctrine's deprecated Lifecycle event
getEntity()
method. - Forward merge of v6.2.0: Fixed all type issues reported by Psalm after changing to level 3.
- Fixed type issues reported by Psalm here in release v7 with different dependencies.
- Forward merge of 4.3.1
- Logging queries in
ReindexCommand
with deprecated/removed EchoSQLLogger
- Support for Symfony 5
- Support for Sonata 4
- Support for Guzzle 7
- Support for Symfony 4
- Support for Sonata 3
- Synonym admin value label
- Reset PHP's memory peak usage in between reindexing of entities (PHP >= 8.2).
- Duration time and byte size information in reindex command.
- Added explicit max. memory of 50 Mb to the temp stream of the Solr update query, instead of relying on the (2 Mb) default.
- Added PHP CS Fixer to lint the PHP code style.
- Psalm level 4 to 3 to increase Psalm's type checking strictness.
- Improved texts and text colors of reindex command output.
- Fixed the PHP code style with Zicht Standards PHP first and then with the newly added PHP CS Fixer.
- Fixed call to Doctrine's deprecated Lifecycle event
getEntity()
method. - Fixed all type issues reported by Psalm after changing to level 3.
- Forward merge of 4.3.1
- Forward merge of v3.5.0: Added DeleteIndexableRelationsInterface to be able to delete related entities in solr
- Removed support for PHP 7.1, 7.2 and 7.3
- Removed support for Symfony 3.4
- Removed unused
z2.yml
andphpunit.xml.dist
files
- Added missing dependencies to composer.json of which this bundle is using classes of
- Changed use of deprecated Symfony FrameworkBundle Controller class into AbstractController class and inject the Solr Client into the constructor
- Pass root name to TreeBuilder constructor and call
getRootNode
instead of deprecated->root()
- Added autotagging of the
zicht_solr.mapper
tag for classes extending theEntityMapper
class. So no instanceof EntityMapper > tag zicht_solr.mapper like configuration is needed in the projects itself. - Added a first PHPUnit test for DataMapper (added PHPUnit 9.5 as dev requirement and added PSR-4 dev autoloading for tests)
- Added GitHub Actions to test Q&A on incoming pull requests
- Added Vimeo Psalm (level 4) and fixed all errors
- Overall cleanup of PHP docblocks and whitespace
- Forward merge of 4.3.1
- Forward merge of v3.5.0: Added DeleteIndexableRelationsInterface to be able to delete related entities in solr
- Changed use of deprecated Sonata Admin class into AbstractAdmin class
- Fixed usage of deprecated Twig template colon path and changed into modern path
- Fixed select command
- Changed use of deprecated
->setHelps()
to setting'help'
on the field itself for the Sonata Synonym admin
- Point Solr Manager FQCN service aliases to the
zicht_solr.manager
service after having determined which Manager to use
- Fixed use of old/deprecated Sensio Route and Doctrine Registry
- Misc changes in routes/status controller
- Added an override of generateObjectIdentity() to the EntityMapper to fix classnames when the entity is a Doctrine proxy
- Changed left overs of Guzzle 5 into Guzzle 6 in Synonym and Stopword code
- Added support for Psalm static analysis
- SearchFacade pager type (should be nullable)
Select::setSort
allows for bothstring
andarray
values.
SearchFacade::prepareFacetSet
internally uses already defined propertyfacetMinimumCount
to determine the minimal count of results for facets to be shown.
- Support for Symfony 4.x
- Support for Symfony 2.x
- Support for PHP 5.6 and 7.0
- Support for Sonata Admin Bundle v2
- Removed Zicht/Bundle/SolrBundle/ directory depth: moved all code up directly into src/
- Race-condition in update/delete with same indexable relations
- Forward merge of v3.5.0: Added DeleteIndexableRelationsInterface to be able to delete related entities in solr
- Switched from PSR-0 to PSR-4 autoloading (from v3.4.10)
- Allow solr-bundle to have either sonata major 2 or 3 (from v3.4.9)
- Fixes bug when receiving instances of a \DateTimeImmutable object (from v3.4.8).
- Changed use of Guzzle base_url config parameter into the official base_uri parameter
- Merged in v3.4.6: Catch NotFound exceptions when deleting Synonyms or stopwords and some minor cleanups
- Merged in v3.4.6: Fixed checks on retrieving highlighted field for Unified Highlighter (Solr >=6.4)
- Merged in v3.4.5: Ability to edit synonyms
- Improved reindex command info output
- Merged v3.4.4 into v4.x:
- Fixed: Displaying of synonyms in admin list
- Fixed: Cleaning up synonyms on persist
- Fixed: Add original word to sysnonyms to keep it in
- Synonym and stop words add commands (through merging in v3.4.3)
- Method on SearchFacade to try multiple fields for highlighting. (through merging in v3.4.2)
- Strip slash-r from synonym list (through merging in v3.4.3)
- Managed stop words and synonyms translation messages (through merging in v3.4.3)
- Solr bundle should require Sonata Admin now that it contains "admins" (through merging in v3.4.3)
- Cleaned up composer.json (through merging in v3.4.3)
- Ability to manage stopwords and synonyms from the CMS itself.
- Added Extract query (through merging in v3.2)
- Added Solr Entity Manager (through merging in v3.3)
- Reindex all enities when no entity class is passed to the reindex command
- Fix call to service
- Upgraded Guzzle from v5 to v6
- v4 is based on v3.1, so no Extract query support and no Entity Manager
- Added DeleteIndexableRelationsInterface to be able to delete related entities in solr
- Switched from PSR-0 to PSR-4 autoloading
- Allow solr-bundle to have either sonata major 2 or 3
- Fixes bug when receiving instances of a \DateTimeImmutable object.
- Catch NotFound exceptions when deleting Synonyms or stopwords
- Some minor cleanups
- Fixed checks on retrieving highlighted field for Unified Highlighter (Solr >=6.4)
- Ability to edit synonyms
- Displaying of synonyms in admin list
- Cleaning up synonyms on persist
- Add original word to sysnonyms to keep it in
- Synonym and stop words add commands
- Strip slash-r from synonym list
- Managed stop words and synonyms translation messages
- Solr bundle should require Sonata Admin now that it contains "admins"
- Cleaned up composer.json
- Method on SearchFacade to try multiple fields for highlighting.
- Symfony 2.x support of stopwords and synonyms management from the CMS itself (introduced in 3.4.0)
Ability to manage stopwords and synonyms from the CMS itself.
- Added Solr Entity Manager to better manage updates of entities and their related entities
- Added Extract Query, uses SOLR's capability to index Document Formats as PDF, DOC, etc.
- Added SolrDataCollector to show request send from debug toolbar
- Dependency on Solarium was removed
- New Client wrapper
- Mapping is now done using an array containing all fields in stead of a Solarium Document object. This means that the API of the
mapDocument()
was changed such that it now must return an array containing key/value pairs for all fields. The document as the second parameter was dropped. updateFieldValues()
in SolrManager was moved toClient
and renamed toupdate
- Several useful parameters were added to the
zicht:solr:select
zicht:solr:set
was renamed tozicht:solr:update
zicht:solr:purge
was renamed tozicht:solr:delete
. For backwards compatibility, thezicht:solr:purge
was kept as an alias forzicht:solr:delete
No changelog was kept in these versions