Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 4.5.x package dependency when upgrading #7792

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Conversation

othercorey
Copy link
Member

If users are upgrading to a minor, they want to upgrade to a specific minor.

@othercorey othercorey added this to the 4.x milestone Jan 7, 2024
@@ -9,7 +9,7 @@ Upgrading to 4.5.0

You can can use composer to upgrade to CakePHP 4.5.0::

php composer.phar require --update-with-dependencies "cakephp/cakephp:^4.5"
php composer.phar require --update-with-dependencies "cakephp/cakephp:4.5.x"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didnt we usually simply use ~4.5.0 ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've switched to .x as it seems easier for devs who don't touch composer a lot. But, whatever the cake convention is, is fine with me.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, composer semver is a bit tricky to understand.

@markstory markstory merged commit 7cd5c46 into 4.x Jan 8, 2024
3 checks passed
@markstory markstory deleted the othercorey-patch-1 branch January 8, 2024 15:21
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.

3 participants