4.0.0b1 (13 June 2016)
First beta release of the 4.0 branch!
The release notes will be rehashing the new features in 4.0, rather than the
bug fixes done during the alphas.
- New and improved API!
- Command-line changes. No more command-line args, except for
--configpoints to a YAML client and logging configuration file.
The default location is
--actionsarg points to a YAML action configuration file
--dry-runwill simulate the action(s) which would have taken place,
but not actually make any changes to the cluster or its indices.
- Snapshot restore is here!
- YAML configuration files. Now a single file can define an entire batch of
commands, each with their own filters, to be performed in sequence.
- Sort by index age not only by index name (as with previous versions of
Curator), but also by index
creation_date, or by calculations from the
Field Stats API on a timestamp field.
- Atomically add/remove indices from aliases! This is possible by way of the
IndexListclass and YAML configuration files.
- State of indices pulled and stored in
IndexListinstance. Fewer API calls
required to serially test for open/close,
- Filter by space now allows sorting by age!
- Experimental! Use AWS IAM credentials to sign requests to Elasticsearch.
This requires the end user to manually install the
- Optionally delete aliases from indices before closing.
- Updated API documentation
IndexList. This pulls all indices at instantiation, and you apply
filters, which are class methods. You can iterate over as many filters as
you like, in fact, due to the YAML config file.
SnapshotList. This pulls all snapshots from the given repository at
instantiation, and you apply filters, which are class methods. You can
iterate over as many filters as you like, in fact, due to the YAML config
wait_for_completionto Allocation and Replicas actions. These will
use the client timeout, as set by default or
determine how long to wait for timeout. These are handled in batches of
indices for now.
timeout_overrideoption for all actions. This allows for different
timeout values per action.
- Improve API by giving each action its own
- Updated use documentation for Elastic main site.
- Include example files for