This is Pantheon's recommended starting point for forking new Drupal upstreams that work with the Platform's Integrated Composer build process. It is also the Platform's standard Drupal 9 upstream.
Unlike with earlier Pantheon upstreams, files such as Drupal Core that you are unlikely to adjust while building sites are not in the main branch of the repository. Instead, they are referenced as dependencies that are installed by Composer.
For more information and detailed installation guides, please visit the Integrated Composer Pantheon documentation: https://pantheon.io/docs/integrated-composer
This upstream currently requires Drupal 11.3.5 or higher. The version constraints use the caret (^) operator, which allows:
- ✅ Patch updates (e.g., 11.3.6, 11.3.7)
- ✅ Minor updates (e.g., 11.4.0, 11.5.0)
- ❌ Major updates (e.g., 12.0.0)
This ensures automatic security updates while maintaining API compatibility.
Update the minimum Drupal core version when:
- Security releases require a minimum version
- Bug fixes in newer versions are needed for stability
- New features in Drupal core are required by the upstream
- Maintaining compatibility with Pantheon platform updates
-
Update all core packages together in
composer.json:drupal/core-composer-scaffolddrupal/core-project-messagedrupal/core-recommendeddrupal/core-dev
-
Test the changes (see TESTING.md for detailed procedures)
-
Update CHANGELOG.md with the change
-
Create a pull request with clear rationale for the version update
See TESTING.md for comprehensive validation procedures.
Contributions are welcome in the form of GitHub pull requests. However, the
pantheon-upstreams/drupal-composer-managed repository is a mirror that does not
directly accept pull requests.
Instead, to propose a change, please fork pantheon-systems/drupal-composer-managed and submit a PR to that repository.
To manually apply changes from the external upstream repository (branch: main):
-
Add the upstream repository as a remote (if not already added):
git remote add upstream https://github.com/bluecadet/upstream.git
Replace
bluecadetwith the correct organization or user name. -
Fetch the latest changes from upstream:
git fetch upstream
-
Merge the upstream main branch into your current branch:
git merge upstream/main
-
Resolve any merge conflicts if they occur, then commit the result.
-
Push your changes to your fork or origin as needed.
For more details, see the GitHub documentation on syncing a fork.