Closed (fixed)
Project:
Drupal core
Version:
main
Component:
history.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2025 at 10:41 UTC
Updated:
24 Feb 2026 at 10:19 UTC
Jump to comment: Most recent
Track the steps needed to deprecate extension History module. See Remove a core module and move it to a contributed project of the deprecation policy.
The removal of extension History module was approved in #3336276: [Policy] Deprecate History module.
UpdatePathTestBaseFilledTest. Will be handled in the removal issue. \Drupal\Tests\views\Kernel\Handler\HandlerAllTest and \Drupal\Tests\views\Kernel\TestViewsTest
Comments
Comment #2
quietone commentedComment #3
andypostFiled contrib issue to start ball roll #3521740: Add andypost as co-maintainer to transfer core history module
Comment #4
quietone commentedComment #5
quietone commentedComment #6
berdirStarted commenting in #3524379: [meta] Remove usage of history module from comment module but moving into this issue.
I wonder if the decision to remove history module took into consideration how many features in comment module depend on it, there's a reason that history remained in core until now, this is going to be tough to untangle. That said, it's also clear that not a lot of sites these days actually rely on this feature (based on personal experience). The same can be said about comment module too I suppose.
Removal of history in D12 seems to conflict with new deprecation policy a bit. We will need to deprecate controllers/routes, views handlers, libraries and functionality to be able to remove history. It will likely not affect many modules in practice, if at all, but still, it's quite a lot and it would need to land very soon.
Might need to move history removal to D13.
I actually wonder if we should consider to instead just move comment.module as well into contrib and keep them entangled?
Comment #7
quietone commentedComment #8
xjm@berdir re: #6, we actually raised some of the same concerns about the architectural entanglement with comment in #3336276-4: [Policy] Deprecate History module. When it was discussed again 18-some months later at DrupalCon Barcelona there was consensus among the Core Leadership Team to sign off on remove it, but that doesn't mean we're requiring that it be removed before Drupal 12 or anything. So we did take it into consideration, but I can also definitely see it happening in D13 instead of D12.
I was talking about this with @andypost in person at DrupalCon Vienna while reading @berdir's comment.
Comment #9
quietone commentedhistory is no longer used in these tests
\Drupal\Tests\views\Kernel\Handler\HandlerAllTestand\Drupal\Tests\views\Kernel\TestViewsTest.Comment #10
quietone commentedComment #11
quietone commentedComment #12
quietone commentedComment #13
quietone commentedDid some searching and found usages below.
Comment #14
longwaveRe #13
The first four are deprecations that will be removed in Drupal 12.
I opened #3568027: Move views.view.test_history to history module for the test view.
TestViewsTest only has a comment so I think it can be safely removed.
OpenTelemetryAuthenticatedPerformanceTest will be solved by #3567650: Remove history from profiles and recipes
Comment #15
quietone commentedComment #16
quietone commentedA search for 'history' finds many usages that are not relevant to the History module. But, I think that all the usages have been fixed.
Comment #17
longwaveYeah there are a lot of false positives, but I also can't find any remaining true references outside of history.module that aren't already deprecated and scheduled for removal.
Comment #18
smustgrave commentedSeems only remaining task is to get andypost access to the contrib namespace. I posted in #drupalorg channel if anyone can help.
Comment #19
smustgrave commentedSeems like we still need to get andypost added as maintainer of the contrib space. And in slack seems to be no clear way to get it done quickly. If we go though the standard adopt a module process then this will be another 2-4 weeks
Comment #20
smustgrave commentedAnd that's now resolved, congrats @andypost!
Comment #21
quietone commented@smustgrave, thanks for coordinating the ownership change of the History module in contrib.
Comment #23
andypostversion 1.0.0 tagged and released https://www.drupal.org/project/history/releases/1.0.0
Comment #24
andypostUnpostponed last issue left #3567858: Ensure that History does not get special core treatment
Probably it needs one more issue to remove the module from core
Comment #25
andypostComment #26
longwaveI think the deprecation is all done and the removal issue is open, let's close this out.
Comment #28
quietone commentedI updated the credit for this.