Skip to content

Commit a5c7d2b

Browse files
Updates CHANGELOG.md and Release Notes for 7.14
Co-authored-by: István Zoltán Szabó <[email protected]>
1 parent 9a9aba1 commit a5c7d2b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Client
44

5-
This release changes the way in which the transport layer and the client interact. Before, when using `elasticsearch-transport`, `Elasticsearch::Transport::Client` had a convenient wrapper so it could be used as `Elasticsearch::Client`. We are decoupling the transport layer from the Elasticsearch client. If you're using the `elasticsearch` gem, not much should change. It will instantiate a new `Elasticsearch::Transport::Client` when you instantiate `Elasticsearch::Client` and the endpoints from `elasticsearch-api` will be available.
5+
This release changes the way in which the transport layer and the client interact. Previously, when using `elasticsearch-transport`, `Elasticsearch::Transport::Client` had a convenient wrapper, so it could be used as `Elasticsearch::Client`. Now, we are decoupling the transport layer from the Elasticsearch client. If you're using the `elasticsearch` gem, not much will change. It will instantiate a new `Elasticsearch::Transport::Client` when you instantiate `Elasticsearch::Client` and the endpoints from `elasticsearch-api` will be available.
66

77
`Elasticsearch::Client` has an `attr_accessor` for the transport instance:
88

@@ -29,6 +29,7 @@ The interaction with `elasticsearch-api` remains unchanged. You can use the API
2929
```
3030

3131
Or perform request directly from the client which will return an `Elasticsearch::Transport::Response` object:
32+
3233
```ruby
3334
> client.perform_request('GET', '/')
3435
# This is the same as doing client.transport.perform_request('GET', '/')

docs/release_notes/714.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
==== Client
66

77

8-
This release changes the way in which the transport layer and the client interact. Before, when using `elasticsearch-transport`, `Elasticsearch::Transport::Client` had a convenient wrapper so it could be used as `Elasticsearch::Client`. We are decoupling the transport layer from the Elasticsearch client. If you're using the `elasticsearch` gem, not much should change. It will instantiate a new `Elasticsearch::Transport::Client` when you instantiate `Elasticsearch::Client` and the endpoints from `elasticsearch-api` will be available.
8+
This release changes the way in which the transport layer and the client interact. Previously, when using `elasticsearch-transport`, `Elasticsearch::Transport::Client` had a convenient wrapper, so it could be used as `Elasticsearch::Client`. Now, we are decoupling the transport layer from the Elasticsearch client. If you're using the `elasticsearch` gem, not much will change. It will instantiate a new `Elasticsearch::Transport::Client` when you instantiate `Elasticsearch::Client` and the endpoints from `elasticsearch-api` will be available.
99

1010
`Elasticsearch::Client` has an `attr_accessor` for the transport instance:
1111

@@ -34,6 +34,7 @@ The interaction with `elasticsearch-api` remains unchanged. You can use the API
3434
------------------------------------
3535

3636
Or perform request directly from the client which will return an `Elasticsearch::Transport::Response` object:
37+
3738
[source,ruby]
3839
------------------------------------
3940
> client.perform_request('GET', '/')

0 commit comments

Comments
 (0)