raptor 0.22.1 → 0.22.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: bfbcd63c857341a9ad73f6d4d40d03dac757deb1074dde954dc966b9b268822b
4
- data.tar.gz: 2d2d78611b34df0061f231c18d0c3c0e4bc13f8314b1e61bcfcb9ef7a215297d
3
+ metadata.gz: cb1bd33db4e839d7c8e2ef3717de3123187d4d4960a240811156a0a342d3a086
4
+ data.tar.gz: c1363e325747276176c271b68a2b9f7e066b34fc8073289848720d70b9ba98e5
5
5
  SHA512:
6
- metadata.gz: 6898ded5b172745d15dd411bc6638686cccb07485ca03cf5b6857194e4b8d263e9b02da8fd24f287dd1a60d43a128f7cd2e5524a1e95122233023c58b18fb086
7
- data.tar.gz: 18081bd442db06fc3d60b2686eda2bfb0b36118f6709b23ed88ac8ede2e0a03a39b4ac4bc3c8d95c7d3b50fff52ec071bc414e9041ba7ae9d747fbb450bc0cf6
6
+ metadata.gz: 799e78896522004ad98dd8cb9dc0170d32408bcd507f2fc11d511a753f5b2b04d2fcbff0588463a35245626b069d6c93d07cd3dcab7c2f07fda30c6c4f5134b7
7
+ data.tar.gz: ebc5e4eb852c1af7d413b5a6ed6614d5bd5f3c569bdca6398583fc892485767fbab3770217f0a266ea774303c0e1b16a566fbba69e863e00ea491453e164d281
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.22.2] - 2026-10-03
4
+
5
+ - Load `Raptor::DetachedBody` with `require "raptor"`
6
+
3
7
  ## [0.22.1] - 2026-10-03
4
8
 
5
9
  - Stop waiting for more HTTP/2 frames on the collector thread
data/README.md CHANGED
@@ -37,7 +37,7 @@ run proc { |_env| [200, { "content-type" => "text/plain" }, ["Hello, World!"]] }
37
37
  ```
38
38
  > bundle exec raptor -w 10 -t 3 hello_world.ru
39
39
  [Raptor 72876|Main|Main] Cluster initializing:
40
- [Raptor 72876|Main|Main] ├─ Version: 0.22.1
40
+ [Raptor 72876|Main|Main] ├─ Version: 0.22.2
41
41
  [Raptor 72876|Main|Main] ├─ Ruby Version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +PRISM [arm64-darwin23]
42
42
  [Raptor 72876|Main|Main] ├─ Environment: development
43
43
  [Raptor 72876|Main|Main] ├─ Master PID: 72876
@@ -208,7 +208,7 @@ Set `control_url` to a Unix socket URL such as `unix:///tmp/raptor-control.sock`
208
208
 
209
209
  ## (Micro) Benchmarks
210
210
 
211
- Raptor 0.22.1 vs Puma 8.0.2 vs Falcon 0.57.0 across two workload profiles. **IO-bound** is a GET endpoint that
211
+ Raptor 0.22.2 vs Puma 8.0.2 vs Falcon 0.57.0 across two workload profiles. **IO-bound** is a GET endpoint that
212
212
  interleaves 5-10 short sleeps (total 2.5-15ms) with small CPU work, simulating a read path that makes several DB or
213
213
  cache calls. **CPU-bound** is a POST endpoint that accepts a small JSON body, interleaves 3-5 chunks of JSON item
214
214
  building (total 450-1500 items) with sub-100µs sleeps, and returns the built array, simulating a write path that does
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Raptor
5
- VERSION = "0.22.1"
5
+ VERSION = "0.22.2"
6
6
  end
data/lib/raptor.rb CHANGED
@@ -2,6 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require_relative "raptor/version"
5
+ require_relative "raptor/detached_body"
5
6
 
6
7
  # Main module for the Raptor web server.
7
8
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.1
4
+ version: 0.22.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Young