Problem/Motivation

In #3258931: Deprecate backbone and tag it internal and #3272872: deprecate underscore and mark it internal, we deprecated the Backbone and Underscore libraries as public API. There are separate internal libraries we are using as we decouple core's JS from Backbone, and we can't remove the dependencies themelves yet, but we can already remove at least the public libraries from D10.

Proposed resolution

Remove the deprecated libraries from 10.0.x. Leave the internal libraries and vendor assets in place until they, too, can be properly removed.

Remaining tasks

TBD

User interface changes

API changes

Data model changes

Release notes snippet

The Backbone and Underscore core JavaScript dependencies are no longer provided as public core libraries. Backbone and Underscore will eventually be removed from core, possibly prior to Drupal 10.0.0. Modules or themes which depend on these libraries should either refactor their code to remove the dependencies, or treat them as third-party dependencies for the contributed module.

Issue fork drupal-3274938

Command icon Show commands

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xjm created an issue. See original summary.

xjm’s picture

Issue summary: View changes
Issue tags: +Drupal 10

xjm’s picture

Assigned: xjm » Unassigned
Status: Active » Needs review
xjm’s picture

Issue summary: View changes
nod_’s picture

Status: Needs review » Reviewed & tested by the community

Simply removed the entries in the vendor-update script for those 2 libraries.
Other than that, RTBC from me.

  • catch committed feca605 on 10.0.x
    Issue #3274938 by xjm, nod_: Remove deprecated public Backbone and...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed feca605 and pushed to 10.0.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

xjm’s picture

Issue tags: +10.0.0 release notes