Skip to content

Commit 5d54128

Browse files
committed
Update CHANGELOG
1 parent d13c117 commit 5d54128

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
## Release 8.0.0-rc1
2+
3+
- Fixed query string in API endpoints + added a first integration test
4+
[e404235](https://github.com/elastic/elasticsearch-php/commit/e404235890b53a99242f7fc5ddea6ee6b2459e8f)
5+
- Added AdapterOptions class and setNodePool() in ClientBuilder
6+
[9150f71](https://github.com/elastic/elasticsearch-php/commit/9150f717488ddb74d83a119d215c0584aa98c95a)
7+
- Fixed urlencode in params, Exception in test code generation
8+
[142327b](https://github.com/elastic/elasticsearch-php/commit/142327b3cb730042ec0b21b7c6076164bb0721ed)
9+
- Improved client/server response exception messages
10+
[50de3e6](https://github.com/elastic/elasticsearch-php/commit/50de3e60fc9b0167a948a992fda78bc5e1a42152)
11+
12+
## Release 8.0.0-alpha
13+
14+
First alpha release of elasticsearch-php 8.0.0.
15+
16+
This major release is a complete new PHP client for Elasticsearch. We build it from scratch!
17+
We tried to reduce the BC breaks as much as possible but there are some (big) differences:
18+
19+
### Architectural changes:
20+
21+
- we changed the namespace, now everything is under `Elastic\Elasticsearch`
22+
- we used the [elastic-transport-php](https://github.com/elastic/elastic-transport-php) library for HTTP communications;
23+
- we changed the `Exception` model, using the namespace `Elastic\Elasticsearch\Exception`. All the exceptions extends the
24+
`ElasticsearchException` interface, as in 7.x
25+
- we changed the response type of each endpoints using an [Elasticsearch](src/Response/Elasticsearch.php) response class.
26+
This class wraps a a [PSR-7](https://www.php-fig.org/psr/psr-7/) response allowing the access of the body response
27+
as array or object. This means you can access the API response as in 7.x, no BC break here! :angel:
28+
- we changed the `ConnectionPool` in `NodePool`. The `connection` naming was ambigous since the objects are nodes (hosts)
29+
30+
You can have a look at the [BREAKING_CHANGES](BREAKING_CHANGES.md) file for more information.
31+
132
## Release 7.17.0
233

334
- Allow psr/log v3

0 commit comments

Comments
 (0)