Skip to content

Conversation

@justlevine
Copy link
Collaborator

What does this implement/fix? Explain your changes.

This PR fixes edge cases in UpdateChecker::is_incompatible_plugin() by replacing the SemVer parser in that function with a basic version_compare().

Does this close any currently open issues?

Any relevant logs, error output, GraphiQL screenshots, etc?

Before:
image

After:

image

Any other comments?

Where has this been tested?

Operating System: Ubuntu 24.04 (wsl2 + ddev + php 8.2.26)

WordPress Version: 6.7.1

@justlevine justlevine changed the title fix; use version_compare to simplify incompatible dependent check fix: use version_compare to simplify incompatible dependent check Feb 16, 2025
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 429fc4e and detected 0 issues on this pull request.

View more on Code Climate.

@justlevine justlevine requested a review from jasonbahl February 16, 2025 23:22
@justlevine justlevine added status: in review Awaiting review before merging or closing needs: reviewer response This needs the attention of a codeowner or maintainer regression Bug that causes a regression to a previously working feature labels Feb 16, 2025
@coveralls
Copy link

Coverage Status

coverage: 82.707%. remained the same
when pulling 429fc4e on justlevine:fix/incompatible_dependent-version_compare
into 616760d on wp-graphql:develop.

@jasonbahl jasonbahl merged commit aedd4f6 into wp-graphql:develop Feb 17, 2025
36 checks passed
@justlevine justlevine deleted the fix/incompatible_dependent-version_compare branch February 17, 2025 20:14
@jasonbahl jasonbahl mentioned this pull request Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs: reviewer response This needs the attention of a codeowner or maintainer regression Bug that causes a regression to a previously working feature status: in review Awaiting review before merging or closing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants