Skip to content

Releases: elastic/curator

5.1.1 (8 June 2017)

09 Jun 00:27
Compare
Choose a tag to compare

Bug Fixes

  • Mock and cx_Freeze don't play well together. Packages weren't working, so
    I reverted the string-based comparison as before.

5.1.0 (8 June 2017)

08 Jun 23:05
Compare
Choose a tag to compare

New Features

  • Index Settings are here! First requested as far back as #160, it's been
    requested in various forms culminating in #656. The official documentation
    addresses the usage. (untergeek)
  • Remote reindex now adds the ability to migrate from one cluster to another,
    preserving the index names, or optionally adding a prefix and/or a suffix.
    The official documentation shows you how. (untergeek)
  • Added support for naming rollover indices. #970 (jurajseffer)
  • Testing against ES 5.4.1, 5.3.3

Bug Fixes

  • Since Curator no longer supports old versions of python, convert tests to
    use isinstance. #973 (untergeek)
  • Fix stray instance of is not comparison instead of != #972
    (untergeek)
  • Increase remote client timeout to 180 seconds for remote reindex. #930
    (untergeek)

General

  • elasticsearch-py dependency bumped to 5.4.0
  • Added mock dependency due to isinstance and testing requirements
  • AWS ES 5.3 officially supports Curator now. Documentation has been updated
    to reflect this.

5.0.4 (16 May 2017)

16 May 13:04
Compare
Choose a tag to compare

Bug Fixes

  • The _recovery check needs to compare using != instead of is not,
    which apparently does not accurately compare unicode strings. Reported in
    #966. (untergeek)

5.0.3 (15 May 2017)

15 May 15:00
Compare
Choose a tag to compare

Bug Fixes

  • Restoring a snapshot on an exceptionally fast cluster/node can create a race
    condition where a _recovery check returns an empty dictionary
    {}, which causes Curator to fail. Added test and code to correct this.
    Reported in #962. (untergeek)

4.3.1 (9 May 2017)

09 May 18:22
Compare
Choose a tag to compare

Bug Fixes

  • Nasty bug in schema validation fixed where boolean options or filter flags
    would validate as True if non-boolean types were submitted. Reported in
    #945. (untergeek)
  • Fix an edge case where an index named with 1970.01.01 could not be sorted by
    index-name age. Reported in #951. (untergeek)
  • Update tests to include ES 5.3.2 and 5.4.0
  • Bump certifi requirement to 2017.4.17.
  • Fix Travis tests for ES 5.4
  • Sync package build scripts with master

5.0.2 (9 May 2017)

09 May 18:24
Compare
Choose a tag to compare

Bug Fixes

  • Nasty bug in schema validation fixed where boolean options or filter flags
    would validate as True if non-boolean types were submitted.
    Reported in #945. (untergeek)
  • Check for presence of alias after reindex, in case the reindex was to an
    alias. Reported in #941. (untergeek)
  • Fix an edge case where an index named with 1970.01.01 could not be sorted
    by index-name age. Reported in #951. (untergeek)
  • Update tests to include ES 5.3.2
  • Bump certifi requirement to 2017.4.17.

Documentation

  • Document substitute strftime symbols for doing ISO Week timestrings added in
    #932. (untergeek)
  • Document how to include file paths better. Fixes #944. (untergeek)

4.3.0 (10 April 2017)

10 Apr 18:47
Compare
Choose a tag to compare

This will be the last minor branch of Curator 4.x

New Features

  • 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)

5.0.1 (10 April 2017)

10 Apr 14:47
Compare
Choose a tag to compare

This update is functionally no different from 5.0.0 except for one default setting change I came across when improving documentation.

Bug Fixes

  • Fixed default values for include_global_state on the restore
    action to be in line with defaults in Elasticsearch 5.3

Documentation

  • Huge improvement to documenation, with many more examples.
  • Address age filter limitations per #859 (untergeek)
  • Address date matching behavior better per #858 (untergeek)

5.0.0 (5 April 2017)

05 Apr 22:49
Compare
Choose a tag to compare

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.0 Alpha 1 (23 March 2017)

23 Mar 14:23
Compare
Choose a tag to compare
Pre-release

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)