Skip to content

Conversation

@mtracz
Copy link
Member

@mtracz mtracz commented Sep 17, 2025

This pull request makes a minor change to the composer.json file by removing the version field, likely to allow version management to be handled elsewhere.

Manually added version broke Packagist versions, and Packagist does not see newer versions like 5.1.0.

image

Also composer docs recommend to remove this key from composr.json
https://getcomposer.org/doc/04-schema.md#version

Note: Packagist uses VCS repositories, so the statement above is very much true for Packagist as well. Specifying the version yourself will most likely end up creating problems at some point due to human error.

@mtracz mtracz requested review from a team and krzysztofrewak September 17, 2025 09:58
@mtracz mtracz changed the title fix: remove version from composer.json - fix: remove version from composer.json Sep 17, 2025
@mtracz mtracz merged commit 2683452 into main Sep 17, 2025
3 of 4 checks passed
@mtracz mtracz deleted the fix-packagist-version branch September 17, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants