Change record status: 
Introduced in branch: 
main
Introduced in version: 
main
Description: 

Seen in review

In order for Drupal to have proper query string in HTML render for every library and proper CDN cache invalidation for static assets ( CSS, JS ) we always should keep versions in specific libraries in *.libraries.yml

Before

qsUserProfileAdmin:
  css:
    theme:
      stylesheets/admin/chosen.css: {}
      stylesheets/admin/admin.css: {}
  js:
    assets/js/admin/chosen.jquery.js: {}
    assets/js/admin/custom_admin.js: {}

After

qsUserProfileAdmin:
  version: 1.0
  css:
    theme:
      stylesheets/admin/chosen.css: {}
      stylesheets/admin/admin.css: {}
  js:
    assets/js/admin/chosen.jquery.js: {}
    assets/js/admin/custom_admin.js: {}
Impacts: 
Module developers
Themers

Comments

podarok’s picture

podarok’s picture