9.2.5 (2026-12-01)

Overview of merged pull requests

BUGFIX: Trusted ProxiesMiddleware resolves clientIp correctly when multiple addresses are passed

When proxies are configured explicitly or via cidr pattern the clientIp is resolved to the rightmost valid ip-address, while skipping over proxy IPs and invalid IPs. When proxies are trusted globally proxies: "*" the clientIp is resolved to the leftmost valid ip-address.

  • Packages: Flow

BUGFIX: Forget session scoped objects on Session::destroy()

  • Packages: Flow

BUGFIX: CidrMatch handles v4 in v6 address correctly

v4inv6 ip addresses are now converted to v4 while adjusting the number of significant bits. This ensures that the significant parts of a v4inv6 address are still compared and not the leading zeros.

  • Packages: Flow

BUGFIX: Escape then/else arguments of FluidAdaptor condition ViewHelpers

  • Packages: FluidAdaptor

BUGFIX: Prevent persisting of forged serialized entities or value objects

The JsonArrayType and ObjectArray now throw en exception during encoding if they encounter the array-keys __flow_object_type or __value_object_type.

  • Packages: Flow

BUGFIX: Normalize property names in PropertyMappingConfiguration exclusion lists

Property names passed to allowAllPropertiesExcept() and skipProperties() are now normalized, so that shouldMap() and shouldSkip() behave consistently regardless of the notation of the source property name.

  • Packages: Flow

BUGFIX: Anchored hash pattern in ResourceTypeConverter

  • Packages: Flow

BUGFIX: Reject non-iterable operands in Doctrine Query::in()

  • Packages: Flow

BUGFIX: RequestPattern/Uri matches case insensitive and encoded urls

The Uri-RequestPattern are adjusted: - pathes are decoded before matching - pathes now match case insensitive

This ensures the behavior of the uri-filter is now parallel to the handling of dynamic route parts that also supports percent encoded urls.

  • Packages: Flow

BUGFIX: PSR6/16 Caches handle lifetime according to spec

PSR16 CacheInterface (Simple Cache):

  • If items are set with a lifetime of 0 or negative the key is removed from the backend. This is needed because the previous semantic that 0 means indefinite storage while common in flow is not specified in the PSR.

  • The calculation of the lifetime from DateInterval is corrected

PSR6 CacheItemPoolInterface (Caching Interface):

  • If items are saved with a lifetime of 0 or negative the key is removed from the backend. This is needed because the previous semantic that 0 means indefinite storage while common in flow is not specified in the PSR.

  • Packages: Cache

BUGFIX: Respect configured collection in ResourceTypeConverter

If a collection name is configured via the property mapping configuration, it can no longer be overridden by the source unless the new option allowCollectionOverride is set to true.

The collectionName key of the source is no longer evaluated, __collectionName is the only supported way to specify a collection.

  • Packages: Flow

BUGFIX: Add related entities container if serialization code is forced

The proxy builder only adds the related entities container if it can detect an entity relation from the property types. For entities in an untyped array (e.g. array<string, mixed>) it cannot, and serializing such an object throws, asking to set forceSerializationCode in the Proxy annotation - which does not help, because the container is still missing.

With forceSerializationCode set the container is now always added, so persisted entities are serialized as references and restored on wakeup.

  • Packages: Flow

BUGFIX: Do not autowire constructor arguments passed explicitly as null

With runtime constructor injection, ObjectManager::autowireArguments() checks passed arguments with isset(), so an argument passed explicitly as null is replaced by the autowired dependency. The generated proxy constructors before 9.2 used array_key_exists() and kept the null.

This restores that behaviour, so calling code can still opt out of an optional dependency, e.g. $objectManager->get(Foo::class, null, $bar).

  • Packages: Flow

TASK: Add PHP 8.6 to CI pipeline

  • Packages: Flow .github

TASK: Allow psr/http-message 2.0

Flow now accepts psr/http-message ^1.0 || ^2.0. Applications can install libraries that require version 2, for example league/oauth2-server 9. Until now, composer refused to install them next to Flow.

ContentStream and UploadedFile now declare the return types that the 2.0 interfaces require. Their parameters stay untyped, so both classes still implement the 1.x interfaces too. The other PSR-7 dependencies (guzzlehttp/psr7 2.x, psr/http-factory, psr/http-client, psr/http-server-handler) already support both versions, so their constraints stay as they are.

Upgrade instructions

You only need to act if your code extends Neos\\Flow\\Http\\ContentStream or Neos\\Flow\\Http\\UploadedFile and overrides one of the PSR-7 methods. In that case, add the same return type to your override. ContentStream::seek() and ContentStream::rewind() now return void instead of true.

Review instructions

Run the unit and functional tests once with psr/http-message 1.1 and once with 2.0 installed in the distribution, for example with composer require psr/http-message:^2.0. Without this change, ContentStream cannot be loaded at all when 2.0 is installed.

  • Packages: Flow

Detailed log