Skip to content

Commit 349b603

Browse files
committed
Merge branch '5.x' into 5.10
2 parents 0606754 + fc34527 commit 349b603

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release Notes for Craft CMS 5
22

3+
## Unreleased
4+
5+
- Fixed a bug where dependencies required by `composer.json` were getting updated when installing/updating plugins. ([#18755](https://github.com/craftcms/cms/issues/18755))
6+
37
## 5.9.21 - 2026-04-23
48

59
- Fixed a bug where entries weren’t redirecting back to their section’s page’s URL by default.

src/services/Composer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function install(?array $requirements, ?callable $callback = null): void
118118

119119
if ($requirements !== null) {
120120
$this->updateRequirements($jsonPath, $requirements);
121-
$command = array_merge(['update'], array_keys($requirements), ['--with-all-dependencies']);
121+
$command = array_merge(['update'], array_keys($requirements), ['--with-dependencies']);
122122
} else {
123123
$command = ['install'];
124124
}

0 commit comments

Comments
 (0)