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

Bump version up to 0.8.2 #157

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Bump version up to 0.8.2 #157

merged 1 commit into from
Jan 16, 2024

Conversation

ouikhuan
Copy link
Contributor

@ouikhuan ouikhuan commented Jan 4, 2024

Bumping version up to include latest changes:

  • Update compatibility tested-up-to to WordPress 6.4.2.
  • Update doc URL references.
  • Adjust workflow triggers.

@ouikhuan ouikhuan self-assigned this Jan 4, 2024
Comment on lines +45 to +48
* Update compatibility tested-up-to to WordPress 6.4.2.
* Update doc URL references.
* Adjust workflow triggers.

Copy link
Member

Choose a reason for hiding this comment

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

None of these are user facing changes warranting a new release.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's correct, so we're releasing it with a patch version here. Otherwise, if old changes are merged and not shipped with a version bump, the changes like Tested up to and assets won't be able to porting over to the SVN directly in the future. Is there a better way to resolve this?

Copy link

@vishnugopal vishnugopal Jan 4, 2024

Choose a reason for hiding this comment

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

When we first took up importer maintenance, several WordPress releases had passed by and the importer had an out of date notice on the plugin page. Verifying compatibility and releasing plugins with new tested up-to versions works well if we do it for every WordPress release, and that's what we'd like to do here.

What is the alternative you suggest to keep supported importers up-to-date on the plugin page? 🙇🏽

Copy link
Member

Choose a reason for hiding this comment

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

we're releasing it with a patch version here

A patch version is still a new release.

the importer had an out of date notice on the plugin page

IIRC the "Tested up to" version on which that banner is based comes from the SVN trunk version of the plugin.

As long as the commit which updates the version is pushed to trunk, there is no need to release a new version to bump that header.

What you are doing is version inflation without benefit for end-users.

Copy link

@vishnugopal vishnugopal Jan 4, 2024

Choose a reason for hiding this comment

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

I think the Github workflow for this repo won't allow us to commit to SVN directly without a release bump, but let's see what we can do to get around this.

cc @dd32 for help 🙏🏽

Copy link
Member

Choose a reason for hiding this comment

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

@vishnugopal That would be a good reason to adjust/improve the workflow. Not a good reason for version inflation.

Choose a reason for hiding this comment

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

I respectfully disagree. I think the benefit for end users here is that we're testing and verifying compatibility with the latest WordPress releases. But I'll defer to folks like @dd32 who have more experience releasing things like this.

Copy link
Member

@dd32 dd32 Jan 16, 2024

Choose a reason for hiding this comment

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

IIRC the "Tested up to" version on which that banner is based comes from the SVN trunk version of the plugin.

This isn't correct, unfortunately a full release is required to bump this field, which is my biggest gripe with how others (read: not-the-plugin-directory) treat the field.

Unfortunately due to "security" plugins, it's also become "good practice" to release a new version at least once a year, even without any changes, as otherwise they start complaining "you're using a possibly no longer supported plugin". Basically trying to justify their existence through fear generation. (Yes, I know it's NOT a good practice)

While we've looked at adding a feature on the plugin directory to specify the tested-up-to without any code changes, unfortunately Core now includes things that use this (which I disagree with, and requires a plugin update to affect), which has also added an additional location for the header that we don't yet support.

https://github.com/WordPress/wordpress-develop/blob/24531a9afc8ef75822da45b85c147b492674e715/src/wp-admin/includes/class-wp-plugin-install-list-table.php#L813

echo '<span class="compatibility-untested">' . __( 'Untested with your version of WordPress' ) . '</span>';

EDIT: Please disregard the final comment here, it turns out I had misremembered / midunderstood a core change, the quoted code is specifically for the install-new-plugin list. so a way for a plugin author to bump tested-up-to without a plugin update would work for that code.

Choose a reason for hiding this comment

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

Thanks @dd32 based on your comments, we are going ahead and releasing this new version.

Copy link

@vishnugopal vishnugopal left a comment

Choose a reason for hiding this comment

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

Works with the latest WordPress version, approving!

@ouikhuan ouikhuan merged commit 8b76ec0 into master Jan 16, 2024
22 checks passed
@ouikhuan ouikhuan deleted the update/bump-version branch January 16, 2024 07:04
@ouikhuan ouikhuan restored the update/bump-version branch January 16, 2024 07:04
@ouikhuan ouikhuan deleted the update/bump-version branch January 16, 2024 07:04
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.

4 participants