Skip to content

Commit 0c049ba

Browse files
committed
docs: update references to 4.2.1 to read 4.3.0 instead
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
1 parent 8b625b4 commit 0c049ba

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/book/v4/cookbook/provide-a-request-id.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ This approach:
6868

6969
## Alternate solution
7070

71-
INFO: Available since 4.2.1
71+
INFO: Available since 4.3.0
7272

73-
As of mezzio-swoole 4.2.1, you can now define and consume a `Laminas\Diactoros\ServerRequestFilter\FilterServerRequestInterface` service to modify the `ServerRequestInterface` generated when a request arrives.
73+
As of mezzio-swoole 4.3.0, you can now define and consume a `Laminas\Diactoros\ServerRequestFilter\FilterServerRequestInterface` service to modify the `ServerRequestInterface` generated when a request arrives.
7474
This can be done in one of two ways, depending on whether or not you explicitly define the `FilterServerRequestInterface` service.
7575

7676
### Without a defined FilterServerRequestInterface

docs/book/v4/migration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ To change behavior of the class, we recommend using its [event system](events.md
2222

2323
## ServerRequestSwooleFactory
2424

25-
INFO: Since 4.2.1
25+
INFO: Since 4.3.0
2626

27-
Starting in version 4.2.1, the behavior of `Mezzio\Swoole\ServerRequestSwooleFactory` changes slightly with regards to how it handles the various `X-Forwarded-*` headers.
27+
Starting in version 4.3.0, the behavior of `Mezzio\Swoole\ServerRequestSwooleFactory` changes slightly with regards to how it handles the various `X-Forwarded-*` headers.
2828
These headers are conventionally used when a server is behind a load balancer or reverse proxy in order to present to the application the URL that initiated a request.
29-
Starting in version 4.2.1, by default, these headers are only honored if the request received originates from a reserved subnet (e.g., localhost; class A, B, and C subnets; IPv6 private and local-link subnets).
29+
Starting in version 4.3.0, by default, these headers are only honored if the request received originates from a reserved subnet (e.g., localhost; class A, B, and C subnets; IPv6 private and local-link subnets).
3030

3131
If you want to honor these headers from any source, or if you never want to allow them, you can provide an alternate implementation via the `Laminas\Diactoros\ServerRequestFilter\FilterServerRequestInterface` service.
3232
As an example, you could use the following to dis-allow them:

0 commit comments

Comments
 (0)