Skip to content

Commit efebe29

Browse files
wiibaaSuyog Rao
authored andcommitted
Remove deprecated config for 5.0 (logstash-plugins#40)
* remove deprecated config verify_ssl in favor of mixin-html_client config 'ssl_certificate_validation' * raise only minor version
1 parent 15d482f commit efebe29

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

CHANGELOG.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1+
## 3.1.0
2+
- breaking,config: Remove deprecated config 'verify_ssl'. Please use 'ssl_certificate_validation'.
3+
14
## 3.0.1
2-
- Republish all the gems under jruby.
5+
- Republish all the gems under jruby.
6+
37
## 3.0.0
4-
- Update the plugin to the version 2.0 of the plugin api, this change is required for Logstash 5.0 compatibility. See https://github.com/elastic/logstash/issues/5141
5-
# 2.1.3
6-
- Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
7-
# 2.1.2
8-
- New dependency requirements for logstash-core for the 5.0 release
8+
- Update the plugin to the version 2.0 of the plugin api, this change is required for Logstash 5.0 compatibility. See https://github.com/elastic/logstash/issues/5141
9+
10+
## 2.1.3
11+
- Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
12+
13+
## 2.1.2
14+
- New dependency requirements for logstash-core for the 5.0 release
15+
916
## 2.1.1
1017
- Require http_client mixin with better keepalive handling
1118

@@ -25,7 +32,8 @@
2532
instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
2633
- Dependency on logstash-core update to 2.0
2734

28-
* 1.1.0
29-
- Concurrent execution
30-
- Add many HTTP options via the http_client mixin
31-
- Switch to manticore as HTTP Client
35+
## 1.1.0
36+
- Concurrent execution
37+
- Add many HTTP options via the http_client mixin
38+
- Switch to manticore as HTTP Client
39+

lib/logstash/outputs/http.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ class LogStash::Outputs::Http < LogStash::Outputs::Base
2626
# URL to use
2727
config :url, :validate => :string, :required => :true
2828

29-
# DEPRECATED. Set 'ssl_certificate_validation' instead
30-
config :verify_ssl, :validate => :boolean, :default => true, :deprecated => "Please use 'ssl_certificate_validation' instead. This option will be removed in a future release!"
31-
3229
# The HTTP Verb. One of "put", "post", "patch", "delete", "get", "head"
3330
config :http_method, :validate => VALID_METHODS, :required => :true
3431

@@ -65,8 +62,6 @@ class LogStash::Outputs::Http < LogStash::Outputs::Base
6562
config :message, :validate => :string
6663

6764
def register
68-
# Handle this deprecated option. TODO: remove the option
69-
@ssl_certificate_validation = @verify_ssl if @verify_ssl
7065
@http_method = @http_method.to_sym
7166

7267
# We count outstanding requests with this queue

logstash-output-http.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22

33
s.name = 'logstash-output-http'
4-
s.version = '3.0.1'
4+
s.version = '3.1.0'
55
s.licenses = ['Apache License (2.0)']
66
s.summary = "This output lets you `PUT` or `POST` events to a generic HTTP(S) endpoint"
77
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"

0 commit comments

Comments
 (0)