Skip to content

Commit 62d4bb5

Browse files
authored
Updated docs for 9.0.0 release (#1448)
* Updated docs for 9.0.0 release * Added header license to test_to_skip.php
1 parent 5aa8b17 commit 62d4bb5

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

docs/release-notes/breaking-changes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Breaking changes can impact your Elastic applications, potentially disrupting no
1818

1919
## 9.0.0 [elasticsearch-php-client-900-breaking-changes]
2020

21-
_No breaking changes_
21+
- **Use of PHP 8.1+:** Starting from 9.0.0 the `elasticsearch-php` client requires PHP 8.1+.
2222

2323
% ::::{dropdown} Title of breaking change
2424
% Description of the breaking change.

docs/release-notes/deprecations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Review the deprecated functionality for Elasticsearch PHP Client. While deprecat
1818

1919
## 9.0.0 [elasticsearch-php-client-900-deprecations]
2020

21-
_No deprecations_
21+
- **Utility::urlencode():** this function has been deprecated in favor of [rawurlencode()](https://www.php.net/manual/en/function.rawurlencode.php) of PHP (see [#1278](https://github.com/elastic/elasticsearch-php/issues/1278)).
2222

2323
% Description of the deprecation and steps to update implementation.
2424
% For more information, check [PR #](PR link).

docs/release-notes/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ To check for security updates, go to [Security announcements for the Elastic sta
2828
- **Serverless client merged in:** the `elastic/elasticsearch-serverless` client is being deprecated, and its functionality has been merged back into this client. This should have zero impact on the way the client works by default. If an endpoint is available in serverless, the PHP function will contains a `@group serverless` phpdoc attribute.
2929
If you try to use an endpoint that is not available in serverless you will get a `410` HTTP error with a message as follows:
3030
"this endpoint exists but is not available when running in serverless mode".
31+
The 9.0.0 client can recognize that it is communicating with a serverless instance if you are using a URL managed by Elastic (e.g. `*.elastic.cloud`).
32+
If you are using a proxy, the client will be able to recognize that the host is serverless from the first response. Alternatively, you can explicitly indicate that the host is serverless using the `Client::setServerless(true)` function (`false` by default).
3133
- **New transport library with PSR-18 cURL client as default:** we've removed the Guzzle dependency from the client. By default, the built-in cURL-based HTTP client will be used if no other PSR-18 compatible clients are detected. See release [9.0.0](https://github.com/elastic/elastic-transport-php/releases/tag/v9.0.0) of elastic-transport-php.
3234

3335
### Fixes [elasticsearch-php-client-900-fixes]

tests/test_to_skip.php

+12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
<?php
2+
/**
3+
* Elasticsearch PHP Client
4+
*
5+
* @link https://github.com/elastic/elasticsearch-php
6+
* @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co)
7+
* @license https://opensource.org/licenses/MIT MIT License
8+
*
9+
* Licensed to Elasticsearch B.V under one or more agreements.
10+
* Elasticsearch B.V licenses this file to you under the MIT License.
11+
* See the LICENSE file in the project root for more information.
12+
*/
13+
214
// A list of tests in elasticsearch-clients-tests to be skipped
315
return [
416
'cat/aliases.yml',

0 commit comments

Comments
 (0)