Skip to content

Commit f0ec16b

Browse files
committed
prep for 4.0.0 release
Signed-off-by: Ben Abrams <me@benabrams.it>
1 parent db58879 commit f0ec16b

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44
This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md).
55

66
## [Unreleased]
7-
- check-postgres-replication.rb - critical if slave is undefined, localhost or master and slave are same
7+
8+
## [4.0.0] - 2020-01-09
9+
10+
### Breaking Changes
11+
- Update `sensu-plugin` dependency from `~> 1.2` to `~> 4.0` you can read the changelog entries for [4.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#400---2018-02-17), [3.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#300---2018-12-04), and [2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29)
12+
- `check-postgres-replication.rb`: both `--slave-host` and `master-host` arguments are now required flags where previously they had localhost defaults (@phumpal)
813

914
### Fixed
10-
- check-postgres-replication.rb: fix condition where connection timeout is considered a boolean rather than an integer value (@majormoses) (@phumpal) (@VeselaHouba)
15+
- `check-postgres-replication.rb`: fix condition where connection timeout is considered a boolean rather than an integer value (@majormoses) (@phumpal) (@VeselaHouba)
16+
- `check-postgres-replication.rb`: critical if the master and slave are same (@phumpal)
1117

1218
### Added
1319
- `check-postgres-query.rb`: Add `-r`, `--regex-pattern` to match query result against (@jindraj)
@@ -19,9 +25,6 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
1925
- Updated runtime dependency to 'pg' '1.2.1' from 1.1
2026
- Updated runtime dependency 'dentaku' '3.3.4' from 2.04
2127

22-
### Breaking Changes
23-
- Update `sensu-plugin` dependency from `~> 1.2` to `~> 4.0` you can read the changelog entries for [4.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#400---2018-02-17), [3.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#300---2018-12-04), and [2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29)
24-
2528
## [3.0.0] - 2019-11-20
2629
### Breaking Changes
2730
- Removed ruby < 2.4 since these Rubies are EOL (@phumpal)
@@ -203,7 +206,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
203206
### Added
204207
- initial release
205208

206-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/3.0.0...HEAD
209+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/4.0.0...HEAD
210+
[4.0.0]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/3.0.0...4.0.0
207211
[3.0.0]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.4.0...3.0.0
208212
[2.4.0]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.3.2...2.4.0
209213
[2.3.2]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.3.1...2.3.2

lib/sensu-plugins-postgres/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module SensuPluginsPostgres
44
module Version
5-
MAJOR = 3
5+
MAJOR = 4
66
MINOR = 0
77
PATCH = 0
88

0 commit comments

Comments
 (0)