Skip to content

Commit

Permalink
prep for 2.7.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
majormoses committed Sep 13, 2018
1 parent 552f5fa commit 6ff3ba8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [2.7.0] - 2018-09-12
### Added
- Added map_v2_event_into_v1 method to Utils for all plugin classes to use.
- Added --map-v2-event-into-v1 runtime commandline option to base Handler and Mutator classes.
- Alternatively set envvar SENSU_MAP_V2_EVENT_INTO_V1=1 and handlers/mutators will automatically attempt to map 2.x event data.
- New cli option/envvar makes it possible to use sensu-plugin based handlers/mutators
- Added map_v2_event_into_v1 method to Utils for all plugin classes to use.
- Added --map-v2-event-into-v1 runtime commandline option to base Handler and Mutator classes.
- Alternatively set envvar SENSU_MAP_V2_EVENT_INTO_V1=1 and handlers/mutators will automatically attempt to map 2.x event data.
- New cli option/envvar makes it possible to use sensu-plugin based handlers/mutators
with Sensu 2.0 events until they provide native 2.0 event support internally.
- Mapping function sets and checks for boolean event attribute 'v2_event_mapped_into_v1',
- Mapping function sets and checks for boolean event attribute 'v2_event_mapped_into_v1',
to prevent mapping from running multiple times in same pipeline.

## [2.6.0] - 2018-08-28
Expand Down Expand Up @@ -141,7 +143,8 @@ The changes in earlier releases are not fully documented but comparison links ar
* [v0.1.1]
* [v0.1.0]

[Unreleased]: https:/sensu-plugins/sensu-plugin/compare/2.6.1...HEAD
[Unreleased]: https:/sensu-plugins/sensu-plugin/compare/2.7.0...HEAD
[2.7.0]: https:/sensu-plugins/sensu-plugin/compare/2.6.1...2.7.0
[2.6.1]: https:/sensu-plugins/sensu-plugin/compare/2.6.0...2.6.1
[2.6.0]: https:/sensu-plugins/sensu-plugin/compare/2.5.0...2.6.0
[2.5.0]: https:/sensu-plugins/sensu-plugin/compare/2.4.0...2.5.0
Expand Down
2 changes: 1 addition & 1 deletion lib/sensu-plugin.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Sensu
module Plugin
VERSION = '2.6.1'.freeze
VERSION = '2.7.0'.freeze
EXIT_CODES = {
'OK' => 0,
'WARNING' => 1,
Expand Down

0 comments on commit 6ff3ba8

Please sign in to comment.