Skip to content

Commit

Permalink
Update changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Apr 3, 2024
1 parent 79a92c7 commit 11a3090
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changes

# v0.45.0

## Compatibility Fixes

During the `v0.44.0` release cycle, the workflows for testing older rack releases were accidentally dropped. As such, `v0.44.0` was not compatible with older versions of rack. This release restores compatibility with older versions of rack.

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.

In addition, `falcon serve` provides two new options:

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`.

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.

# v0.44.0

## Falcon Host
Expand Down

0 comments on commit 11a3090

Please sign in to comment.