Skip to content

fix(deps): bump coenjacobs/mozart from 0.7.1 to v1 (main)#12628

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/main-coenjacobs-mozart-1.x
Open

fix(deps): bump coenjacobs/mozart from 0.7.1 to v1 (main)#12628
renovate[bot] wants to merge 1 commit intomainfrom
renovate/main-coenjacobs-mozart-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 20, 2026

This PR contains the following updates:

Package Change Age Confidence
coenjacobs/mozart ^0.7.1^1.2.1 age confidence

Release Notes

coenjacobs/mozart (coenjacobs/mozart)

v1.2.1

Compare Source

What's Changed

  • BACKPORT: Fix symlinks in vendor packages causing UnableToListContents failure by @​coenjacobs in #​373

Full Changelog: coenjacobs/mozart@1.2.0...1.2.1

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.2.1
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.2.1
Available Tags
  • 1.2.1 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.2.0

Compare Source

Mozart 1.2.0 is a major feature release. 🎉 The headline: Mozart now works with zero configuration — just run mozart compose and it handles the rest. This release also adds global-scope constant and function prefixing and automatic autoloader generation.

New features

  • Zero configuration — Running mozart compose is now the only opt-in required. All six settings have sensible defaults, inferred from your project's composer.json. Existing extra.mozart blocks continue to work unchanged. A new mozart config command lets you inspect the resolved configuration and where each value came from. #​316
  • Autoloader generation — Mozart now generates a Composer-compatible autoloader file covering PSR-4, classmap, and files entries for all processed dependencies. This is enabled by default (generate_autoloader: true) and replaces the need to manually configure your project's composer.json autoload section. See usage docs. #​315
  • Global-scope constant prefixing — Constants declared with const or define() at global scope are now prefixed with constant_prefix (defaults to an uppercased version of classmap_prefix). References via constant(), defined(), and bare constant fetches are updated throughout the codebase. #​308
  • Global-scope function prefixing — Functions declared at global scope are now prefixed with functions_prefix (defaults to a lowercased version of classmap_prefix). References via function_exists() and direct function calls are updated accordingly. #​308
  • PHP built-in symbol protection — Mozart ships a database of PHP built-in symbols (PHP 7.4–8.5) and skips them during renaming. Polyfill packages like symfony/polyfill-php80 are no longer broken by having their declarations prefixed. #​306

Improvements

  • Namespaced define() calls routed correctlydefine() inside a namespace block is now handled by the namespace replacer instead of being incorrectly prefixed with constant_prefix. #​353
  • Files autoloader basename collision — Global-scope files with the same basename but in different directories are no longer flattened to the same target path. #​351
  • NameVisitor routes by symbol type — Class, constant, and function references are now matched against their respective maps, preventing cross-type collisions. #​363
  • Case-insensitive symbol lookups — Class and function name matching is now case-insensitive (as PHP itself is), while constant matching remains case-sensitive. #​314
  • Parent replacer propagation for files autoloaders — Namespaced files autoloader entries in parent packages now receive constant and function renames from child packages. #​365, #​367
  • Generated autoloader hardening — Fixed file identifier collisions, Windows path separators in $baseDir, and absolute classmap paths. #​362
  • Boolean config values detected correctlydelete_vendor_directories: false and generate_autoloader: false are now properly distinguished from "not set" when reporting config sources. #​323
  • Parent replacer early return — Fixed replaceParentPackage() exiting after the first autoloader combination instead of processing all of them. #​288
  • Enum declaration support — Enums are now handled in both the declaration visitor and classmap mode. #​290, #​313
  • Diamond dependency reprocessing — Added a visited-set to replacePackages() to prevent processing the same package twice. #​292
  • Typed exceptions — All bare exceptions replaced with MozartException subtypes; error output uses writeln() instead of write(). #​294
  • FilesHandler exception wrapping — All Flysystem exceptions are now wrapped in FileOperationException. #​296
  • Windows directory separator — Fixed PSR-4 path flattening breaking on Windows backslashes. #​310

Forward ported bug fixes

These bug fixes have been released earlier today in versions 1.1.4 and 1.0.10 as well:

  • PHPDoc FQCN prefixing hardened — Fully-qualified class names in PHPDoc annotations (@param, @return, @var, @throws, etc.) logic reworked and are now properly rewritten to use the prefixed namespace. #​360
  • Shared vendor dependencies preserved during cleanup — Vendor directories required by non-processed installed packages are no longer deleted. #​357

