Announcement
- Because Python 2.7 has been EOL for over a year now, many projects are no
longer supporting it. This will also be the case for Curator as its
dependencies cease to support Python 2.7. Withboto3
having announced it
is ceasing support of Python 2.7, deprecated as of 15 Jan 2021, and fully
unsupported on 15 Jul 2021, Curator will follow these same dates. This
means that you will need to use an older version of Curator to continue
using Python 2.7, or upgrade to Python 3.6 or greater.
Breaking
- Normally I would not include breaking changes, but users have asked for
Click v7, which changes actions to require hyphens, and not underscores.
Options can still have underscores, but actions can't--well, not strictly
true. You can have underscores, but Click v7 will convert them to hyphens.
This should only affect users of the Curator CLI, and not YAML file
users, and only the actions:show-indices
,show-snapshots
,
delete-indices
,delete-snapshots
. The actual actions are still named
with underscores, and the code has been updated to work with the hyphenated
action names.
New
- Now using
elasticsearch-py
version 7.12.0 - Adding testing for Python 3.9
- Removing testing on Python 3.6
- Tested Elasticsearch versions now include 7.12.0, 7.11.2, 7.10.2, 7.9.3,
7.8.1, 6.8.15, 5.6.16 - Changing
requirements.txt
as follows:- boto3-1.17.57
- certifi-2020.12.5
- click-7.1.2
- elasticsearch-7.12.0
- pyyaml-5.4.1
- requests-2.25.1
- requests-aws4auth-1.0.1
- six-1.15.0
- urllib3-1.26.4
- voluptuous-0.12.1
Bug Fixes
- Alias integration tests needed updating for newer versions of Elasticsearch
that include ILM. - Click 7.0 now reports an exit code of
1
for schema mismatches where it
yielded a-1
in the past. Tests needed updating to correct for this.
Security
- Address multiple
pyyaml
vulnerabilities by bumping to version 5.4.1.
Contributed in #1596 (tsaarni)