falcon 0.54.0 → 0.54.1

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: 6fd837dac48b7cdfe111b4747b6d244bc78c0c2116d2bdc25fd5491c9a6527aa
4
- data.tar.gz: 5d279dfce1559c6d473de9dbf97a83e2881bec1dad32b6707701a8e9b0386d40
3
+ metadata.gz: 2c3f4297ca318c67cd039cce9c7db0c6714751b0e476abdbc28b49882fbfe1a1
4
+ data.tar.gz: '02898c19485399ae53e9e85f741af7026ea70c3a28b9942fe6ab4f793cf780ca'
5
5
  SHA512:
6
- metadata.gz: ae04484955b7e32ef80bdcd6375881193fb08edee5985d9dddd610482c8b45b19bdd25f27ac74d0978dad4049b7014a50d373a3e903e40b6b126c682b7cf41c8
7
- data.tar.gz: f44774e045e66365a7cb2fc548e6932168c3f2dc9c90c4e8c2c45d29b4836c54c8f68493497f41ff5b3a07c6e24d693ec7e9df9af12a124530a2f7592fa5a9a0
6
+ metadata.gz: 39d37d7b59904727e9f33e8d18a8dd76bd971689cc67803ab601c06d56b62c34d2598f94902feee787066b48d99da914f8d5e7d61864cf1e27cfd96e4ed1d72a
7
+ data.tar.gz: e83c1d9d0431df6a71820662605f75fbc5143397f7deee487096646925a210c183a980e4f6a88194abf2d819d51e8572a03ee3fe1bbc69b422eb459771170ef5
checksums.yaml.gz.sig CHANGED
Binary file
@@ -38,7 +38,7 @@ module Falcon
38
38
  # @parameter evaluator [Environment::Evaluator] The environment evaluator.
39
39
  # @returns [Falcon::Server] The server instance.
40
40
  def run(instance, evaluator)
41
- if evaluator.key?(:make_supervised_worker)
41
+ if evaluator.respond_to?(:make_supervised_worker)
42
42
  Console.warn(self, "Async::Container::Supervisor is replaced by Async::Services::Supervisor, please update your service definition.")
43
43
 
44
44
  evaluator.make_supervised_worker(instance).run
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2017-2025, by Samuel Williams.
5
5
 
6
6
  module Falcon
7
- VERSION = "0.54.0"
7
+ VERSION = "0.54.1"
8
8
  end
data/readme.md CHANGED
@@ -47,6 +47,10 @@ Please see the [project documentation](https://socketry.github.io/falcon/) for m
47
47
 
48
48
  Please see the [project releases](https://socketry.github.io/falcon/releases/index) for all releases.
49
49
 
50
+ ### v0.54.1
51
+
52
+ - Fix handling of old style supervisors from `Async::Container::Supervisor`.
53
+
50
54
  ### v0.54.0
51
55
 
52
56
  - Introduce `Falcon::CompositeServer` for hosting multiple server instances in a single worker.
@@ -91,14 +95,6 @@ During the `v0.44.0` release cycle, the workflows for testing older rack release
91
95
 
92
96
  Specifically, `protocol-rack` now provides `Protocol::Rack::Adapter.parse_file` to load Rack applications. Rack 2's `Rack::Builder.parse_file` returns both the application and a set of options (multi-value return). Rack 3 changed this to only return the application, as the prior multi-value return was confusing at best. This change allows `protocol-rack` to work with both versions of rack, and `falcon` adopts that interface.
93
97
 
94
- ### Falcon Serve Options
95
-
96
- In addition, `falcon serve` provides two new options:
97
-
98
- 1. `--[no]-restart` which controls what happens when `async-container` instances crash. By default, `falcon serve` will restart the container when it crashes. This can be disabled with `--no-restart`.
99
-
100
- 2. `--graceful-stop [timeout]` which allows you to specify a timeout for graceful shutdown. This is useful when you want to stop the server, but allow existing connections to finish processing before the server stops. This feature is highly experimental and doesn't work correctly in all cases yet, but we are aiming to improve it.
101
-
102
98
  ## Contributing
103
99
 
104
100
  We welcome contributions to this project.
data/releases.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Releases
2
2
 
3
+ ## v0.54.1
4
+
5
+ - Fix handling of old style supervisors from `Async::Container::Supervisor`.
6
+
3
7
  ## v0.54.0
4
8
 
5
9
  - Introduce `Falcon::CompositeServer` for hosting multiple server instances in a single worker.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falcon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.54.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file