Skip to content

Commit d4eec9c

Browse files
kenhysWatson1978daipom
authored
Release 5.2.0 (#766)
* Bump version to 5.2.0 * Update bundled ruby version * Update bundled ruby gems * Update lock file * Bump version to container toolchains in Windows Dockerfile * Add comment about nokogiri * Add v5.2.0 changelog entry Signed-off-by: Kentaro Hayashi <[email protected]> Co-authored-by: Shizuo Fujita <[email protected]> Co-authored-by: Daijiro Fukuda <[email protected]>
1 parent 7dec774 commit d4eec9c

File tree

8 files changed

+149
-57
lines changed

8 files changed

+149
-57
lines changed

CHANGELOG.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,86 @@
22

33
About the past changelog entries, see [old CHANGELOG](CHANGELOG-v4.md) instead.
44

5+
## Release v5.2.0 - 2024/12/14
6+
7+
### News
8+
9+
* Update bundled Ruby to 3.2.6
10+
* Update bundled Fluentd to v1.18.0
11+
* Update bundled gems
12+
* deb rpm: Fixed to not execute v4 restart migration process unexpectedly.
13+
* msi: set GEM_HOME/GEM_PATH in fluentd.bat
14+
* Support upgrade fluentd service with zero downtime.
15+
Note that you can use this feature when upgrade to the next version of fluent-package.
16+
* fluentd.service: Remove GEM_HOME/GEM_PATH env vars because they are unnecessary.
17+
* deb: suppress service restart by needrestart.
18+
The package places `/etc/needrestart/conf.d/50-fluent-package.conf`.
19+
This is standard version of Fluentd distribution package.
20+
If you want LTS version, stick to use v5.0.x.
21+
22+
### Core component
23+
24+
* ruby v3.2.6 (update)
25+
* jemalloc v3.6.0
26+
* OpenSSL 3.1.0 Windows
27+
* OpenSSL 3.0.8 macOS
28+
* fluentd v1.18.0 (update)
29+
30+
### Core gems
31+
32+
* async-http v0.64.2
33+
* bundler v2.3.26
34+
* cool.io v1.8.1
35+
* http_parser.rb v0.8.0
36+
* msgpack v1.7.3 (update)
37+
* oj v3.16.7 (update)
38+
* serverengine v2.4.0 (update)
39+
* sigdump v0.2.5
40+
* tzinfo v2.0.6
41+
* tzinfo-data v1.2024.2 (update)
42+
* yajl-ruby v1.4.3
43+
44+
### Bundled plugins and gems
45+
46+
* aws-partitions v1.957.0
47+
* aws-sdk-core v3.201.2
48+
* aws-sdk-kms v1.88.0
49+
* aws-sdk-s3 v1.156.0
50+
* aws-sdk-sqs v1.80.0
51+
* aws-sigv4 v1.8.0
52+
* elasticsearch v8.14.0
53+
* fluent-diagtool v1.0.5
54+
* fluent-plugin-calyptia-monitoring v0.1.3
55+
* fluent-plugin-elasticsearch v5.4.3
56+
* fluent-plugin-flowcounter-simple 0.1.0
57+
* fluent-plugin-kafka v0.19.3
58+
* fluent-plugin-metrics-cmetrics v0.1.2
59+
* fluent-plugin-opensearch v1.1.4
60+
* fluent-plugin-prometheus v2.1.0
61+
* fluent-plugin-prometheus_pushgateway v0.1.1
62+
* fluent-plugin-record-modifier v2.2.0
63+
* fluent-plugin-rewrite-tag-filter v2.4.0
64+
* fluent-plugin-s3 v1.8.1 (update)
65+
* fluent-plugin-sd-dns 0.1.0
66+
* fluent-plugin-systemd v1.1.0 (update)
67+
* fluent-plugin-td v1.2.0
68+
* fluent-plugin-utmpx v0.5.0
69+
* fluent-plugin-webhdfs v1.6.0
70+
* mini_portile2 v2.8.2
71+
* prometheus-client v4.1.0
72+
* rdkafka v0.16.1
73+
* ruby-kafka v1.5.0
74+
* systemd-journal v2.0.0 (update)
75+
* td-client v1.0.8
76+
* webhdfs v0.11.0
77+
78+
On Windows
79+
80+
* fluent-plugin-parser-winevt_xml v0.2.7
81+
* fluent-plugin-windows-exporter v1.0.0
82+
* winevt_c v0.11.1 (update)
83+
* nokogiri v1.16.8 (update)
84+
585
## Release v5.1.0 - 2024/07/29
686

787
### News

fluent-package/Gemfile

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ gem "sigdump", "0.2.5"
1414
gem "http_parser.rb", "0.8.0"
1515
gem "yajl-ruby", "1.4.3"
1616
gem "serverengine", '2.4.0'
17-
gem "msgpack", "1.7.2"
18-
gem "oj", "3.16.4"
17+
gem "msgpack", "1.7.3"
18+
gem "oj", "3.16.7"
1919
gem "tzinfo", "2.0.6"
20-
gem "tzinfo-data", "1.2024.1"
20+
gem "tzinfo-data", "1.2024.2"
2121
gem "async", "1.32.1"
2222
# async-http 0.65.0 or later does not support async 1.x
2323
gem "async-http", "0.64.2"
24-
gem "webrick", "1.8.1"
24+
gem "webrick", "1.9.1"
2525

2626
if ENV["INSTALL_GEM_FROM_LOCAL_REPO"]
2727
# During build process, pre-built fluentd gem will be installed
@@ -62,7 +62,7 @@ gem "aws-sdk-kms", "1.88.0"
6262
gem "aws-sdk-sqs", "1.80.0"
6363
gem "aws-sigv4", "1.8.0"
6464
gem "aws-sdk-s3", "1.156.0"
65-
gem "fluent-plugin-s3", "1.7.2"
65+
gem "fluent-plugin-s3", "1.8.1"
6666
gem "httpclient", "2.8.3"
6767
gem "fluent-diagtool", "1.0.5"
6868
# td doesn't support td-client 2.0.0 or later yet
@@ -85,19 +85,20 @@ gem "fluent-plugin-opensearch", "1.1.4"
8585
windows_platforms = [:mingw, :x64_mingw] # :mswin
8686
gem "ffi", "1.17.0", platforms: windows_platforms
8787
gem "ffi-win32-extensions", "1.0.4", platforms: windows_platforms
88-
gem "nokogiri", "1.16.7", platforms: windows_platforms
88+
# keep nokogiri 1.16.x because winevt_xml requires < 1.17
89+
gem "nokogiri", "1.16.8", platforms: windows_platforms
8990
gem "win32-event", "0.6.3", platforms: windows_platforms
9091
gem "win32-ipc", "0.7.0", platforms: windows_platforms
9192
# Use officially released version when PR was merged and released.
9293
#gem "win32-service", "2.3.2", platforms: windows_platforms
93-
gem "winevt_c", "0.11.0", platforms: windows_platforms
94+
gem "winevt_c", "0.11.1", platforms: windows_platforms
9495
gem "win32-eventlog", "0.6.7", platforms: windows_platforms
9596
gem "fluent-plugin-parser-winevt_xml", "0.2.7", platforms: windows_platforms
9697
gem "fluent-plugin-windows-eventlog", "0.9.0", platforms: windows_platforms
9798
gem "fluent-plugin-windows-exporter", "1.0.0", platforms: windows_platforms
9899

99100
not_windows_platforms = [:ruby]
100101
gem "rdkafka", "0.16.1", platforms: not_windows_platforms
101-
gem "systemd-journal", "1.4.2", platforms: not_windows_platforms
102-
gem "fluent-plugin-systemd", "1.0.5", platforms: not_windows_platforms
102+
gem "systemd-journal", "2.0.0", platforms: not_windows_platforms
103+
gem "fluent-plugin-systemd", "1.1.0", platforms: not_windows_platforms
103104
gem "fluent-plugin-utmpx", "0.5.0", platforms: not_windows_platforms

fluent-package/Gemfile.lock

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ GEM
8181
cmetrics (0.3.3)
8282
mini_portile2 (~> 2.7)
8383
concurrent-ruby (1.3.4)
84-
console (1.29.0)
84+
console (1.29.2)
8585
fiber-annotation
8686
fiber-local (~> 1.1)
8787
json
@@ -100,7 +100,7 @@ GEM
100100
elasticsearch-api (8.14.0)
101101
multi_json
102102
excon (1.2.2)
103-
faraday (2.12.1)
103+
faraday (2.12.2)
104104
faraday-net_http (>= 2.0, < 3.5)
105105
json
106106
logger
@@ -169,15 +169,15 @@ GEM
169169
fluent-plugin-rewrite-tag-filter (2.4.0)
170170
fluent-config-regexp-type
171171
fluentd (>= 0.14.2, < 2)
172-
fluent-plugin-s3 (1.7.2)
172+
fluent-plugin-s3 (1.8.1)
173173
aws-sdk-s3 (~> 1.60)
174174
aws-sdk-sqs (~> 1.23)
175175
fluentd (>= 0.14.22, < 2)
176176
fluent-plugin-sd-dns (0.1.0)
177177
fluentd (>= 1.8)
178-
fluent-plugin-systemd (1.0.5)
178+
fluent-plugin-systemd (1.1.0)
179179
fluentd (>= 0.14.11, < 2)
180-
systemd-journal (~> 1.4.2)
180+
systemd-journal (~> 2.0.0)
181181
fluent-plugin-td (1.2.0)
182182
fluentd (>= 0.14.13, < 2)
183183
td-client (>= 1.0.8)
@@ -198,25 +198,27 @@ GEM
198198
http_parser.rb (0.8.0)
199199
httpclient (2.8.3)
200200
jmespath (1.6.2)
201-
json (2.8.2)
201+
json (2.9.0)
202202
linux-utmpx (0.3.0)
203203
bindata (~> 2.4.8)
204-
logger (1.6.1)
204+
logger (1.6.2)
205205
ltsv (0.1.2)
206206
mini_portile2 (2.8.7)
207-
msgpack (1.7.2)
207+
msgpack (1.7.3)
208208
multi_json (1.15.0)
209-
net-http (0.5.0)
209+
net-http (0.6.0)
210210
uri
211211
nio4r (2.7.4)
212-
nokogiri (1.16.7)
212+
nokogiri (1.16.8)
213213
mini_portile2 (~> 2.8.2)
214214
racc (~> 1.4)
215-
oj (3.16.4)
215+
oj (3.16.7)
216216
bigdecimal (>= 3.0)
217+
ostruct (>= 0.2)
217218
opensearch-ruby (3.4.0)
218219
faraday (>= 1.0, < 3)
219220
multi_json (>= 1.0)
221+
ostruct (0.6.1)
220222
parallel (1.20.1)
221223
prometheus-client (2.1.0)
222224
protocol-hpack (1.5.1)
@@ -244,7 +246,7 @@ GEM
244246
sigdump (~> 0.2.2)
245247
sigdump (0.2.5)
246248
strptime (0.2.5)
247-
systemd-journal (1.4.2)
249+
systemd-journal (2.0.0)
248250
ffi (~> 1.9)
249251
td (0.17.1)
250252
hirb (>= 0.4.5)
@@ -268,19 +270,19 @@ GEM
268270
traces (0.14.1)
269271
tzinfo (2.0.6)
270272
concurrent-ruby (~> 1.0)
271-
tzinfo-data (1.2024.1)
273+
tzinfo-data (1.2024.2)
272274
tzinfo (>= 1.0.0)
273275
uri (1.0.2)
274276
webhdfs (0.11.0)
275277
addressable
276-
webrick (1.8.1)
278+
webrick (1.9.1)
277279
win32-event (0.6.3)
278280
win32-ipc (>= 0.6.0)
279281
win32-eventlog (0.6.7)
280282
ffi
281283
win32-ipc (0.7.0)
282284
ffi
283-
winevt_c (0.11.0)
285+
winevt_c (0.11.1)
284286
yajl-ruby (1.4.3)
285287
zip-zip (0.3)
286288
rubyzip (>= 1.0.0)
@@ -319,9 +321,9 @@ DEPENDENCIES
319321
fluent-plugin-prometheus_pushgateway (= 0.1.1)
320322
fluent-plugin-record-modifier (= 2.2.0)
321323
fluent-plugin-rewrite-tag-filter (= 2.4.0)
322-
fluent-plugin-s3 (= 1.7.2)
324+
fluent-plugin-s3 (= 1.8.1)
323325
fluent-plugin-sd-dns (= 0.1.0)
324-
fluent-plugin-systemd (= 1.0.5)
326+
fluent-plugin-systemd (= 1.1.0)
325327
fluent-plugin-td (= 1.2.0)
326328
fluent-plugin-utmpx (= 0.5.0)
327329
fluent-plugin-webhdfs (= 1.6.0)
@@ -332,28 +334,28 @@ DEPENDENCIES
332334
httpclient (= 2.8.3)
333335
jmespath (= 1.6.2)
334336
mini_portile2 (= 2.8.7)
335-
msgpack (= 1.7.2)
336-
nokogiri (= 1.16.7)
337-
oj (= 3.16.4)
337+
msgpack (= 1.7.3)
338+
nokogiri (= 1.16.8)
339+
oj (= 3.16.7)
338340
opensearch-ruby (= 3.4.0)
339341
prometheus-client (= 2.1.0)
340342
rake
341343
rdkafka (= 0.16.1)
342344
ruby-kafka (= 1.5.0)
343345
serverengine (= 2.4.0)
344346
sigdump (= 0.2.5)
345-
systemd-journal (= 1.4.2)
347+
systemd-journal (= 2.0.0)
346348
td (= 0.17.1)
347349
td-client (= 1.0.8)
348350
tzinfo (= 2.0.6)
349-
tzinfo-data (= 1.2024.1)
351+
tzinfo-data (= 1.2024.2)
350352
webhdfs (= 0.11.0)
351-
webrick (= 1.8.1)
353+
webrick (= 1.9.1)
352354
win32-event (= 0.6.3)
353355
win32-eventlog (= 0.6.7)
354356
win32-ipc (= 0.7.0)
355357
win32-service!
356-
winevt_c (= 0.11.0)
358+
winevt_c (= 0.11.1)
357359
yajl-ruby (= 1.4.3)
358360

359361
BUNDLED WITH

fluent-package/bump-version-v6.patch

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 887c36b60822995aa889fea6a181f00975cdfff7 Mon Sep 17 00:00:00 2001
1+
From 22ef9f8d96e796933b490bf1bf8c41425e6d621e Mon Sep 17 00:00:00 2001
22
From: Kentaro Hayashi <[email protected]>
3-
Date: Thu, 17 Oct 2024 19:45:02 +0900
4-
Subject: [PATCH 1/2] bump version
3+
Date: Wed, 11 Dec 2024 22:55:30 +0900
4+
Subject: [PATCH] bump version to 6.0.0
55

66
Signed-off-by: Kentaro Hayashi <[email protected]>
77
---
@@ -11,12 +11,12 @@ Signed-off-by: Kentaro Hayashi <[email protected]>
1111
3 files changed, 12 insertions(+), 3 deletions(-)
1212

1313
diff --git a/fluent-package/config.rb b/fluent-package/config.rb
14-
index a9e13bc..e61bca4 100644
14+
index 8219301..7d4fec7 100644
1515
--- a/fluent-package/config.rb
1616
+++ b/fluent-package/config.rb
1717
@@ -1,5 +1,5 @@
1818
PACKAGE_NAME = "fluent-package"
19-
-PACKAGE_VERSION = "5.1.0"
19+
-PACKAGE_VERSION = "5.2.0"
2020
+PACKAGE_VERSION = "6.0.0"
2121

2222
# Keep internal path (/opt/td-agent) for package name migration
@@ -25,39 +25,39 @@ index a9e13bc..e61bca4 100644
2525
BUNDLER_VERSION= "2.3.27"
2626

2727
# https://www.ruby-lang.org/en/downloads/ (tar.gz)
28-
-BUNDLED_RUBY_VERSION = "3.2.5"
29-
-BUNDLED_RUBY_SOURCE_SHA256SUM = "ef0610b498f60fb5cfd77b51adb3c10f4ca8ed9a17cb87c61e5bea314ac34a16"
30-
+BUNDLED_RUBY_VERSION = "3.3.5"
31-
+BUNDLED_RUBY_SOURCE_SHA256SUM = "3781a3504222c2f26cb4b9eb9c1a12dbf4944d366ce24a9ff8cf99ecbce75196"
28+
-BUNDLED_RUBY_VERSION = "3.2.6"
29+
-BUNDLED_RUBY_SOURCE_SHA256SUM = "d9cb65ecdf3f18669639f2638b63379ed6fbb17d93ae4e726d4eb2bf68a48370"
30+
+BUNDLED_RUBY_VERSION = "3.3.6"
31+
+BUNDLED_RUBY_SOURCE_SHA256SUM = "8dc48fffaf270f86f1019053f28e51e4da4cce32a36760a0603a9aee67d7fd8d"
3232

3333
BUNDLED_RUBY_PATCHES = [
3434
# An example entry:
3535
diff --git a/fluent-package/debian/changelog b/fluent-package/debian/changelog
36-
index f24ec3e..0089f56 100644
36+
index 0a73dbb..2614fac 100644
3737
--- a/fluent-package/debian/changelog
3838
+++ b/fluent-package/debian/changelog
3939
@@ -1,3 +1,9 @@
4040
+fluent-package (6.0.0-1) unstable; urgency=low
4141
+
4242
+ * New upstream release.
4343
+
44-
+ -- Kentaro Hayashi <[email protected]> Tue, 8 Oct 2024 07:47:29 -0000
44+
+ -- Kentaro Hayashi <[email protected]> Fri, 29 Aug 2025 13:55:06 -0000
4545
+
46-
fluent-package (5.1.0-1) unstable; urgency=low
46+
fluent-package (5.2.0-1) unstable; urgency=low
4747

4848
* New upstream release.
4949
diff --git a/fluent-package/yum/fluent-package.spec.in b/fluent-package/yum/fluent-package.spec.in
50-
index 4833f8e..da9da8c 100644
50+
index 45f0519..240f30c 100644
5151
--- a/fluent-package/yum/fluent-package.spec.in
5252
+++ b/fluent-package/yum/fluent-package.spec.in
53-
@@ -478,6 +478,9 @@ fi
53+
@@ -439,6 +439,9 @@ fi
5454
# NOTE: %{_tmpfilesdir} is available since CentOS 7
5555
%attr(0755,fluentd,fluentd) %dir /tmp/@PACKAGE_DIR@
5656
%changelog
57-
+* Mon Oct 7 2024 Kentaro Hayashi <[email protected]> - 6.0.0-1
58-
+- New upstream release. (Dummy)
57+
+* Fri Aug 29 2025 Kentaro Hayashi <[email protected]> - 6.0.0-1
58+
+- New upstream release.
5959
+
60-
* Mon Jul 29 2024 Kentaro Hayashi <[email protected]> - 5.1.0-1
60+
* Sat Dec 14 2024 Kentaro Hayashi <[email protected]> - 5.2.0-1
6161
- New upstream release.
6262

6363
--

fluent-package/config.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PACKAGE_NAME = "fluent-package"
2-
PACKAGE_VERSION = "5.1.0"
2+
PACKAGE_VERSION = "5.2.0"
33

44
# Keep internal path (/opt/td-agent) for package name migration
55
SERVICE_NAME = "fluentd"
@@ -23,17 +23,17 @@
2323
BUNDLER_VERSION= "2.3.27"
2424

2525
# https://www.ruby-lang.org/en/downloads/ (tar.gz)
26-
BUNDLED_RUBY_VERSION = "3.2.5"
27-
BUNDLED_RUBY_SOURCE_SHA256SUM = "ef0610b498f60fb5cfd77b51adb3c10f4ca8ed9a17cb87c61e5bea314ac34a16"
26+
BUNDLED_RUBY_VERSION = "3.2.6"
27+
BUNDLED_RUBY_SOURCE_SHA256SUM = "d9cb65ecdf3f18669639f2638b63379ed6fbb17d93ae4e726d4eb2bf68a48370"
2828

2929
BUNDLED_RUBY_PATCHES = [
3030
# An example entry:
3131
# ["ruby-3.0/0001-ruby-resolv-Fix-confusion-of-received-response-messa.patch", ["= 3.0.1"]],
3232
]
3333

3434
# https://rubyinstaller.org/downloads/ (7-ZIP ARCHIVES)
35-
BUNDLED_RUBY_INSTALLER_X64_VERSION = "3.2.5-1"
36-
BUNDLED_RUBY_INSTALLER_X64_SHA256SUM = "3e17f7e60834cfac4b2aae13677c19d3222b52bee328c3c22629246c00cd543c"
35+
BUNDLED_RUBY_INSTALLER_X64_VERSION = "3.2.6-1"
36+
BUNDLED_RUBY_INSTALLER_X64_SHA256SUM = "549616f2964301616fd713e5590f024b63b28d6cc5e5033c87eff32e0d1fa2d2"
3737

3838
# Files under rubyinstaller/ are patches for RubyInstaller's binary package.
3939
# Other patches for Ruby's source tree which can be shared with BUNDLED_RUBY_PATCHES.

0 commit comments

Comments
 (0)