Skip to content

4.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@mkalkbrenner mkalkbrenner released this 26 Jan 09:25
· 638 commits to master since this release
b4cc6f9

[4.0.0-alpha.1]

Added

  • Terms component
  • Spellcheck component
  • Spellcheck query type
  • Added missing parameters to the Spellcheck query type and the component (compared to the 3.x Suggester)
  • Support for deep paging with a cursor
  • Symfony 4 support
  • Nightly builds / tests
  • Basic Integration tests running real Solr queries against Solr's techproducts example

Changed

  • Renamed folder library to src
  • Use PSR-4 class loading
  • Updated PHPUnit to v6.5
  • Updated required PHP version to >= v7.0
  • Isolated search components from the select query type and made them re-usable
  • BC break: Suggester component is now compatible to Solr v6/7 (the existing one was renamed to Spellcheck)
  • BC break: Suggester query type is now compatible to Solr v6/7 (the existing one was renamed to Spellcheck)
  • Lots of source code re-structuring and clean-up

Removed

  • Phar support
  • Exclude test suite from distribution
  • Dropped support for Solr versions before 6
  • Obsolete Autoloader.php
  • Deprecated Solarium\Core\Plugin\Plugin in favor of Solarium\Core\Plugin\AbstractPlugin
  • Deprecated Solarium\Core\Query\Query in favor of Solarium\Core\Query\AbstractQuery
  • Deprecated Solarium\Core\Query\RequestBuilder in favor of Solarium\Core\Query\AbstractRequestBuilder
  • Deprecated Solarium\Core\Query\ResponseParser in favor of Solarium\Core\Query\AbstractResponseParser
  • Deprecated Solarium\QueryType\Analysis\Query\Query in favor of Solarium\QueryType\Analysis\Query\AbstractQuery

Security

  • Prevented query injection inside range queries