Closed (fixed)
Project:
Drupal core
Version:
10.1.x-dev
Component:
javascript
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Jul 2022 at 01:43 UTC
Updated:
14 May 2024 at 07:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
catchComment #3
catcherr can't deprecate and delete the asset file at the same time...
Comment #5
spokjeLooks good, but (probably?) needs CR and release notes.
Comment #6
spokjeAdded CR and added that to the deprecation message.
Comment #7
smustgrave commentedAs we discussed in slack
https://git.drupalcode.org/project/drupal/-/blob/9.5.x/core/tests/Drupal...
https://git.drupalcode.org/project/drupal/-/blob/9.5.x/core/tests/Drupal...
May be good examples of testing deprecated libraries.
Comment #8
spokje@smustgrave said:
I answered:
(Slack thread: https://drupal.slack.com/archives/C04CHUX484T/p1671032144226969)
INSTA-EDIT: shakes fist in anger at the far to nimble typer smustgrave
Comment #9
spokjeAnother angry fist shake at PHPCS
Comment #10
spokjeComment #11
spokjeComment #12
smustgrave commentedTests look good.
Thanks!
Comment #14
spokjeRandom Chrome-Broke-Down JS test failure, back to RTBC and ordered a retest to make sure.
Comment #15
xjmAdded a proper release note. It still handwaves a bit how contrib should add JS dependencies, but good enough for now.
Comment #17
xjmCommitted the deprecation to 10.1.x. Thanks! I also published the CR after adding a few words.
Comment #19
dave reidI have added a new module https://www.drupal.org/project/js_cookie for this library dependency. I will work on updating the change record as appropriately with before/after instructions.
Comment #20
darvanenIt looks to me like we've missed removing core/js-cookie from 11.x so far... what are the steps to get that to happen, or is it too late?