Search code examples
phpcomposer-phpversioningsemantic-versioningpackagist

For php composer packages (published on packagist) what patch version comes after 1.0.9?


What version should be published after v1.0.9 so that composer update runs smoothly?

I am thinking the version should be bumped to either v1.0.10 or v1.0.901.

Surprisingly, after almost 5 minutes of Google searches, I did not find a clear answer. This is for a package that is published on Packagist. It is not specified in https://semver.org/ (which is referenced from Packagist)


Solution

  • After 1.0.9. it is definitely 1.0.10. I tested it, and composer update did work properly.

    For more information on versioning: https://semver.org/

    @iainn gets some credit. Unfortunately, I cannot accept a comment as the answer.