omines / datatables-bundle

DataTables bundle for Symfony
https://omines.github.io/datatables-bundle/
MIT License
252 stars 113 forks source link

Update dependency ruflin/elastica to v7 - autoclosed #171

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
ruflin/elastica (source) require-dev major ^6.0 -> ^7.0

Release Notes

ruflin/Elastica ### [`v7.1.1`](https://togithub.com/ruflin/Elastica/blob/master/CHANGELOG.md#​711-httpsgithubcomruflinElasticacompare710711) [Compare Source](https://togithub.com/ruflin/Elastica/compare/7.1.0...7.1.1) ##### Backward Compatibility Breaks - Changed `Elastica\Query\MatchQuery::setFieldParam()` signature to allow passing bool, float or int [#​1941](https://togithub.com/ruflin/Elastica/pull/1941) - Changed `Elastica\Query\MatchPhraseQuery::setFieldParam()` signature to allow passing bool, float or int [#​1944](https://togithub.com/ruflin/Elastica/pull/1944) ##### Added - Excluded `docker` directory in `.gitattributes` [#​1938](https://togithub.com/ruflin/Elastica/pull/1938) ##### Changed - Included `Content-Type` HTTP header every time, whatever the content of the body is [#​1780](https://togithub.com/ruflin/Elastica/pull/1780) - Changed `Elastica\Status::indexExists()`, `Elastica\Status::aliasExists()` and `Elastica\Status::getIndicesWithAlias()` signatures [#​1929](https://togithub.com/ruflin/Elastica/pull/1929) - Replaced `call_user_func()` and `call_user_func_array()` by direct calls [#​1923](https://togithub.com/ruflin/Elastica/pull/1923) - Replaced legacy constant `CURLINFO_HTTP_CODE` by `CURLINFO_RESPONSE_CODE` [#​1931](https://togithub.com/ruflin/Elastica/pull/1931) - Updated `php-cs-fixer` to `2.18.3` [#​1915](https://togithub.com/ruflin/Elastica/pull/1915) - Updated `composer-normalize` to `2.13.3` [#​1927](https://togithub.com/ruflin/Elastica/pull/1927) ##### Deprecated - Deprecated `Elastica\Transport\HttpAdapter` class [#​1940](https://togithub.com/ruflin/Elastica/pull/1940) - Deprecated `Elastica\Exception\JSONParseException` exception, catch `\JsonException` instead [#​1949](https://togithub.com/ruflin/Elastica/pull/1949) ##### Fixed - Fixed wrong `ltrim` usage in guzzle transport [#​1783](https://togithub.com/ruflin/Elastica/pull/1783) - Fixed `_seq_no` and `_primary_term` wrong initialization [#​1920](https://togithub.com/ruflin/Elastica/pull/1920) - Fixed `Elastica\Connection\StrategyInterface` instance checks [#​1921](https://togithub.com/ruflin/Elastica/pull/1921) - Fixed various PHPDoc annotations [#​1922](https://togithub.com/ruflin/Elastica/pull/1922) - Fixed numeric index names are returned as `int` in `Elastica\Status::getIndexNames()` [#​1928](https://togithub.com/ruflin/Elastica/pull/1928) - Fixed using raw array in `post_filter` [#​1950](https://togithub.com/ruflin/Elastica/pull/1950) ### [`v7.1.0`](https://togithub.com/ruflin/Elastica/blob/master/CHANGELOG.md#​710-httpsgithubcomruflinElasticacompare700710) [Compare Source](https://togithub.com/ruflin/Elastica/compare/7.0.0...7.1.0) ##### Backward Compatibility Breaks - Added a default value to `Elastica\Aggregation\Range::setKeyed()` and `Elastica\Aggregation\PercentilesBucket::setKeyed()` [#​1876](https://togithub.com/ruflin/Elastica/pull/1876) - Removed type-hint to `Elastica\Aggregation\Percentiles::setMissing()` argument [#​1875](https://togithub.com/ruflin/Elastica/pull/1875) - Allowed the Terms query to accept an array of bool, float, int and/or string [#​1872](https://togithub.com/ruflin/Elastica/pull/1872) ##### Added - Added `auth_type` parameter in the client class config to specify the type of authentication (allowed values are `basic, digest, gssnegotiate, ntlm`) [#​1790](https://togithub.com/ruflin/Elastica/pull/1790) - Added `if_seq_no` / `if_primary_term` to replace `version` for [optimistic concurrency control](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/optimistic-concurrency-control.html) [#​1803](https://togithub.com/ruflin/Elastica/pull/1803) - Added `Elastica\Aggregation\PercentilesBucket` aggregation [#​1806](https://togithub.com/ruflin/Elastica/pull/1806) - Added `weighted_avg` to aggregations DSL [#​1814](https://togithub.com/ruflin/Elastica/pull/1814) - Added support for defining a connection pool with DSN. Example: `pool(http://127.0.0.1 http://127.0.0.2/bar?timeout=4)` [#​1808](https://togithub.com/ruflin/Elastica/pull/1808) - Added `Elastica\Aggregation\Composite` aggregation [#​1804](https://togithub.com/ruflin/Elastica/pull/1804) - Added `symfony/deprecation-contracts` package to handle deprecations [#​1823](https://togithub.com/ruflin/Elastica/pull/1823) - Added `list_syntax` CS rule [#​1854](https://togithub.com/ruflin/Elastica/pull/1854) - Added `native_constant_invocation` CS rule [#​1833](https://togithub.com/ruflin/Elastica/pull/1833) - Added `static_lambda` CS rule [#​1870](https://togithub.com/ruflin/Elastica/pull/1870) - Added `Elastica\Aggregation\DateRange::setTimezone()` [#​1847](https://togithub.com/ruflin/Elastica/pull/1847) - Added endpoint options support to `Elastica\Index::create()` [#​1859](https://togithub.com/ruflin/Elastica/pull/1859) - Added `Elastica\Aggregation\DateHistogram::setKeyed()` [#​1876](https://togithub.com/ruflin/Elastica/pull/1876) - Added `Elastica\Aggregation\GeoDistance::setKeyed()` [#​1876](https://togithub.com/ruflin/Elastica/pull/1876) - Added `Elastica\Aggregation\Histogram::setKeyed()` [#​1876](https://togithub.com/ruflin/Elastica/pull/1876) - Added `Elastica\Aggregation\IpRange::setKeyed()` [#​1876](https://togithub.com/ruflin/Elastica/pull/1876) - Added `Elastica\Aggregation\GeotileGridAggregation` [#​1880](https://togithub.com/ruflin/Elastica/pull/1880) - Added `Elastica\Aggregation\Avg::setMissing()`, `Elastica\Aggregation\Cardinality::setMissing()`, `Elastica\Aggregation\DateRange::setMissing()`, `Elastica\Aggregation\DateHistogram::setMissing()`, `Elastica\Aggregation\ExtendedStats::setMissing()`, `Elastica\Aggregation\Histogram::setMissing()`, `Elastica\Aggregation\Max::setMissing()`, `Elastica\Aggregation\Min::setMissing()`, `Elastica\Aggregation\Stats::setMissing()`, `Elastica\Aggregation\Sum::setMissing()`, `Elastica\Aggregation\Terms::setMissing()` [#​1876](https://togithub.com/ruflin/Elastica/pull/1876) - Supported `guzzlehttp/guzzle` 7.x [#​1816](https://togithub.com/ruflin/Elastica/pull/1816) - Supported PHP 8.0 [#​1794](https://togithub.com/ruflin/Elastica/pull/1794) - Supported BC break on `elasticsearch/elasticsearch` version `7.4.0` [#​1864](https://togithub.com/ruflin/Elastica/pull/1864) ##### Changed - Allowed `string` such as `wait_for` to be passed to `AbstractUpdateAction::setRefresh` [#​1791](https://togithub.com/ruflin/Elastica/pull/1791) - Allowed float values for connection timeout and connection connect-timeout, providing ms precision for those. Previous precision was second. [#​1868](https://togithub.com/ruflin/Elastica/pull/1868) - Changed the return type of `AbstractUpdateAction::getRefresh` to `boolean|string` [#​1791](https://togithub.com/ruflin/Elastica/pull/1791) - Reviewed options handling in `Elastica\Index::create()` [#​1822](https://togithub.com/ruflin/Elastica/pull/1822) - Replaced deprecated `exceptions` request option by `http_errors` request option in Guzzle transport [#​1817](https://togithub.com/ruflin/Elastica/pull/1817) - Run coding styles check on github action [#​1878](https://togithub.com/ruflin/Elastica/pull/1878) - Run unit tests on github action [#​1882](https://togithub.com/ruflin/Elastica/pull/1882) - Run functional tests on github action [#​1885](https://togithub.com/ruflin/Elastica/pull/1885) - Updated `php-cs-fixer` to `2.16.4` [#​1830](https://togithub.com/ruflin/Elastica/pull/1830) - Updated `php-cs-fixer` to `2.16.7` [#​1881](https://togithub.com/ruflin/Elastica/pull/1881) - Updated `php-cs-fixer` to `2.17.3` [#​1895](https://togithub.com/ruflin/Elastica/pull/1895) - Updated `php-cs-fixer` to `2.18.2` [#​1897](https://togithub.com/ruflin/Elastica/pull/1897) - Used `GuzzleHttp\RequestOptions` constants for configuring request options [#​1820](https://togithub.com/ruflin/Elastica/pull/1820) - Used new alias endpoints classes [#​1839](https://togithub.com/ruflin/Elastica/pull/1839) - Used new cache endpoints classes [#​1840](https://togithub.com/ruflin/Elastica/pull/1840) - Used new ingest pipeline endpoints classes [#​1834](https://togithub.com/ruflin/Elastica/pull/1834) - Used new mapping endpoints classes [#​1845](https://togithub.com/ruflin/Elastica/pull/1845) - Used new nodes endpoints classes [#​1863](https://togithub.com/ruflin/Elastica/pull/1863) - Used new settings endpoints classes [#​1852](https://togithub.com/ruflin/Elastica/pull/1852) ##### Deprecated - Deprecated `Elastica\Aggregation\Range::setKeyedResponse()`, use `setKeyed()` instead [#​1848](https://togithub.com/ruflin/Elastica/pull/1848) - Deprecated `Elastica\Exception\ResponseException::getElasticsearchException()`, use `getResponse()::getFullError()` instead [#​1829](https://togithub.com/ruflin/Elastica/pull/1829) - Deprecated `Elastica\QueryBuilder\DSL\Aggregation::global_agg()`, use `global()` instead [#​1826](https://togithub.com/ruflin/Elastica/pull/1826) - Deprecated `Elastica\Util::getParamName()` [#​1832](https://togithub.com/ruflin/Elastica/pull/1832) - Deprecated all Processor class names in favor of suffixed class names [#​1893](https://togithub.com/ruflin/Elastica/pull/1893) - Deprecated Match query class and introduced MatchQuery instead for PHP 8.0 compatibility reason [#​1799](https://togithub.com/ruflin/Elastica/pull/1799) - Deprecated `version`/`version_type` options [(deprecated in `6.7.0`)](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/docs-update.html) and added `if_seq_no` / `if_primary_term` that replaced it - Deprecated passing `bool` or `null` as 2nd argument to `Elastica\Index::create()` [#​1828](https://togithub.com/ruflin/Elastica/pull/1828) ##### Removed - Removed HHVM proxy detection [#​1818](https://togithub.com/ruflin/Elastica/pull/1818) ##### Fixed - Fixed issue [1789](https://togithub.com/ruflin/Elastica/issues/1789) - Fixed type-hint for `Elastica\QueryBuilder\DSL\Aggregation::sampler()` not consistent with the underlying constructor call [#​1815](https://togithub.com/ruflin/Elastica/pull/1815) - Fixed `Elastica\Util::toSnakeCase()` with first letter being lower cased [#​1831](https://togithub.com/ruflin/Elastica/pull/1831) - Fixed handling precision as string in `Elastica\Aggregation\GeohashGrid::setPrecision()` [#​1884](https://togithub.com/ruflin/Elastica/pull/1884) - Fixed calling `Elastica\Aggregation\Composite::addAfter()` with the `null` value [1877](https://togithub.com/ruflin/Elastica/pull/1877) - Replaced `_routing` and `_retry_on_conflict` by `routing` and `retry_on_conflict` in `AbstractUpdateAction` [#​1807](https://togithub.com/ruflin/Elastica/issues/1807) ### [`v7.0.0`](https://togithub.com/ruflin/Elastica/blob/master/CHANGELOG.md#​700-httpsgithubcomruflinElasticacompare700-beta4700) [Compare Source](https://togithub.com/ruflin/Elastica/compare/6.1.5...7.0.0) ##### Added - Added `Elastica\Aggregation\WeightedAvg` aggregation [#​1770](https://togithub.com/ruflin/Elastica/pull/1770) ##### Changed - Added missing Response information to Bulk/ResponseSet [#​1776](https://togithub.com/ruflin/Elastica/pull/1776)

Configuration

📅 Schedule: "before 3am on the first day of the month" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

curry684 commented 3 years ago

Tests are not v7 compatible.

maxhelias commented 3 years ago

@curry684 It's related to https://github.com/ruflin/Elastica/pull/1643