- 🇺🇸United States smustgrave
This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request → as a guide.
This will need a change record as the service may in use by others right?
Shouldn't this be deprecated first before replacing?
- 🇬🇧United Kingdom longwave UK
I could find no uses of the class or service in contrib, and as per the link in #8 event subscribers are not considered API - extending them usually doesn't make much sense, so I don't think we need to spend the effort deprecating this. We can however write a short change notice just in case, that is a simple task that keeps a record of what has happened here.
- Status changed to Needs review
over 1 year ago 10:43am 3 November 2023 - Status changed to RTBC
over 1 year ago 4:31pm 3 November 2023 - last update
over 1 year ago 28,526 pass - last update
over 1 year ago 28,526 pass 9:58 54:37 Running- last update
over 1 year ago 28,526 pass - Status changed to Needs work
over 1 year ago 12:00am 11 November 2023 The Needs Review Queue Bot → tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request → . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
- @_shy opened merge request.
- Status changed to Needs review
over 1 year ago 11:14am 11 November 2023 - 🇺🇦Ukraine _shy Ukraine, Lutsk 🇺🇦
Created MR and all tests are green.
Also, changed the target branch. - Status changed to RTBC
over 1 year ago 6:06pm 11 November 2023 - Status changed to Needs work
over 1 year ago 2:17pm 12 November 2023 - 🇺🇸United States xjm
A service machine name is public API; therefore, a CR alone is not sufficient for that change. We should deprecate the old service for removal in D11. We should also provide best-effort BC and deprecation for the class name, which is internal API. Thanks!
- Status changed to Postponed
over 1 year ago 2:56pm 12 November 2023 - 🇺🇸United States xjm
My kneejerk about the core service definition machine names might be wrong here; discussing with the other release managers. Hold on changes for now.
- 🇳🇿New Zealand quietone
Changing to the DX special tag defined on Issue tags -- special tags → .
- Status changed to Needs work
13 days ago 6:53am 29 June 2025 - 🇺🇸United States xjm
I am so sorry that this fell off my radar! I was waiting on feedback from another release manager but then lost track of the issue somehow. Basically everything I said was wrong; the CR is plenty for this because it's an event subscriber, not a normal service. Therefore, even changing the machine name of the service is fine. Per @catch:
Yeah the very worst that could happen is:
Someone is calling it directly (why???)
Someone is decorating it (why???)
It'd be like implementing hook_module_implements_alter() to replace a hook with one that could have just been implemented as an extra hook. Or calling template_preprocess_node() directly. It's not impossible but it's not our fault.Obviously, the merge request will need to be updated after all this time, but once it's updated and reviewed the RTBC should be restored. Apologies again!