Commit b4cc6f93 authored by Markus Kalkbrenner's avatar Markus Kalkbrenner Committed by GitHub

remove deprecated classes for 4.0.0 (#568)

* remove obsolete Autoloader implementation

* marked range query injection prevention as security fix

* added all integration tests to group "integration"

* removed deprecated classes. fixes #564

* remove hhvm tests on travis, use Solr 7.2.1
parent 295bc4e0
...@@ -6,15 +6,13 @@ php: ...@@ -6,15 +6,13 @@ php:
- 7.2 - 7.2
- 7.1 - 7.1
- 7.0 - 7.0
# hhvm removed as it is not fully compatible with php7
# - hhvm
- nightly - nightly
env: env:
- SYMFONY_VERSION=2.8.* SOLR_VERSION=6.6.2 - SYMFONY_VERSION=2.8.* SOLR_VERSION=6.6.2
- SYMFONY_VERSION=3.0.* SOLR_VERSION=6.6.2 - SYMFONY_VERSION=3.0.* SOLR_VERSION=6.6.2
- SYMFONY_VERSION=4.0.* SOLR_VERSION=6.6.2 - SYMFONY_VERSION=4.0.* SOLR_VERSION=6.6.2
- SYMFONY_VERSION=4.0.* SOLR_VERSION=7.2.0 - SYMFONY_VERSION=4.0.* SOLR_VERSION=7.2.1
cache: cache:
directories: directories:
...@@ -41,11 +39,7 @@ matrix: ...@@ -41,11 +39,7 @@ matrix:
- php: 7.0 - php: 7.0
env: SYMFONY_VERSION=4.0.* SOLR_VERSION=6.6.2 env: SYMFONY_VERSION=4.0.* SOLR_VERSION=6.6.2
- php: 7.0 - php: 7.0
env: SYMFONY_VERSION=4.0.* SOLR_VERSION=7.2.0 env: SYMFONY_VERSION=4.0.* SOLR_VERSION=7.2.1
- php: hhvm
env: SYMFONY_VERSION=4.0.* SOLR_VERSION=6.6.2
- php: hhvm
env: SYMFONY_VERSION=4.0.* SOLR_VERSION=7.2.0
allow_failures: allow_failures:
- php: nightly - php: nightly
......
...@@ -29,6 +29,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ...@@ -29,6 +29,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Phar support - Phar support
- Exclude test suite from distribution - Exclude test suite from distribution
- Dropped support for Solr versions before 6 - 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
### Security ### Security
- Prevented query injection inside range queries - Prevented query injection inside range queries
......
<?php
namespace Solarium\Core\Plugin;
/**
* This class is for backwards compatibility, will be removed in 4.x releases in favor of AbstractPlugin.
*
* @deprecated
*/
abstract class Plugin extends AbstractPlugin
{
}
<?php
namespace Solarium\Core\Query;
/**
* This class is for backwards compatibility, will be removed in 4.x releases in favor of AbstractQuery.
*
* @deprecated
*/
abstract class Query extends AbstractQuery
{
}
<?php
namespace Solarium\Core\Query;
/**
* This class is for backwards compatibility, will be removed in 4.x releases in favor of AbstractRequestBuilder.
*
* @deprecated
*/
abstract class RequestBuilder extends AbstractRequestBuilder
{
}
<?php
namespace Solarium\Core\Query;
/**
* This class is for backwards compatibility, will be removed in 4.x releases in favor of AbstractResponseParser.
*
* @deprecated
*/
abstract class ResponseParser extends AbstractResponseParser
{
}
<?php
namespace Solarium\QueryType\Analysis\Query;
/**
* This class is for backwards compatibility, will be removed in 4.x releases in favor of AbstractQuery.
*
* @deprecated
*/
abstract class Query extends AbstractQuery
{
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment