Code generation of endpoint classes using the API specification of Elasticsearch 7.5.0
commit ec0e0aa
Fixed Client::extractArgument iterable casting to array; this allows passing a Traversable body for some endpoints (e.g. Bulk, Msearch, MsearchTemplate)
#983
Fixed the Response Exception if the reason field is null
#980
This release solves the BC break issues introduced in 7.4.0.
We added the suppress operator @ for the deprecation messages @trigger_error().
With this approach we don't break existing application that convert PHP errors in Exception
(e.g. using Laravel with issue babenkoivan/scout-elasticsearch-driver#297).
Using the @ operator is still possible to intercept the deprecation message using a custom error handler.
#973
Add missing leading slash in the URL of put mapping endpoint
#970
Fix pre 7.2 endpoint class name with aliases + reapply fix #947.
This PR solved the unexpected BC break introduce in 7.4.0 with the code generation tool
#968
Release 7.4.0
BC breaks:
This version introduces some potential BC breaks:
Using a deprecated parameter is notified triggering a E_USER_DEPRECATED 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
of Elasticsearch. This tool is available in util/GenerateEndpoints.php#966
All the experimental and beta APIs are now signed with a @note tag in the phpdoc section (e.g. $client->rankEval()). For more information read the experimental and beta APIs section in the documentation #966
Fixed Client::extractArgument iterable casting to array;
this allows passing a Traversable body for some endpoints
(e.g. Bulk, Msearch, MsearchTemplate)
#983
Fixed the Response Exception if the reason field is null
#980
We added the suppress operator @ for the deprecation messages @trigger_error().
With this approach we don't break existing application that convert PHP errors in Exception
(e.g. using Laravel with issue babenkoivan/scout-elasticsearch-driver#297)
Using the @ operator is still possible to intercept the deprecation message using
a custom error handler.
#973
Add missing leading slash in the URL of put mapping endpoint
#970
Fix pre 7.2 endpoint class name with aliases + reapply fix #947.
This PR solved the unexpected BC break introduce in 7.4.0 with the code
generation tool
#968
Release 7.4.0
Added the code generation for endpoints and namespaces based on
the REST API specification
of Elasticsearch. This tool is available in util/GenerateEndpoints.php.
#966
All the experimental and beta APIs are now signed with
a @note tag in the phpdoc section (e.g. $client->rankEval()). For more information read the experimental and beta APIs
section in the documentation.
#966
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.5.0.
Release notes
Sourced from elasticsearch/elasticsearch's releases.
Changelog
Sourced from elasticsearch/elasticsearch's changelog.
Commits
81fbecb
Merge branch 'release/7.5.0'ec0e0aa
Endpoints generation for ES 7.5.094aa242
Merge branch 'oogFranz-fix/977_2'01ad2d3
Merge branch 'fix/977_2' of https://github.com/oogFranz/elasticsearch-php int...f148afa
Fixed CSe215a0b
Added unit test to #977 fix + defensive approachf2dd0b5
Merge branch 'rtyshyk-fix-data-iterable'1a73abd
Fix extractArgument iterable casting to array64b833a
Merge branch 'snapshotpl-php74'5c8b6e2
Removed php7.3 ES 8 snapshotDependabot 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)