Skip to content

Latest commit

 

History

History
165 lines (110 loc) · 4.37 KB

CHANGES.txt

File metadata and controls

165 lines (110 loc) · 4.37 KB

Release History

2.0b1 (unreleased)

  • Drop Python 2 support. It's time to go for Python 3. Python 2 users should stick with the last released 1.x version.
  • Rework packaging. We now rely on pip and the standard PyPUG procedures.
  • Remove namedtuple and use plain objects instead (#8).
  • Use tox for matrix testing.
  • Simplify Check--Runtime interaction.

1.3 (unreleased)

This is going to be a major feature release. Reworked output generation to provide more flexibility and greater control. Details of output formatting are slightly incompatible to the 1.2 series.

  • If Result.hint is set, it overrides any output from the originating metric. Metric.__str__ is consulted for output generation only when Result.hint is None (#13299).
  • Deprecate Metric.description() (#13299).
  • If Context.fmt_metric is a callable, it is now called with three parameters (metric, context, state) (#12659).
  • Update docs to reflect the new project tracker URLs and changed author's email address.
  • Include Debian packaging stuff (#10).

1.2.2 (2014-05-27)

  • Mention that nagiosplugin also runs with Python 3.4 (no code changes necessary).
  • Make name prefix in status output optional by allowing to assign None to Check.name.
  • Accept bare metric as return value from Resource.probe().
  • Fix bug where Context.describe() was not used to obtain metric description (#13162).

1.2.1 (2014-03-19)

  • Fix build failures with LANG=C (#13140).
  • Remove length limitation of perfdata labels (#13214).
  • Fix formatting of large integers as Metric values (#13287).
  • Range: allow simple numerals as argument to Range() (#12658).
  • Cookie: allow for empty state file specification (#12788).

1.2 (2013-11-08)

  • New Summary.empty method is called if there are no results present (#11593).
  • Improve range violation wording (#11597).
  • Ensure that nagiosplugin install correctly with current setuptools (#12660).
  • Behave and do not attach anything to the root logger.
  • Add debugging topic guide. Explain how to disable the timeout when using pdb (#11592).

1.1 (2013-06-19)

  • Identical to 1.1b1.

1.1b1 (2013-05-28)

  • Made compatible with Python 2.6 (#12297).
  • Tutorial #3: check_users (#11539).
  • Minor documentation improvements.

1.0.0 (2013-02-05)

  • LogTail returns lines as byte strings in Python 3 to avoid codec issues (#11564).
  • LogTail gives a line-based iterator instead of a file object (#11564).
  • Basic API docs for the most important classes (#11612).
  • Made compatible with Python 2.7 (#11533).
  • Made compatible with Python 3.3.

1.0.0b1 (2012-10-29)

  • Improve error reporting for missing contexts.
  • Exit with code 3 if no metrics have been generated.
  • Improve default Summary.verbose() to list all threshold violations.
  • Move main source repository to https://bitbucket.org/gocept/nagiosplugin/ (#11561).

1.0.0a2 (2012-10-26)

  • API docs for the most important classes (#7939).
  • Added two tutorials (#9425).
  • Fix packaging issues.

1.0.0a1 (2012-10-25)

  • Completely reworked API. The new API is not compatible with the old 0.4 API so you must update your plugins.
  • Python 3 support.
  • The Cookie class is now basically a persistent dict and accepts key/value pairs. Cookie are stored as JSON files by default so they can be inspected by the system administrator (#9400).
  • New LogTail class which provides convenient access to constantly growing log files which are eventually rotated.

0.4.5 (2012-06-18)

  • Windows port. nagiosplugin code now runs under pywin32 (#10899).
  • Include examples in egg release (#9901).

0.4.4 (2011-07-18)

Bugfix release to fix issues reported by users.

  • Improve Mac OS X compatibility (#8755).
  • Include examples in distribution (#8555).

0.4.3 (2010-12-17)

  • Change __str__ representation of large numbers to avoid scientific notation.

0.4.2 (2010-10-11)

  • Packaging issues.

0.4.1 (2010-09-21)

  • Fix distribution to install correctly.
  • Documentation: tutorial and topic guides.

0.4 (2010-08-17)

  • Initial public release.