Drop python 3.5 support.
Revamped how we interact with component tags. Previous versions was limited to inspecting component slugs.
Component.tags
now returns a slug:name dictComponent.tag_names
returns a list of tag namesComponent.tag_slugs
returns a list of slug namesComponents.tags
are now read-onlyComponents.set_tags()
will overwrite all tagsComponents.add_tag
andadd_tags
can be used to add tags- All tag lookups are now case insensitive
- Incidents now support the
occurred_at
field in cachet 2.4 - Updating components via incidents should no longer cause a 400 error if
component_id
orcomponent_status
is missing
- Added missing resource imports in
v1.__init__
- Removed irrelevant
__version__
value incachetclient.v1.__init__
- Added support for schedules (cachet 2.4)
- Support for metrics and metric points
- Documentation improvements
- Fixed class name typo:
IncidentUpdate
properly renamed toIncidentUpdate
IncidentUpdate.permlink
renamed topermalink
(in line with the actual field name)
- Fix Internal Server Error when creating incidents due to
empty
vars
. (Likely a 2.4+ issue)
- Python 3.8 support
- Fix class name typo
CompontentGroup
->ComponentGroup
- Fix class name typo
CompontentGroupManager
->ComponentGroupManager
- Various other typos
- ComponentGroup now supports the
visible
flag
- All managers now support
instance_list_from_json
to greatly ease re-creation of resource objects lists stored in databases or caches as json.
- All resource instances can now be re-created using
instance_from_dict
andinstance_from_json
. - Some doc improvements
- Downgraded python requirement to 3.5. Currently there are no reasons to require 3.6+
ComponentGroup
now has theenabled_components
property.- Tests are now run in py3.5, py3.6 and py3.7 environments using
tox
.
- First stable version
- Some method signatures have changed
- Richer docstrings + Docs.
Initial release. We will move towards 1.0 until we are 2.4 complete.