Release notes
*Sourced from [elasticsearch/elasticsearch's releases](https://github.com/elastic/elasticsearch-php/releases).*
> ## Release 7.4.0
> **BC breaks:**
>
> This version introduces some potential BC breaks:
>
> - Using a deprecated parameter is notified triggering a [E_USER_DEPRECATED](https://www.php.net/manual/en/errorfunc.constants.php) error (e.g. using the `type` parameter will generate a `Specifying types in urls has been deprecated` deprecation message).
> - When `delete` with an empty `id` a `Missing404Exception` exception is thrown. Previously it was a `InvalidArgumentException`.
>
> **Changelog:**
>
> - Added the code generation for endpoints and namespaces based on the [REST API specification](https://github.com/elastic/elasticsearch/tree/v7.4.2/rest-api-spec/src/main/resources/rest-api-spec/api)
> of Elasticsearch. This tool is available in `util/GenerateEndpoints.php` [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966)
> - Fixed the asciidoc [endpoints documentation](https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/ElasticsearchPHP_Endpoints.html) based on the code generation using [Sami](https://github.com/FriendsOfPHP/Sami) project [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966)
> - All the `experimental` and `beta` APIs are now signed with a `@note` tag in the phpdoc section (e.g. [$client->rankEval()](https://github.com/elastic/elasticsearch-php/blob/master/src/Elasticsearch/Client.php)). For more information read the [experimental and beta APIs](https://github.com/elastic/elasticsearch-php/blob/master/docs/experimental-beta-apis.asciidoc) section in the documentation [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966)
> - Removed `AlreadyExpiredException` since it has been removed from Elasticsearch with [elastic/elasticsearch#24857](https://github-redirect.dependabot.com/elastic/elasticsearch/pull/24857) [#954](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/954)
>
> ## Release 7.3.0
> Support for **Elasticsearch v7.3**.
>
> - Added support for simplified access to the `X-Opaque-Id` header [#952](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/952)
> - Added the HTTP port in the log messages [#950](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/950)
> - Fixed hostname with underscore (`ClientBuilder::prependMissingScheme`) [#949](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/949)
> - Removed unused `Monolog` classes in `ClientBuilder` [#948](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/948)
>
> **Note:** this release is also compatible with Elasticsearch v7.2.
>
> ## Release 7.2.2
> - Reintroduced the optional parameter in `Elasticsearch\Namespaces\IndicesNamespace::getAliases()`.
> This fixes the BC break introduced in 7.2.0 and 7.2.1 [#947](https://github.com/elastic/elasticsearch-php/pull/)
>
> ## Release 7.2.1
> - Reintroduced `Elasticsearch\Namespaces\IndicesNamespace::getAliases()` as proxy to `IndicesNamespace::getAlias()` to prevent BC breaks. The `getAliases()` is marked as deprecated and it will be removed from `elasticsearch-php 8.0` [#943](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/943)
>
> ### Docs
>
> - Fixed missing put mapping code snippet in code examples [#938](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/938)
>
> ## Release 7.2.0
> - Updated the API endpoints for working with Elasticsearch 7.2.0 [[27d721b]](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/933/commits/27d721ba44b8c199388650c5a1c8bd69757229aa):
> - added `wait_for_active_shards` parameter to `indices.close` API;
> - added `expand_wildcards` parameter to `cluster.health` API;
> - added include_unloaded_segments`, `expand_wildcards`, `forbid_closed_indices`
> parameters to `indices.stats` API.
>
> - Updated the phpdoc parameters for all the API endpoints [[27d721b]](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/933/commits/27d721ba44b8c199388650c5a1c8bd69757229aa)
>
> - Improved the Travis CI speed using cache feature with composer [#929](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/929)
>
> - Fixed `php_uname()` usage checking if it is disabled [#927](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/927)
>
> ... (truncated)
Changelog
*Sourced from [elasticsearch/elasticsearch's changelog](https://github.com/elastic/elasticsearch-php/blob/master/CHANGELOG.md).*
> ## Release 7.4.0
>
> - Added the code generation for endpoints and namespaces based on
> the [REST API specification](https://github.com/elastic/elasticsearch/tree/v7.4.2/rest-api-spec/src/main/resources/rest-api-spec/api)
> of Elasticsearch. This tool is available in `util/GenerateEndpoints.php`.
> [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966)
> - Fixed the asciidoc [endpoints documentation](https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/ElasticsearchPHP_Endpoints.html) based on the code generation
> using [Sami](https://github.com/FriendsOfPHP/Sami) project
> [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966)
> - All the `experimental` and `beta` APIs are now signed with
> a `@note` tag in the phpdoc section (e.g. [$client->rankEval()](https://github.com/elastic/elasticsearch-php/blob/master/src/Elasticsearch/Client.php)). For more information read the [experimental and beta APIs](https://github.com/elastic/elasticsearch-php/blob/master/docs/experimental-beta-apis.asciidoc)
> section in the documentation.
> [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966)
> - Removed `AlreadyExpiredException` since it has been removed
> from Elasticsearch with [elastic/elasticsearch#24857](https://github-redirect.dependabot.com/elastic/elasticsearch/pull/24857)
> [#954](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/954)
>
> ## Release 7.3.0
>
> - Added support for simplified access to the `X-Opaque-Id` header
> [#952](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/952)
> - Added the HTTP port in the log messages
> [#950](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/950)
> - Fixed hostname with underscore (ClientBuilder::prependMissingScheme)
> [#949](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/949)
> - Removed unused Monolog in ClientBuilder
> [#948](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/948)
>
> ## Release 7.2.2
>
> - Reintroduced the optional parameter in `Elasticsearch\Namespaces\IndicesNamespace::getAliases()`.
> This fixes the BC break introduced in 7.2.0 and 7.2.1.
> [#947](https://github.com/elastic/elasticsearch-php/pull/)
>
> ## Release 7.2.1
>
> - Reintroduced `Elasticsearch\Namespaces\IndicesNamespace::getAliases()` as proxy
> to `IndicesNamespace::getAlias()` to prevent BC breaks. The `getAliases()` is
> marked as deprecated and it will be removed from `elasticsearch-php 8.0`
> [#943](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/943)
>
> ### Docs
>
> - Fixed missing put mapping code snippet in code examples
> [#938](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/938)
>
> # Release 7.2.0
>
> - Updated the API endpoints for working with Elasticsearch 7.2.0:
> - added `wait_for_active_shards` parameter to `indices.close` API;
> ... (truncated)
Commits
- [`830a6f6`](https://github.com/elastic/elasticsearch-php/commit/830a6f6fdb4a6b7005ff914fe761e1a92ebb5cb8) Updated the Client version to 7.4.0 + updated docs
- [`753f499`](https://github.com/elastic/elasticsearch-php/commit/753f499d3436a472d078af088fff82955dcdfb90) Merge pull request [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/issues/966) from ezimuel/prep/7.4.0
- [`6bf35b0`](https://github.com/elastic/elasticsearch-php/commit/6bf35b00817400f6d15ac29cd96706a10a0232ef) Resolved last conflicts with master
- [`2e4100a`](https://github.com/elastic/elasticsearch-php/commit/2e4100a3164aad3c9a1cd0fc2e4e67b4d0778503) Fixed conflict with master
- [`20f5b26`](https://github.com/elastic/elasticsearch-php/commit/20f5b26f452833b5dfb958e6385225fb65033aba) Merge pull request [#957](https://github-redirect.dependabot.com/elastic/elasticsearch-php/issues/957) from TomasVotruba/types
- [`7f71332`](https://github.com/elastic/elasticsearch-php/commit/7f713327ffb95df9b96016af49295ff221de6b13) Merge pull request [#954](https://github-redirect.dependabot.com/elastic/elasticsearch-php/issues/954) from oogFranz/removeAlreadyExpiredException
- [`fdea372`](https://github.com/elastic/elasticsearch-php/commit/fdea3723c0cc1bb1028d8f00fa2d7e5db58d6341) Fixed code generation for phpcs
- [`70ba199`](https://github.com/elastic/elasticsearch-php/commit/70ba19937ba0608e62f508900cef3b4696624015) Updated travis to use ES 7.4.2
- [`7e8b432`](https://github.com/elastic/elasticsearch-php/commit/7e8b43201ecfd8bbf6e82754ca52e03f184e2634) Completed the endpoints and namespaces code generation + fixed endpoint docs
- [`744a368`](https://github.com/elastic/elasticsearch-php/commit/744a368b87b03d4457d8009b26ccc12bdb3b73fb) [types] add [@var](https://github.com/var) annotatoins
- Additional commits viewable in [compare view](https://github.com/elastic/elasticsearch-php/compare/v6.7.1...v7.4.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps elasticsearch/elasticsearch from 6.7.1 to 7.4.0.
Release notes
*Sourced from [elasticsearch/elasticsearch's releases](https://github.com/elastic/elasticsearch-php/releases).* > ## Release 7.4.0 > **BC breaks:** > > This version introduces some potential BC breaks: > > - Using a deprecated parameter is notified triggering a [E_USER_DEPRECATED](https://www.php.net/manual/en/errorfunc.constants.php) error (e.g. using the `type` parameter will generate a `Specifying types in urls has been deprecated` deprecation message). > - When `delete` with an empty `id` a `Missing404Exception` exception is thrown. Previously it was a `InvalidArgumentException`. > > **Changelog:** > > - Added the code generation for endpoints and namespaces based on the [REST API specification](https://github.com/elastic/elasticsearch/tree/v7.4.2/rest-api-spec/src/main/resources/rest-api-spec/api) > of Elasticsearch. This tool is available in `util/GenerateEndpoints.php` [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966) > - Fixed the asciidoc [endpoints documentation](https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/ElasticsearchPHP_Endpoints.html) based on the code generation using [Sami](https://github.com/FriendsOfPHP/Sami) project [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966) > - All the `experimental` and `beta` APIs are now signed with a `@note` tag in the phpdoc section (e.g. [$client->rankEval()](https://github.com/elastic/elasticsearch-php/blob/master/src/Elasticsearch/Client.php)). For more information read the [experimental and beta APIs](https://github.com/elastic/elasticsearch-php/blob/master/docs/experimental-beta-apis.asciidoc) section in the documentation [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966) > - Removed `AlreadyExpiredException` since it has been removed from Elasticsearch with [elastic/elasticsearch#24857](https://github-redirect.dependabot.com/elastic/elasticsearch/pull/24857) [#954](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/954) > > ## Release 7.3.0 > Support for **Elasticsearch v7.3**. > > - Added support for simplified access to the `X-Opaque-Id` header [#952](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/952) > - Added the HTTP port in the log messages [#950](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/950) > - Fixed hostname with underscore (`ClientBuilder::prependMissingScheme`) [#949](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/949) > - Removed unused `Monolog` classes in `ClientBuilder` [#948](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/948) > > **Note:** this release is also compatible with Elasticsearch v7.2. > > ## Release 7.2.2 > - Reintroduced the optional parameter in `Elasticsearch\Namespaces\IndicesNamespace::getAliases()`. > This fixes the BC break introduced in 7.2.0 and 7.2.1 [#947](https://github.com/elastic/elasticsearch-php/pull/) > > ## Release 7.2.1 > - Reintroduced `Elasticsearch\Namespaces\IndicesNamespace::getAliases()` as proxy to `IndicesNamespace::getAlias()` to prevent BC breaks. The `getAliases()` is marked as deprecated and it will be removed from `elasticsearch-php 8.0` [#943](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/943) > > ### Docs > > - Fixed missing put mapping code snippet in code examples [#938](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/938) > > ## Release 7.2.0 > - Updated the API endpoints for working with Elasticsearch 7.2.0 [[27d721b]](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/933/commits/27d721ba44b8c199388650c5a1c8bd69757229aa): > - added `wait_for_active_shards` parameter to `indices.close` API; > - added `expand_wildcards` parameter to `cluster.health` API; > - added include_unloaded_segments`, `expand_wildcards`, `forbid_closed_indices` > parameters to `indices.stats` API. > > - Updated the phpdoc parameters for all the API endpoints [[27d721b]](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/933/commits/27d721ba44b8c199388650c5a1c8bd69757229aa) > > - Improved the Travis CI speed using cache feature with composer [#929](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/929) > > - Fixed `php_uname()` usage checking if it is disabled [#927](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/927) > > ... (truncated)Changelog
*Sourced from [elasticsearch/elasticsearch's changelog](https://github.com/elastic/elasticsearch-php/blob/master/CHANGELOG.md).* > ## Release 7.4.0 > > - Added the code generation for endpoints and namespaces based on > the [REST API specification](https://github.com/elastic/elasticsearch/tree/v7.4.2/rest-api-spec/src/main/resources/rest-api-spec/api) > of Elasticsearch. This tool is available in `util/GenerateEndpoints.php`. > [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966) > - Fixed the asciidoc [endpoints documentation](https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/ElasticsearchPHP_Endpoints.html) based on the code generation > using [Sami](https://github.com/FriendsOfPHP/Sami) project > [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966) > - All the `experimental` and `beta` APIs are now signed with > a `@note` tag in the phpdoc section (e.g. [$client->rankEval()](https://github.com/elastic/elasticsearch-php/blob/master/src/Elasticsearch/Client.php)). For more information read the [experimental and beta APIs](https://github.com/elastic/elasticsearch-php/blob/master/docs/experimental-beta-apis.asciidoc) > section in the documentation. > [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/966) > - Removed `AlreadyExpiredException` since it has been removed > from Elasticsearch with [elastic/elasticsearch#24857](https://github-redirect.dependabot.com/elastic/elasticsearch/pull/24857) > [#954](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/954) > > ## Release 7.3.0 > > - Added support for simplified access to the `X-Opaque-Id` header > [#952](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/952) > - Added the HTTP port in the log messages > [#950](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/950) > - Fixed hostname with underscore (ClientBuilder::prependMissingScheme) > [#949](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/949) > - Removed unused Monolog in ClientBuilder > [#948](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/948) > > ## Release 7.2.2 > > - Reintroduced the optional parameter in `Elasticsearch\Namespaces\IndicesNamespace::getAliases()`. > This fixes the BC break introduced in 7.2.0 and 7.2.1. > [#947](https://github.com/elastic/elasticsearch-php/pull/) > > ## Release 7.2.1 > > - Reintroduced `Elasticsearch\Namespaces\IndicesNamespace::getAliases()` as proxy > to `IndicesNamespace::getAlias()` to prevent BC breaks. The `getAliases()` is > marked as deprecated and it will be removed from `elasticsearch-php 8.0` > [#943](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/943) > > ### Docs > > - Fixed missing put mapping code snippet in code examples > [#938](https://github-redirect.dependabot.com/elastic/elasticsearch-php/pull/938) > > # Release 7.2.0 > > - Updated the API endpoints for working with Elasticsearch 7.2.0: > - added `wait_for_active_shards` parameter to `indices.close` API; > ... (truncated)Commits
- [`830a6f6`](https://github.com/elastic/elasticsearch-php/commit/830a6f6fdb4a6b7005ff914fe761e1a92ebb5cb8) Updated the Client version to 7.4.0 + updated docs - [`753f499`](https://github.com/elastic/elasticsearch-php/commit/753f499d3436a472d078af088fff82955dcdfb90) Merge pull request [#966](https://github-redirect.dependabot.com/elastic/elasticsearch-php/issues/966) from ezimuel/prep/7.4.0 - [`6bf35b0`](https://github.com/elastic/elasticsearch-php/commit/6bf35b00817400f6d15ac29cd96706a10a0232ef) Resolved last conflicts with master - [`2e4100a`](https://github.com/elastic/elasticsearch-php/commit/2e4100a3164aad3c9a1cd0fc2e4e67b4d0778503) Fixed conflict with master - [`20f5b26`](https://github.com/elastic/elasticsearch-php/commit/20f5b26f452833b5dfb958e6385225fb65033aba) Merge pull request [#957](https://github-redirect.dependabot.com/elastic/elasticsearch-php/issues/957) from TomasVotruba/types - [`7f71332`](https://github.com/elastic/elasticsearch-php/commit/7f713327ffb95df9b96016af49295ff221de6b13) Merge pull request [#954](https://github-redirect.dependabot.com/elastic/elasticsearch-php/issues/954) from oogFranz/removeAlreadyExpiredException - [`fdea372`](https://github.com/elastic/elasticsearch-php/commit/fdea3723c0cc1bb1028d8f00fa2d7e5db58d6341) Fixed code generation for phpcs - [`70ba199`](https://github.com/elastic/elasticsearch-php/commit/70ba19937ba0608e62f508900cef3b4696624015) Updated travis to use ES 7.4.2 - [`7e8b432`](https://github.com/elastic/elasticsearch-php/commit/7e8b43201ecfd8bbf6e82754ca52e03f184e2634) Completed the endpoints and namespaces code generation + fixed endpoint docs - [`744a368`](https://github.com/elastic/elasticsearch-php/commit/744a368b87b03d4457d8009b26ccc12bdb3b73fb) [types] add [@var](https://github.com/var) annotatoins - Additional commits viewable in [compare view](https://github.com/elastic/elasticsearch-php/compare/v6.7.1...v7.4.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)