Repository navigation
Merge release 3.18.0 into 4.0.x - #344
Merged
Merged
Conversation
Like the doctrine bundle, the registries and metadata of aggregates, events and subscribers are now cached without debug, in a php file in the build dir that is created by the cache warmer. Previously the paths were scanned and the classes reflected on every request. With debug nothing is cached, so changes are picked up immediately. The compiler passes no longer get the aggregate root registry from the container, since it would be read from the cache while compiling. Requires patchlevel/event-sourcing 3.22.1, which uses valid PSR-6 keys for the metadata. Cache the hydrator metadata The metadata cache now also holds the hydrator metadata of the events, headers and aggregates with snapshots, for the stack hydrator as well as for the legacy metadata hydrator. Requires patchlevel/hydrator 1.24.3, which uses valid PSR-6 keys and restores the metadata completely when it is loaded from a cache.
Add metadata cache
…-4.0.x_JWj88MRG # Conflicts: # composer.json # composer.lock # src/DependencyInjection/CommandHandlerCompilerPass.php # src/DependencyInjection/HandlerServiceLocatorCompilerPass.php # src/DependencyInjection/PatchlevelEventSourcingExtension.php # src/DependencyInjection/RepositoryCompilerPass.php # tests/Unit/PatchlevelEventSourcingBundleTest.php
DavidBadura
approved these changes
Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release Notes for 3.18.0
Feature release (minor)
3.18.0
enhancement
documentation
SubscriberUtilfrom the getting started docs thanks to @DanielBadura