fluentd-json-size-limit 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 953678059c8a855fc9896f2ee73e6dd191ea8e604d71c3ae3a4f75a74567abfa
4
- data.tar.gz: 1270db89c4a3f055e9e54a783e82c9958a80c50a6aa66768ad7d24168e7c7540
3
+ metadata.gz: 0dbc24fd9003c9959e275cb5293504285f1ad3425ec41f7137d306e27c4e2240
4
+ data.tar.gz: db3bf0f157043b0620d7f5dfca63702200f32edb7034809db0aee8995e6c0c79
5
5
  SHA512:
6
- metadata.gz: 28e2ad59f4548b104c840adffcf72af5fb80ce61da5d6f5330706323fdd39fdf636dd3165d987ffd8a3f3b1e2609f5a1f85b028d8a90bd53f296e466f8d974af
7
- data.tar.gz: 23d31bd1a25b3e363b0d12ebf380da40c88b5b123d9521ebff8339b4a29671f734c937c86f8867f85e4df1156d0665dc7db8f87d780e042fa984d997abaa85d6
6
+ metadata.gz: e6f75642c7777051ff3a6d5670dbe291abf332b537100eb286a60b29abd36bb2bccd25c9e082c8dfce7507de0a245ce864f74cfd91850a49abc9bfda89758283
7
+ data.tar.gz: 7a8044ba94f29965b3e867f892503b5c93254811415148c36fca8d7b09bca7621e4b29b70ded820aa3d7b369c879cc69a621a89e686eea545d3526a2d34b51c6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.2
4
+
5
+ - Require Fluentd 1.19.4 or later.
6
+ - Update dependencies to fix GHSA-5hq3-r276-rfr5, GHSA-g69w-f42r-xp35,
7
+ GHSA-h3xv-5jpx-r4j2, CVE-2026-126366, and CVE-2026-71847.
8
+ - Test on x86_64 and arm64.
9
+
3
10
  ## 0.2.0
4
11
 
5
12
  - Replace iterative whole-record serialization with a deterministic byte-budget reducer.
@@ -11,7 +18,7 @@
11
18
  - Remove the obsolete attempt-count configuration; reduction is now deterministic.
12
19
  - Declare Ruby 3.3+ and Fluentd 1.16.11+ support.
13
20
  - Use Ruby 4.0.6 and Fluentd 1.19.3 for development and release validation.
14
- - Require a maintained JSON 2.19.2+ runtime instead of relying on whichever default gem ships with Ruby.
21
+ - Use the JSON implementation bundled with supported Ruby versions without forcing native extension installation.
15
22
  - Add expanded unit, integration, property, packaging, lint, and benchmark coverage.
16
23
  - Split filter orchestration, processing, measurement, reduction, safety,
17
24
  configuration, telemetry, logging, and errors into focused components.
data/README.md CHANGED
@@ -5,7 +5,7 @@ Fluentd filter that limits the byte size of `JSON.generate(record)` by truncatin
5
5
  ## Requirements
6
6
 
7
7
  - Ruby `>= 3.3, < 5`
8
- - Fluentd `>= 1.16.11, < 2`
8
+ - Fluentd `>= 1.19.4, < 2`
9
9
 
10
10
  ## Installation
11
11
 
@@ -39,6 +39,5 @@ Gem::Specification.new do |spec|
39
39
  spec.add_development_dependency "standard", [">= 1.56", "< 2"]
40
40
  spec.add_development_dependency "test-unit", [">= 3.6", "< 4"]
41
41
 
42
- spec.add_runtime_dependency "fluentd", [">= 1.16.11", "< 2"]
43
- spec.add_runtime_dependency "json", [">= 2.19.2", "< 3"]
42
+ spec.add_runtime_dependency "fluentd", [">= 1.19.4", "< 2"]
44
43
  end
@@ -3,7 +3,7 @@
3
3
  module Fluent
4
4
  module Plugin
5
5
  module JsonSizeLimit
6
- VERSION = "0.2.0"
6
+ VERSION = "0.2.2"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluentd-json-size-limit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CreatorIQ
@@ -135,7 +135,7 @@ dependencies:
135
135
  requirements:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 1.16.11
138
+ version: 1.19.4
139
139
  - - "<"
140
140
  - !ruby/object:Gem::Version
141
141
  version: '2'
@@ -145,30 +145,10 @@ dependencies:
145
145
  requirements:
146
146
  - - ">="
147
147
  - !ruby/object:Gem::Version
148
- version: 1.16.11
148
+ version: 1.19.4
149
149
  - - "<"
150
150
  - !ruby/object:Gem::Version
151
151
  version: '2'
152
- - !ruby/object:Gem::Dependency
153
- name: json
154
- requirement: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - ">="
157
- - !ruby/object:Gem::Version
158
- version: 2.19.2
159
- - - "<"
160
- - !ruby/object:Gem::Version
161
- version: '3'
162
- type: :runtime
163
- prerelease: false
164
- version_requirements: !ruby/object:Gem::Requirement
165
- requirements:
166
- - - ">="
167
- - !ruby/object:Gem::Version
168
- version: 2.19.2
169
- - - "<"
170
- - !ruby/object:Gem::Version
171
- version: '3'
172
152
  description: Reduces oversized Fluentd JSON records by safely and proportionally truncating
173
153
  nested string values.
174
154
  email:
@@ -219,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
199
  - !ruby/object:Gem::Version
220
200
  version: '0'
221
201
  requirements: []
222
- rubygems_version: 4.0.16
202
+ rubygems_version: 4.0.20
223
203
  specification_version: 4
224
204
  summary: Fluentd filter that enforces a maximum JSON record size
225
205
  test_files: []