Update Drupal Core to ~10.3.0 and ~11.0.0 with support for recipes in Varbase Components version requirements

Created on 23 June 2024, 5 months ago
Updated 14 July 2024, 4 months ago

Problem/Motivation

Drupal 10.3.0 stable was released on: 20 Jun 2024 by: catch ā†’
https://www.drupal.org/project/drupal/releases/10.3.0 ā†’

Thanks, to the Drupal Core release team
  • Drupal 11.0.0-rc1 about to be released

Coming Soon ā†’

Proposed resolution

  • Change core_version_requirement to ~10.3.0 || ~11.0.0 in the .info.yml file.
  • Change drupal/core to ~10.3.0 || ~11.0 in the composer.json file.
  • Switch to a Default Varbase Components recipe and drop the use of the Module Installer Factory class in favour of Drupal Recipes

The SDC experimental module is now stable and merged into core ā†’

The referenced library is deprecated. The sdc/varbase_components--alert asset library is deprecated in
Drupal 10.3.0 and will be removed in Drupal 11.0.0. Use the
core/components.[component-id] library instead. See
https://www.drupal.org/node/3410260 ā†’

  • Change sdc/varbase_components--alert to core/components.varbase_components--alert
  • Change sdc/varbase_components--navbar-brand to core/components.varbase_components--navbar-brand
  • Hook update to uninstall the SDC module

šŸ“Œ Update Drupal core to ^10.3 and ^11 and drop the use of the SDC experimental module RTBC
šŸ“Œ Update Drupal core to ^10.3 and ^11 and drop the use of the SDC experimental module Needs work

Remaining tasks

  • āœ… File an issue about this project
  • āœ… Addition/Change/Update/Fix to this project
  • āœ… Testing to ensure no regression
  • āž– Automated unit/functional testing coverage
  • āž– Developer Documentation support on feature change/addition
  • āž– User Guide Documentation support on feature change/addition
  • āž– UX/UI designer responsibilities
  • āž– Accessibility and Readability
  • āœ… Code review from 1 Varbase core team member
  • āœ… Full testing and approval
  • āœ… Credit contributors
  • āœ… Review with the product owner
  • āœ… Update Release Notes and Update Helper on new feature change/addition
  • āœ… Release varbase-10.0.0 ā†’ , varbase_components-2.0.2 ā†’

Varbase update type

  • āž– No Update
  • āž– Optional Update
  • āœ… Forced Update
  • āž– Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3456578 ā†’ : Updated Drupal Core to ~10.3.0 and ~11.0.0 with support for recipes in Varbase Components version requirements
šŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan

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

Comments & Activities

  • Issue created by @Rajab Natshah
  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan
    ddev drush us-a varbase_components
     [notice] Processing /var/www/html/docroot/modules/contrib/varbase_components.
    
    ================================================================================
    Varbase Components, --
    Scanned on Sun, 06/23/2024 - 23:04
    
    FILE: modules/contrib/varbase_components/varbase_components.module
    
    STATUS         LINE                           MESSAGE                           
    --------------------------------------------------------------------------------
    Check manually 42   The referenced library is deprecated. The                   
                        sdc/varbase_components--alert asset library is deprecated in
                        Drupal 10.3.0 and will be removed in Drupal 11.0.0. Use the 
                        core/components.[component-id] library instead. See         
                        https://www.drupal.org/node/3410260                         
    --------------------------------------------------------------------------------
    Check manually 43   The referenced library is deprecated. The                   
                        sdc/varbase_components--alert asset library is deprecated in
                        Drupal 10.3.0 and will be removed in Drupal 11.0.0. Use the 
                        core/components.[component-id] library instead. See         
                        https://www.drupal.org/node/3410260                         
    --------------------------------------------------------------------------------
    
    FILE: modules/contrib/varbase_components/varbase_components.info.yml
    
    STATUS         LINE                           MESSAGE                           
    --------------------------------------------------------------------------------
    Check manually 5    Value of core_version_requirement: ~10 is not compatible    
                        with the next major version of Drupal core. See             
                        https://drupal.org/node/3070687.                            
    --------------------------------------------------------------------------------
    
    FILE: modules/contrib/varbase_components/composer.json
    
    STATUS         LINE                           MESSAGE                           
    --------------------------------------------------------------------------------
    Check manually 1    The drupal/core requirement is not compatible with the next 
                        major version of Drupal. Either remove it or update it to be
                        compatible. See                                             
                        https://www.drupal.org/docs/develop/using-composer/add-a-com
                        poserjson-file#core-compatibility.                          
    --------------------------------------------------------------------------------
    
    Failed to run drush us-a varbase_components: exit status 3
    
  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan
  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan
    ddev drush us-a varbase_components
     [notice] Processing /var/www/html/docroot/modules/contrib/varbase_components.
    
    ================================================================================
    Varbase Components, --
    Scanned on Sun, 06/23/2024 - 23:35
    
    No known issues found.
    
  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan

    Tested to uninstall the SDC module with
    ddev drush pm:uninstall sdc
    the front-end theme is working well

    This could be in a hook update to uninstall.
    āœ… Forced Update

  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan
  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan
  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan
  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan
  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan
  • Issue was unassigned.
  • Status changed to Needs review 5 months ago
  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan

    ddev drush us-a varbase_components
    [notice] Processing /var/www/html/docroot/modules/contrib/varbase_components.

    ================================================================================
    Varbase Components, --
    Scanned on Mon, 06/24/2024 - 16:30

    No known issues found.

  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan
    ddev drush updb
     -------------------- ----------- --------------- ---------------------------------------------------------------------------------------------------------------------------- 
      Module               Update ID   Type            Description                                                                                                                 
     -------------------- ----------- --------------- ---------------------------------------------------------------------------------------------------------------------------- 
      varbase_components   200001      hook_update_n   200001 - Issue #3456578: Update Drupal Core to ~10.3.0 and ~11.0.0. Uninstall the the SDC experimental module as it is now  
                                                       merged into core.                                                                                                           
     -------------------- ----------- --------------- ---------------------------------------------------------------------------------------------------------------------------- 
    
    
     Do you wish to run the specified pending updates? (yes/no) [yes]:
     > yes
    
    >  [notice] Update started: varbase_components_update_200001
    >  [notice] Update completed: varbase_components_update_200001
     [success] Finished performing updates.
    
    
  • Status changed to Fixed 5 months ago
  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan
  • Automatically closed - issue fixed for 2 weeks with no activity.

  • šŸ‡ÆšŸ‡“Jordan Rajab Natshah Jordan

    āœ… Released varbase-10.0.0 ā†’

Production build 0.71.5 2024