Fixed
Project:
Toolbar
Version:
2.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2026 at 12:53 UTC
Updated:
30 Sep 2026 at 15:43 UTC
Jump to comment: Most recent
Toolbar will either need to refactor or include the library itself.
#3623843: Remove Backbone.js and Underscore.js, not used in core anymore
See how tour did it here: #3558002: Update backbone.js and move off of core
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #6
smustgrave commentedFor a stable release this should be the last ticket needed. Then I’d start a 3.x branch for any future development
Comment #8
smustgrave commentedOn my phone but you can drop the twig pin that should be fixed in core now.
Comment #9
dydave commentedLooks like the tests are failing due to the missing claro theme and workspace module:
How do you think we should approach these issues?
OK dropped the twig pin 👌
Comment #10
nicxvan commentedClaro I assume you can put in require dev right?
Not sure about the workspace failure.
Comment #11
dydave commentedAdded drupal/claro in composer next major job... the error has changed now:
I'll have to look closer at the issues locally when I get some time to test.
Comment #12
slasher13Claro will be removed in Drupal 12 see https://www.drupal.org/node/3623824
Comment #13
dydave commentedOK, all tests are now passing 🟢
Added 2 commits:
1 - To fix the phpunit tests for D12, due to a remaining static file path reference to
'core/themes/claro/templates/navigation'and explicitly enable the'dynamic_page_cache'module for another test.2 - Cleaned up the Gitlab CI configuration and fixed a deprecation message in one of the tests.
Unpinned constraints in composer.json file.
I've tested this locally as well with Drupal "12.0-dev" and everything seemed to work fine.
Moving this to Needs review as an attempt to get more reviews and testing feedback.
Thanks in advance!
Comment #14
smustgrave commentedSay ship it
Comment #15
nicxvan commented@slasher13 you are correct, just like toolbar, that's why we needed to add it to composer for the tests.
Comment #16
dydave commentedThanks a lot @smustgrave once again for the speedy reply and confirmation! 🙏
Just a quick question to confirm:
Is it OK to release toolbar-2.0.0 with the current composer namespace?
https://git.drupalcode.org/project/toolbar/-/blob/2.x/composer.json#L2
I assume YES, since the infrastructure team needs a 2.0.0 stable version of the module first in order to change the namespace, as detailed here:
https://git.drupalcode.org/project/project_composer/-/work_items/3567861...
As soon as I can have your final confirmation, I'll go ahead, merge the changes in 2.x and create the new 2.0.0 stable release.
Thanks again everyone! 😊
Comment #17
smustgrave commentedCorrect once you do a 2.0.0 comment on the composer ticket and Drupal infrastructure team will make a change on their end so it goes to Drupal/toolbar
Comment #18
ressaSounds great! And yes, the order is to first release a stable, and then fix the Composer namespace
drupal/name-namegets fixed, as @drumm confirmed. I added it to the documentation page (the last sentence):From https://www.drupal.org/about/core/policies/core-change-policies/how-to-d...
... and in the issue template, the last sentence here:
From https://www.drupal.org/about/core/policies/core-change-policies/how-to-d...
Comment #19
dydave commentedThanks again @smustgrave ... everything is very clear, I'll get all these points covered within the next 6 hours. 👍
Comment #20
dydave commentedThanks a lot @ressa for all your great help with the documentation! 🙏
Comment #22
dydave commentedAll good here!! 🥳
✅ The merge request !5 was merged above at #21.
✅ The initial release for the 2.x branch was just created: toolbar-2.0.0.
✅ I have just notified the infrastructure team in the composer namespace ticket:
https://git.drupalcode.org/project/project_composer/-/work_items/3567861...
✅ Notified @quietone as well in #3484850-69: [meta] Tasks to deprecate Toolbar module.
✅ Credited everyone in this issue. 🙏
At this point, we should be able to consider all the work and actions to be carried in this issue should have been completed, thus marking it as Fixed, for now.
Feel free to let us know if we missed anything or if you would see any other actions, we would surely be very happy to help.
Thanks again everyone for all the great help! 🙏
(Special thanks to @smustgrave: You did all the work in the first version of the MR! Thanks a lot! 🤩)