docs: document deprecation removal plan for 1.0 (closes #595) - #780
Merged
s2x merged 4 commits intoAug 23, 2026
Conversation
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.
Description
Closes #595
The bundle carried three deprecations with no usable removal version stated ('the next major release' is ambiguous at 0.x per SemVer). This change records a concrete removal target — 1.0 — for all three and makes the deprecation messages self-sufficient.
Changes
src/DependencyInjection/ConfigurationTreeBuilder.php: theserve_files/root_dir/static_filessetDeprecatedmessages now state removal in 1.0 and point atdocs/security.md#static-files-protection(allowing the extension allowlist caveat).src/Utils.php:@deprecatedandtrigger_deprecationmessage forUtils::reboot()state removal in 1.0.src/Http/Request.php:@deprecateddocblock and runtimetrigger_errormessage forRequest::withHeader()state removal in 1.0.UPGRADE.md: new## Deprecationstable (since / replacement / removed-in 1.0) for all three.CONTRIBUTING.md: new## Deprecation Policy— concrete removal version mandatory; a deprecation older than six minors must be removed or re-justified.CHANGELOG.md: entry under [Unreleased].testConfiguredTreeDeprecatesLegacyStaticFileNodes(config-node deprecations fire with 'Will be removed in 1.0');testWithHeaderTriggersDeprecationnow also asserts the removal version.Utils::reboot()deprecation test deferred to [Chore] composer.json ships an unused dependency and omits three that are imported directly #588 (bundle does not declaresymfony/deprecation-contracts).Changelog
Documented the deprecation-removal plan for 1.0 (
serve_files/static_files,Utils::reboot(),Request::withHeader()); new Deprecations table in UPGRADE.md and a deprecation policy in CONTRIBUTING.md.Proof of Work
docs/proof_of_work/0595-deprecations-have-no-removal-plan/— 2 review round(s)Code Review