Skip to content

Commit b100e7c

Browse files
committed
Bumps version to 0.4.0 and updates CHANGELOG
1 parent 8e1a64d commit b100e7c

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Changelog
22

3+
## 0.4.0
4+
5+
### Changes in APIs:
6+
7+
The following APIs API have been removed as they are not supported at the moment:
8+
* `esql.query`
9+
* `indices.data_streams_stats`
10+
11+
Updates APIs:
12+
* `indices.get_data_stream` - `verbose` Boolean parameter added: Whether the maximum timestamp for each data stream should be calculated and returned.
13+
* `indices.resolve_index` adds two parameters:
14+
** `ignore_unavailable` [Boolean] If `false`, the request returns an error if it targets a missing or closed index.
15+
** `allow_no_indices` [Boolean] If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
16+
* `open_point_in_time` - `body` Hash parameter added.
17+
* `update_by_query` - `q` String parameter added: Query in the Lucene query string syntax.
18+
19+
The following **timeout parameters** were added in several indices APIs:
20+
* `timeout`: Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
21+
* `master_timeout`: Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
22+
23+
Added in the following APIs:
24+
* `indices.create_data_stream` - timeout, master_timeout
25+
* `indices.delete_data_stream` - master_timeout
26+
* `indices.get_data_lifecycle` - master_timeout
27+
* `indices.get_data_stream` - master_timeout
28+
* `indices.migrate_to_data_stream` - timeout, master_timeout
29+
330
## 0.3.0
431

532
### Client

lib/elasticsearch-serverless/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717

1818
module ElasticsearchServerless
1919
API_VERSION = '2023-10-31'.freeze
20-
CLIENT_VERSION = '0.3.0'.freeze
20+
CLIENT_VERSION = '0.4.0'.freeze
2121
VERSION = CLIENT_VERSION
2222
end

0 commit comments

Comments
 (0)