Skip to content

Releases: symplify/monorepo-builder

12.5.2

26 Mar 02:44
438102e

Choose a tag to compare

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: 12.5.0...12.5.2

12.5.0

13 Feb 07:27
afc716d

Choose a tag to compare

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/

Full Changelog: 12.4.5...12.5.0