Releases: solariumphp/solarium
5.1.0-rc.1
[5.1.0-rc.1]
Added
- Solarium\Core\Query\Helper::formatDate() now handles DateTimeImmutable
Changed
- Try to capture complete response body as error message when using guzzle instead of using guzzle's truncated message
- Adapted to Symfony >=4.3 event dispatching, backward compatible to >=3.4, <=4.2
Fixed
- Complex ReRank queries should not cause Solr parse errors
- Update request builders format \DateTimeImmutable correctly
- Symfony >=4.3 event dispatcher deprecation warnings
Removed
- Symfony <3.4 support
5.0.3
[5.0.3]
Fixed
- Solarium\QueryType\MoreLikeThis\Query::setBoost()
Changed
- Solarium\Core\Query\AbstractQuery::setTimeZone() now accepts \DateTimeZone objects as parameter
5.0.2
[5.0.2]
Fixed
- Spellchecker result isn't NULL in case of no suggestions and correctly spelled
- RangeFacet Result
- Solarium\QueryType\Select\Result and Component return types
- Solarium\Component\Highlighting::setFields() should accept comma separated string, too
- Solarium\Component\Result\Grouping\ValueGroup various return types
- Solarium\Component\RequestBuilder\RequestParamsTrait::addParam should not add empty arrays
- MinimumScoreFilterPlugin
- Running the examples
Added
- Solarium\Component\MoreLikeThis::setInterestingTerms()
- Solarium\Component\MoreLikeThis::setMatchInclude()
- Solarium\Component\MoreLikeThis::setMatchOffset()
5.0.1
[5.0.1]
Fixed
- Getting started documentation
Pitfall when upgrading from 4.x.x
In the past, the V1 API endpoint solr was not added automatically, so most users set it as path on the endpoint. This bug was discovered with the addition of V2 API support. In almost every setup, the path has to be set to / instead of /solr with this release!
For the same reason it is a must to explicit configure the core or collection. So an old setting like
'path' => '/solr/xxxx/'
has to be changed to
'path' => '/',
'collection' => 'xxxx',
5.0.0
[5.0.0]
Added
- Component\Result\Facet\Bucket::getFacetSet()
Pitfall when upgrading from 4.x.x
In the past, the V1 API endpoint solr was not added automatically, so most users set it as path on the endpoint. This bug was discovered with the addition of V2 API support. In almost every setup, the path has to be set to / instead of /solr with this release!
For the same reason it is a must to explicit configure the core or collection. So an old setting like
'path' => '/solr/xxxx/'
has to be changed to
'path' => '/',
'collection' => 'xxxx',
5.0.0-rc.1
[5.0.0-rc.1]
Added
- Spellcheck\Suggestion::getOriginalTerm()
- QueryType\Stream\ExpressionBuilder
Changed
- Usage of composer and autoloader in examples.
Fixed
- Query::setFields() should accept comma separated string, too.
- Readthedocs theme
Deprecated
- QueryType\Stream\Expression is deprecated. Use QueryType\Stream\ExpressionBuilder instead.
5.0.0-beta.1
[5.0.0-beta.1]
Added
- Support multiple spellcheck dictionaries
Fixed
- Helper::rangeQuery() must not escape point values. Added a new parameter to turn off escaping.
5.0.0-alpha.2
[5.0.0-alpha.2]
Added
- introduced FacetResultInterface
Fixed
- TypeError: Return value of Solarium\Component\Result\FacetSet::getFacet()
5.0.0-alpha.1
[5.0.0-alpha.1]
Added
- Solr 8 support
- Basic V2 API support
- Endpoint::getV2BaseUri
- Basic support for collection API
- Parameter 'distrib' for queries
Changed
- Updated dev and test environments to newer package versions, for example PHPUnit 8.0
- Use PHP 7.1 style argument and return type declarations
- PHP 7.1 or higher required
- Refactored the two variants of DocumentInterface to become one to reduce confusion
- AdapterHelper functions are static
- Deprecation of Endpoint::getBaseUri is revoked! It transparently forwards to getCollectionBaseUri or getCoreBaseUri now
- Endpoint::getBaseUri, ::getBaseCoreUri and ::getBaseCollectionUri throw UnexpectedValueException if no core or collection has been set
Removed
- Symfony 2.x support
- Zend 1.x support
- PECL::Http adapter
- PHP 7.0 support
- Solr 1.4 result parser
Fixed
- Status codes of the HTTPAdapter
- In the past, the V1 API endpoint
solrwas not added automatically, so most users set it as path on the endpoint. This bug was discovered with the addition of V2 API support. In almost every setup, the path has to be set to/instead of/solrwith this release! - Support for add-distinct and removeregex modifiers in Document::setFieldModifier
- Zend2Http adapter caused duplicate request parameters
4.3.0-alpha.2
[4.3.0-alpha.2]
Added
- Basic V2 API support
- Endpoint::getV2BaseUri
Changed
- AdapterHelper functions are static
Fixed
- In the past, the V1 API endpoint
solrwas not added automatically, so most users set it as path on the endpoint. This bug was discovered with the addition of V2 API support. In almost every setup, the path has to be set to/instead of/solrwith this release!