Skip to content

build(deps-dev): bump symplify/monorepo-builder from 11.2.22 to 12.7.0 in /tools/monorepo#2334

Open
dependabot[bot] wants to merge 1 commit into1.xfrom
dependabot/composer/tools/monorepo/symplify/monorepo-builder-12.7.0
Open

build(deps-dev): bump symplify/monorepo-builder from 11.2.22 to 12.7.0 in /tools/monorepo#2334
dependabot[bot] wants to merge 1 commit into1.xfrom
dependabot/composer/tools/monorepo/symplify/monorepo-builder-12.7.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Bumps symplify/monorepo-builder from 11.2.22 to 12.7.0.

Release notes

Sourced from symplify/monorepo-builder's releases.

12.7.0

What's Changed

Features

  • Add parameterized disableAutoloadMerge(sections, forTypes) API — independently control which composer.json autoload sections (autoload, autoload-dev) get skipped from root merge, optionally filtered by package type. New Symplify\MonorepoBuilder\Config\AutoloadSection and Symplify\MonorepoBuilder\Config\PackageType enums power the API; mixing enum cases and plain strings in the same call is supported (escape hatch for composer/installers ecosystem types like wordpress-plugin, drupal-module, symfony-bundle, and for user-defined custom types). Multiple types are OR-matched. Two filter channels are intentionally distinct: pass forTypes: [] to skip every package regardless of type; pass a non-empty list to skip ONLY packages whose composer.json declares the matching type literally. (#117)
  • New query methods MBConfig::shouldSkipAutoload(?string $packageType): bool and MBConfig::shouldSkipAutoloadDev(?string $packageType): bool let custom mergers consult the configured rules per package. The bundled AutoloadComposerKeyMerger and AutoloadDevComposerKeyMerger now consult them symmetrically. (#117)

Deprecations

  • The zero-argument form MBConfig::disableAutoloadMerge() continues to work but now emits an E_USER_DEPRECATED notice. It maps to skipping both sections for all packages — equivalent to disableAutoloadMerge(sections: [AutoloadSection::Autoload, AutoloadSection::AutoloadDev], forTypes: []). Update existing config files at your convenience.
  • MBConfig::isAutoloadMergeDisabled() getter is marked @deprecated; prefer shouldSkipAutoload($packageType) and shouldSkipAutoloadDev($packageType) for new code.

Full Changelog: symplify/monorepo-builder@12.6.2...12.7.0

12.5.2

What's Changed

Bug Fixes

  • Remove stale composer-json-manipulator autoload entry that breaks PHAR build (#109)
  • Fix workers() not respecting user-specified order (#112)

Improvements

  • Allow sebastian/diff ^8 (#110)

Full Changelog: symplify/monorepo-builder@12.5.0...12.5.2

12.5.0

What's Changed

Bug Fixes

  • Merge command now preserves unknown/custom composer.json sections — Sections like scripts-aliases, abandoned, readme, and any other non-standard keys in root composer.json are no longer silently dropped during merge (#105, #106)
  • dataToAppend supports arbitrary composer.json keys — No longer limited to the 24 hardcoded sections (#105)
  • Original section order of root composer.json is preserved by default — New sections are appended at the end; custom ordering is available via composerSectionOrder() (#107)
  • Fix comparator transitivity violations in ComposerJson::sortItemsByOrderedListOfKeys() and ArraySorter::recursiveSortBySchema()
  • Fix FilterOutDuplicatedRequireAndRequireDevJsonDecorator which was a no-op due to array_intersect comparing values instead of keys
  • Fix self-merge bug in MergedAndDecoratedComposerJsonFactory (was merging object with itself)

Improvements

  • Allow webmozart/assert ^2 (#103)

Internal

  • Consolidate require/require-dev dedup logic into ComposerJsonMerger and decorator
  • Add explicit DECORATOR_ORDER constant for decorator execution ordering
  • Remove dead code: RequireRequireDevDuplicateCleaner, src-deps/composer-json-manipulator/

... (truncated)

Commits
  • ab0f813 Add parameterized disableAutoloadMerge(sections, forTypes); deprecate zero-ar...
  • cdd3782 Honor disablePackageReplace() in RootRemoveComposerJsonDecorator (#116)
  • a7255fb Fix repositories array becoming a JSON object after path-type dedup (#115)
  • 5915857 Add disablePackageReplace() and disableAutoloadMerge() opt-outs for non-libra...
  • 438102e Fix workers() not respecting user-specified order (#112)
  • d848183 chore: allow sebastian/diff ^8 (#110)
  • 2aa3a24 Remove stale composer-json-manipulator autoload entry that breaks PHAR build ...
  • afc716d Fix merge command: preserve unknown sections, fix ordering, fix dedup (#108)
  • c5ddc92 chore: allow webmozart/assert ^2 (#103)
  • 30a80ee Fix disableDefaultWorkers() edge case where user-added workers were incorrect...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Apr 27, 2026
@dependabot dependabot Bot requested a review from norberttech as a code owner April 27, 2026 04:56
@norberttech
Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [symplify/monorepo-builder](https://github.com/symplify/monorepo-builder) from 11.2.22 to 12.7.0.
- [Release notes](https://github.com/symplify/monorepo-builder/releases)
- [Commits](symplify/monorepo-builder@11.2.22...12.7.0)

---
updated-dependencies:
- dependency-name: symplify/monorepo-builder
  dependency-version: 12.7.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/composer/tools/monorepo/symplify/monorepo-builder-12.7.0 branch from 2f33e13 to 5360f0e Compare May 3, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant