Remove library VERSION constant

Created on 6 May 2021, over 4 years ago
Updated 21 August 2025, 11 days ago

Problem/Motivation

Similar to https://www.drupal.org/project/field_group/issues/3163971 , the VERSION constant used in the library definitions refers to the core version. It adds a query string ?v=8.xxx to the URLs for assets, and may provide issues with CDN caching when the library needs to be updated.

Proposed resolution

Remove version from library definition. Patch attached.

Remaining tasks

Perhaps use the module version instead?

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇦Canada bgilhome Victoria

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.71.5 2024