Infrastructure

  • PHP minimum raised to 8.2 (from 8.1) #​368
  • Upgraded to PHPUnit 11, PHPStan 2.x, Symfony 7.x, php-parser 5.x (only) #​368
  • Docker images updated to Composer 2.9.5 and Xdebug 3.5.1 #​368
  • GitHub Actions bumped to latest major versions #​368

Upgrade notes

  • PHP 8.2 required — Mozart 1.2.0 requires PHP 8.2 or higher. The resulting bundled files can still target any PHP version.
  • Autoloader generation is on by default — If you already manually configure autoloading in your project's composer.json for Mozart-processed dependencies, have your code include the newly created autoload.php to benefit from this new feature. Or alternatively, set generate_autoloader to false in your extra.mozart block to keep your existing setup. See the configuration docs.
  • New prefixes are applied automaticallyconstant_prefix and functions_prefix are derived from classmap_prefix by default. If your dependencies declare global-scope constants or functions, these will now be prefixed. Set either to an empty string in extra.mozart to disable.

Documentation

Full documentation for all features is available in docs/:

Full Changelog: coenjacobs/mozart@1.1.4...1.2.0

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.2.0
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.2.0
Available Tags
  • 1.2.0 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.1.6

Compare Source

What's Changed

Full Changelog: coenjacobs/mozart@1.1.5...1.1.6

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.1.6
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.1.6
Available Tags
  • 1.1.6 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.1.5

Compare Source

What's Changed

  • BACKPORT: Fix symlinks in vendor packages causing UnableToListContents failure by @​coenjacobs in #​374

Full Changelog: coenjacobs/mozart@1.1.4...1.1.5

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.1.5
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.1.5
Available Tags
  • 1.1.5 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.1.4

Compare Source

Maintenance release, containing:

  • Preserve shared vendor dependencies during cleanup #​356
  • Fix PHPDoc namespace prefixing #​361

Full Changelog: coenjacobs/mozart@1.1.3...1.1.4

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.1.4
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.1.4
Available Tags
  • 1.1.4 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.1.3

Compare Source

  • [FORWARD PORT] Fix delete_vendor_directories setter name mismatch #​321

Full Changelog: coenjacobs/mozart@1.1.2...1.1.3

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.1.3
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.1.3
Available Tags
  • 1.1.3 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.1.2

Compare Source

  • [Backport] Fix Windows directory separator breaking PSR-4 path flattening #​311

Full Changelog: coenjacobs/mozart@1.1.1...1.1.2

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.1.2
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.1.2
Available Tags
  • 1.1.2 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.1.1

Compare Source

Maintenance release containing:

  • Fix override_autoload using property access on ArrayObject #​285
  • Fix ParentReplacer::replaceParentPackage() early return after first autoloader #​287
  • Add enum declaration support to DeclarationVisitor #​289
  • Add visited-set to Replacer::replacePackages() to deduplicate diamond dependencies #​291
  • Replace bare exceptions with typed Mozart exceptions and fix error output #​293
  • Wrap all Flysystem exceptions in FileOperationException #​295

Full Changelog: coenjacobs/mozart@1.1.0...1.1.1

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.1.1
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.1.1
Available Tags
  • 1.1.1 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.1.0

Compare Source

  • AST-based replacement engine — Complete rewrite of the core replacement system using nikic/php-parser. Eliminates regex fragility that corrupted nullable type hints, matched inside strings/comments, and missed edge cases.
  • Files autoloader support — Mozart now handles Composer's files autoloader type, which was previously ignored entirely. Packages like php-di/php-di now work correctly.
  • Existence-check function handling — String arguments in class_exists(), function_exists(), interface_exists(), trait_exists(), and related functions are now properly prefixed.
  • Dependency resolution rewrite — Fixed exponential package duplication with diamond dependencies and infinite loops with circular dependencies (iterative BFS replaces recursive traversal).
  • Architecture & code quality — Cleaner class hierarchy, PSR-12 formatting, improved exception handling, lean Composer installs via .gitattributes.
  • Testing infrastructure — Reorganized test suite (Unit/Integration split), Docker improvements, CI caching and permissions fixes.

Details and discussion of what changed and why can be found: Beta testing for Mozart 1.1.0 has begun!

Full Changelog: coenjacobs/mozart@1.0.6...1.1.0

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.1.0
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.1.0
Available Tags
  • 1.1.0 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.0.10

Compare Source

Maintenance release, containing:

  • Backported: Preserve shared vendor dependencies during cleanup #​356
  • Backported: Fix PHPDoc namespace prefixing #​361

