Skip to content

[1.x] fix(em): skip incompatible extension updates #4176

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

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

SychO9
Copy link
Member

@SychO9 SychO9 commented Feb 7, 2025

https://discuss.flarum.org/d/36867-issue-extension-manager-v106-update-not-installable

As extensions get updated for 2.0, the package manager is currently showing 2.0-compatible extension versions as updates available, even though they are not compatible with 1.x, this creates a lot of confusion and questions about why they can't update when trying to.

This PR adds an additional check, comparing the current app version with the extension's flarum/core requirement.

@SychO9 SychO9 requested a review from a team as a code owner February 7, 2025 08:30
@SychO9 SychO9 added the type/bug label Feb 7, 2025
@SychO9 SychO9 merged commit 45cb384 into 1.x Feb 7, 2025
362 checks passed
@SychO9 SychO9 deleted the sm/skip-incompatible-extensions branch February 7, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant