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 6.x and is functionally identical to 5.8.4
Breaking Changes
- Curator is now version locked. Curator v6.x will only work with Elasticsearch v6.x
- Going forward, Curator will only be released as a tarball via GitHub, as an
sdist
or
wheel
viapip
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
andhatchling
for package building & publishing - Because of
hatch
andpyproject.toml
, the release version still only needs to be tracked
incurator/_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 bypyproject.toml
and doingpip install .
to grab dependencies and
install them. YAY! Only one place to track dependencies now!!! - Preliminarily updated the docs.
- Migrate towards
pytest
and away fromnose
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 6.8.23
. It will download any necessary images, launch them,
and tell you when it's ready, as well as provideREMOTE_ES_SERVER
environment variables for
testing thereindex
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, rundocker_test/scripts/destroy.sh
- Add filter by size feature. #1612 (IndraGunawan)
- Update Elasticsearch client to 6.8.2
Security Fixes
- Use
urllib3
1.26.5 or higher #1610 (tsaarni) — This dependency is now fully handled by the
elasticsearch7
module and not a separateurllib3
import.