Deprecate/remove js-cookie dependency

Created on 15 July 2022, almost 2 years ago
Updated 14 May 2024, about 1 month ago

Problem/Motivation

Per discussion in 🌱 Drupal 10 JavaScript dependency plan Fixed , the js-cookie library is unused in core after refactoring elsewhere. It is however used in multiple contrib modules.

We should deprecate it in 10.1.0 for removal in 11.0.0 to have one less external JavaScript dependency. Not sure if this also needs us to create a contrib module for it, but probably.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

The js-cookie library is unused in core after refactoring. js-cookie has therefore been deprecated as a core dependency β†’ and there is no replacement. Contributed modules or custom code relying on this library should declare their own dependency on it.

πŸ“Œ Task
Status

Fixed

Version

10.1 ✨

Component
JavascriptΒ  β†’

Last updated 10 minutes ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024