Curator-opensearch

Latest version: v0.0.13

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 17

5.0.0

--------------------

The full feature set of 5.0 (including alpha releases) is included here.

**New Features**

* Reindex is here! The new reindex action has a ton of flexibility. You
can even reindex from remote locations, so long as the remote cluster is
Elasticsearch 1.4 or newer.
* Added the ``period`` filter (733). This allows you to select indices
or snapshots, based on whether they fit within a period of hours, days,
weeks, months, or years.
* Add dedicated "wait for completion" functionality. This supports health
checks, recovery (restore) checks, snapshot checks, and operations which
support the new tasks API. All actions which can use this have been
refactored to take advantage of this. The benefit of this new feature is
that client timeouts will be less likely to happen when performing long
operations, like snapshot and restore.

NOTE: There is one caveat: forceMerge does not support this, per the
Elasticsearch API. A forceMerge call will hold the client until complete,
or the client times out. There is no clean way around this that I can
discern.
* Elasticsearch date math naming is supported and documented for the
``create_index`` action. An integration test is included for validation.
* Allow allocation action to unset a key/value pair by using an empty value.
Requested in 906. (untergeek)
* Added support for the Rollover API. Requested in 898, and by countless
others.
* Added ``warn_if_no_indices`` option for ``alias`` action in response to
883. Using this option will permit the ``alias`` add or remove to
continue with a logged warning, even if the filters result in a
``NoIndices`` condition. Use with care.

**General**

* Bumped ``click`` (python module) version dependency to 6.7
* Bumped ``urllib3`` (python module) version dependency to 1.20
* Bumped ``elasticsearch`` (python module) version dependency to 5.3
* Refactored a ton of code to be cleaner and hopefully more consistent.

**Bug Fixes**

* Curator now logs version incompatibilities as an error, rather than just
raising an Exception. 874 (untergeek)
* The ``get_repository()`` function now properly raises an exception instead
of returning `False` if nothing is found. 761 (untergeek)
* Check if an index is in an alias before attempting to delete it from the
alias. Issue raised in 887. (untergeek)
* Fix allocation issues when using Elasticsearch 5.1+. Issue raised in 871
(untergeek)

**Documentation**

* Add missing repository arg to auto-gen API docs. Reported in 888
(untergeek)
* Add all new documentation and clean up for v5 specific.

**Breaking Changes**

* IndexList no longer checks to see if there are indices on initialization.

5.0.0a1

-----------------------

This is the first alpha release of Curator 5. This should not be used for
production! There `will` be many more changes before 5.0.0 is released.

**New Features**

* Allow allocation action to unset a key/value pair by using an empty value.
Requested in 906. (untergeek)
* Added support for the Rollover API. Requested in 898, and by countless
others.
* Added ``warn_if_no_indices`` option for ``alias`` action in response to
883. Using this option will permit the ``alias`` add or remove to
continue with a logged warning, even if the filters result in a
``NoIndices`` condition. Use with care.

**Bug Fixes**

* Check if an index is in an alias before attempting to delete it from the
alias. Issue raised in 887. (untergeek)
* Fix allocation issues when using Elasticsearch 5.1+. Issue raised in 871
(untergeek)

**Documentation**

* Add missing repository arg to auto-gen API docs. Reported in 888
(untergeek)

4.2.6

-----------------------

**General**

* Update Curator to use version 5.1 of the ``elasticsearch-py`` python
module. With this change, there will be no reverse compatibility with
Elasticsearch 2.x. For 2.x versions, continue to use the 4.x branches of
Curator.
* Tests were updated to reflect the changes in API calls, which were minimal.
* Remove "official" support for Python 2.6. If you must use Curator on a
system that uses Python 2.6 (RHEL/CentOS 6 users), it is recommended that
you use the official RPM package as it is a frozen binary built on Python
3.5.x which will not conflict with your system Python.
* Use ``isinstance()`` to verify client object. 862 (cp2587)
* Prune older versions from Travis CI tests.
* Update ``certifi`` dependency to latest version

**Documentation**

* Add version compatibility section to official documentation.
* Update docs to reflect changes. Remove cruft and references to older
versions.

4.2.5

------------------------

**General**

* Add and increment test versions for Travis CI. 839 (untergeek)
* Make `filter_list` optional in snapshot, show_snapshot and show_indices
singleton actions. 853 (alexef)

**Bug Fixes**

* Fix cli integration test when different host/port are specified. Reported
in 843 (untergeek)
* Catch empty list condition during filter iteration in singleton actions.
Reported in 848 (untergeek)

**Documentation**

* Add docs regarding how filters are ANDed together, and how to do an OR with
the regex pattern filter type. Requested in 842 (untergeek)
* Fix typo in Click version in docs. 850 (breml)
* Where applicable, replace `[source,text]` with `[source,yaml]` for better
formatting in the resulting docs.

4.2.4

-----------------------

**Bug Fixes**

* ``--wait_for_completion`` should be `True` by default for Snapshot
singleton action. Reported in 829 (untergeek)
* Increase `version_max` to 5.1.99. Prematurely reported in 832 (untergeek)
* Make the '.security' index visible for snapshots so long as proper
credentials are used. Reported in 826 (untergeek)

4.2.3.post1

------------------------------

This fix is `only` going in for ``pip``-based installs. There are no other
code changes.

**Bug Fixes**

* Fixed incorrect assumption of PyPI picking up dependency for certifi. It
is still a dependency, but should not affect ``pip`` installs with an error
any more. Reported in 821 (untergeek)

Page 6 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.