github elastic/curator v7.0.0
7.0.0 (31 January 2023)

latest releases: v8.0.17, v8.0.16, v8.0.15...
21 months ago

Announcement

At long last, the interminable wait is over. New Curator versions are being released. Yes, plural.
Curator versions 6, 7, and 8 are all coming out at once.

  • This release is a simplified release for only pip and Docker. It only works
    with Elasticsearch 7.x and is functionally identical to 5.8.4

Breaking Changes

  • Curator is now version locked. Curator v7.x will only work with Elasticsearch v7.x
  • Going forward, Curator will only be released as a tarball via GitHub, as an sdist or
    wheel via pip on PyPI, and to Docker Hub. There will no longer be RPM, DEB, or Windows
    ZIP releases. I am sorry if this is inconvenient, but one of the reasons the development and
    release cycle was delayed so long is because of how painfully difficult it was to do releases.
  • Curator will only work with Python 3.8+, and will more tightly follow the Python version releases.

New

  • Python 3.11.1 is fully supported, and all versions of Python 3.8+ should be fully supported.
  • Use hatch and hatchling for package building & publishing
  • Because of hatch and pyproject.toml, the release version still only needs to be tracked
    in curator/_version.py.
  • Maintain the barest setup.py for building a binary version of Curator for Docker using
    cx_Freeze.
  • Remove setup.cfg, requirements.txt, MANIFEST.in, and other files as functionality
    is now handled by pyproject.toml and doing pip install . to grab dependencies and
    install them. YAY! Only one place to track dependencies now!!!
  • Preliminarily updated the docs.
  • Migrate towards pytest and away from nose tests.
  • Scripts provided now that aid in producing and destroying Docker containers for testing. See
    docker_test/scripts/create.sh. To spin up a numbered version release of Elasticsearch, run
    docker_test/scripts/create.sh 7.17.8. It will download any necessary images, launch them,
    and tell you when it's ready, as well as provide REMOTE_ES_SERVER environment variables for
    testing the reindex action, e.g.
    REMOTE_ES_SERVER="172.16.0.1:9201" pytest --cov=curator. These tests are skipped
    if this value is not provided. To clean up afterwards, run docker_test/scripts/destroy.sh
  • Add filter by size feature. #1612 (IndraGunawan)
  • Update Elasticsearch client to 7.17.8

Security Fixes

  • Use urllib3 1.26.5 or higher #1610 (tsaarni) — This dependency is now fully handled by the
    elasticsearch7 module and not a separate urllib3 import.

Don't miss a new curator release

NewReleases is sending notifications on new releases.