Skip to content

Releases: phrawzty/check_http_json

1.14.0

14 Nov 17:31
1.14.0
60dca51

Choose a tag to compare

Breaking Changes

Ruby 1.8.7 is no longer supported. The minimum required Ruby version is now 1.9.3.

What's Changed

  • Removed require 'rubygems' which was only needed for Ruby 1.8.7 compatibility
  • Updated documentation to reflect minimum Ruby version of 1.9.3

Migration Notes

If you are still running Ruby 1.8.7:

  • Upgrade to Ruby 1.9.3 or later (tested up to Ruby 3.3.5)
  • If upgrading is not possible, continue using version 1.13.0

Why This Change?

Ruby 1.8.7 reached end-of-life in June 2013 (over 11 years ago). Dropping support allows us to:

  • Use modern Ruby standard library features
  • Simplify the codebase by removing legacy compatibility code
  • Better support modern OpenSSL capabilities

Full Changelog: 1.13.0...1.14.0

1.13.0

16 Oct 10:52
5d8920f

Choose a tag to compare

What's New

This release adds a comprehensive test suite to improve code quality and maintainability. The plugin itself remains completely standalone with no changes to functionality.

Added

  • Comprehensive test suite using Minitest covering:
    • Utility functions (hash flattening, Nagios threshold parsing)
    • Nagios module behavior (exit codes, output formatting)
    • Argument validation and error handling
    • HTTP integration with mocked requests
  • Development documentation in README
  • Gemfile for test dependencies (optional, not required to use the plugin)

Changed

  • Updated .gitignore to exclude Gemfile.lock
  • Clarified license applies to entire project in README

Notes

The check_http_json.rb script remains completely self-contained with no external dependencies beyond Ruby's standard library. The test infrastructure is entirely optional for users.

Full Changelog: 1.12.0...1.13.0

1.12.0

16 Oct 08:43
7319a08

Choose a tag to compare

Breaking Change

  • For users relying on unverified HTTPS, you must now use --insecure argument.

The rest…

1.11.1

21 Jul 12:48
cb10e43

Choose a tag to compare

What's Changed

Full Changelog: 1.11.0...1.11.1

1.11.0

14 May 13:09
44a6243

Choose a tag to compare

What's Changed

  • Add option to perform authentication using SSL certificates by @highpingblorg in #54

New Contributors

Full Changelog: 1.10.0...1.11.0

1.10.0

23 Feb 16:18

Choose a tag to compare

Warning: This release contains a potentially breaking change. See #42 (comment) for more details.

  • Add --output_alt_pipe to replace the sacred pipe (|) characters in the output. (#42)

1.9.1

29 May 16:07
09cd031

Choose a tag to compare

  • Exit gracefully when JSON can't be parsed from either a file or an HTTP source (#52)

1.9.0

02 Feb 16:40
45d649f

Choose a tag to compare

  • Add possibility to define performance data as regular expression (#50)
  • Clarify usage of Nagios threshold ranges format for warning and critical parameter (#51)

1.8.0

17 Aug 16:14
d98a0bf

Choose a tag to compare

  • Improve --status_level handling to deal with non-200's in a better way (#49).

1.7.0

25 Jan 12:19
58a2f0e

Choose a tag to compare

  • Add --status_level_default to set a default return code for unexpected HTTP status codes. (#47)