docs: complete 4.0 upgrade guide for merged breaking changes#861
Merged
Conversation
07465d7 to
4e252ab
Compare
|
Hello 👋 here is the most recent benchmark result:
This comment gets update everytime a new commit comes in! |
DanielBadura
approved these changes
Jun 14, 2026
Document the breaking changes from the merged 4.0 PRs that were missing from the upgrade guide: - stream refactor (#847): Store\Stream interface replaced by the concrete Message\Stream class, removed store-specific stream implementations, Message\Pipe removed in favor of Stream::transform() - removed deprecated SubscriberHelper and SubscriberUtil (#805) - removed SubscriberAccessor / RealSubscriberAccessor interfaces and deprecated accessor methods, removed AggregateIdArgumentResolver (#756) - ArgumentMetadata now carries a symfony/type-info Type (#814) Also update the message docs Pipe section to use the new Stream API.
Show the recommended const TABLE pattern as replacement for SubscriberHelper/SubscriberUtil and fix the sprintf argument placement in the getting-started projector example.
4e252ab to
05b81e4
Compare
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.
Why
Several breaking changes from already-merged 4.0 PRs were missing from the upgrade guide. This adds them so the guide reflects the current
4.0.xstate.What
Added to
docs/UPGRADE-4.0.md:Store\Streaminterface removed and replaced by the concreteMessage\Streamclass; removed store-specific stream implementations (ArrayStream,StreamDoctrineDbalStoreStream,TaggableDoctrineDbalStoreStream,GeneratorStream);Message\Piperemoved in favor ofStream::transform()(with before/after example).SubscriberHelperandSubscriberUtiltrait.SubscriberAccessor/RealSubscriberAccessorinterfaces (useMetadataSubscriberAccessordirectly), removed deprecatedid()/group()/runMode()accessor methods, removedAggregateIdArgumentResolver.ArgumentMetadata::$typeis now aSymfony\Component\TypeInfo\Typeinstead ofstring+allowsNull.Updated
docs/message.md:Pipesection into aStreamsection using the newStream::transform()API.Notes
docs/testing.mdwas left untouched: itsSubscriberUtilities(namespacePhpUnit\Test) is unrelated to the removedSubscription\Subscriber\SubscriberHelper/SubscriberUtil.