Skip to content

5.0.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@mkalkbrenner mkalkbrenner released this 08 Apr 10:59
· 496 commits to master since this release

[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 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!
  • Support for add-distinct and removeregex modifiers in Document::setFieldModifier
  • Zend2Http adapter caused duplicate request parameters