Full Changelog: coenjacobs/mozart@1.0.9...1.0.10

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.0.10
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.0.10
Available Tags
  • 1.0.10 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.0.9

Compare Source

Maintenance release, containing:

  • Fix delete_vendor_directories setter name mismatch #​320

Full Changelog: coenjacobs/mozart@1.0.8...1.0.9

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.0.9
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.0.9
Available Tags
  • 1.0.9 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.0.8

Compare Source

[Backport] Fix Windows directory separator breaking PSR-4 path flattening #​312

Full Changelog: coenjacobs/mozart@1.0.7...1.0.8

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.0.8
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.0.8
Available Tags
  • 1.0.8 - This release
Links

v1.0.7

Compare Source

Maintenance release containing backported fixes that were applicable from the 1.1.1 release:

  • [Backport] Fix override_autoload using property access on ArrayObject #​301
  • [Backport] Add docblock to NamespaceAutoloader::getFiles() to pass doc check #​300
  • [Backport] Replace bare exceptions with typed Mozart exceptions and fix error output #​299
  • [Backport] Wrap all Flysystem exceptions in FileOperationException #​297

Full Changelog: coenjacobs/mozart@1.0.6...1.0.7

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.0.7
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.0.7
Available Tags
  • 1.0.7 - This release
Links

v1.0.6

Compare Source

Maintenance release, containing the following fixes:

Full set of changes: coenjacobs/mozart@1.0.5...1.0.6

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.0.6
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.0.6
Available Tags
  • 1.0.6 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.0.5

Compare Source

Maintenance release, containing the following fixes:

Full set of changes: coenjacobs/mozart@1.0.4...1.0.5

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.0.5
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.0.5
Available Tags
  • 1.0.5 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.0.4

Compare Source

Maintenance release, containing the following fixes:

  • Skip non-existent directories when PSR-4 autoload is an array #​195 (thanks for reporting @​Dan0sz 🙌)
  • Exclude nested vendor directories from file discovery #​196 (thanks for reporting @​daigo75 🙌)
  • Add is_dir() guards in Replacer to prevent DirectoryNotFoundException #​201 (thanks for reporting @​Konamiman 🙌)

Full set of changes: coenjacobs/mozart@1.0.3...1.0.4

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.0.4
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.0.4
Available Tags
  • 1.0.4 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.0.3

Compare Source

Maintenance release, containing the following fixes:

Full set of changes: coenjacobs/mozart@1.0.2...1.0.3

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.0.3
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.0.3
Available Tags
  • 1.0.3 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.0.2

Compare Source

Maintenance release, containing the following fixes:

Full set of changes: coenjacobs/mozart@1.0.1...1.0.2

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.0.2
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.0.2
Available Tags
  • 1.0.2 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.0.1

Compare Source

Maintenance release, containing the following fixes:

Thank you both for contributing. 😊

Full set of changes: coenjacobs/mozart@1.0.0...1.0.1

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.0.1
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.0.1
Available Tags
  • 1.0.1 - This release

  • latest - Latest stable version (if this is the highest version)

Links

v1.0.0

Compare Source

This is the stable release of version 1.0.0 of the Mozart project. I'm proud to say that this release is finally here and this marks a significant milestone in the project. For details on everything that has changed, please refer to the beta testing and 1.0.0 feature set post in the discussions. Thanks everyone for their continued support, helpful comments and contributions. Thank you everyone!

I've written a bit about the whole process around this on my personal blog: Mozart 1.0: Five years in the making.

Full Changelog: coenjacobs/mozart@0.7.1...1.0.0

Docker Images

This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).

Pull from Docker Hub
docker pull coenjacobs/mozart:1.0.0
Pull from GitHub Container Registry
docker pull ghcr.io/coenjacobs/mozart:1.0.0
Available Tags
  • 1.0.0 - This release

  • latest - Latest stable version (if this is the highest version)

Links

Configuration

📅 Schedule: Branch creation - "before 5am on wednesday" in timezone Europe/Vienna, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Mar 20, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: vendor-bin/mozart/composer.lock
Command failed: composer update coenjacobs/mozart:1.2.1 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires coenjacobs/mozart ^1.2.1 -> satisfiable by coenjacobs/mozart[1.2.1].
    - coenjacobs/mozart 1.2.1 requires php ^8.2 -> your php version (8.1; overridden via config.platform, same as actual) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@GretaD
Copy link
Copy Markdown
Contributor

GretaD commented Mar 20, 2026

/compile amend /

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/main-coenjacobs-mozart-1.x branch from c5ed497 to 9362d9e Compare March 26, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant