diff --git a/README.md b/README.md index 2b21b57..1354d7a 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,10 @@ Stable versions are available on the [Hypothesis plugin page on WordPress.org](h Follow these steps to publish a new plugin version. -1. **Update the package version** in `hypothesis.php`, `readme.txt` and `package.json`, and merge that change into the `main` branch[^1]. We use [Semantic Versioning](https://semver.org/#semantic-versioning-200). -2. **Create a tag** pointing at the version-change commit and generate a **new GitHub release** (details follow). Publishing a GitHub release will kick off a GitHub Action that will publish the plugin to wordpress.org +1. **Update the package version** in `hypothesis.php`, `readme.txt` and `package.json` +2. **Update readme.txt**, adding the new version with its list of changes, under the `Changelog` section. +3. **Merge** the changes into the `main` branch[^1]. We use [Semantic Versioning](https://semver.org/#semantic-versioning-200). +4. **Create a tag** pointing at the version-change commit and generate a **new GitHub release** (details follow). Publishing a GitHub release will kick off a GitHub Action that will publish the plugin to wordpress.org ### Creating a GitHub release @@ -27,6 +29,10 @@ Create a [new GitHub release](https://github.com/hypothesis/wp-hypothesis/releas 3. Click the `Auto-generate release notes` button to generate release notes and edit as needed. We use [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) formatting.[^3] 4. Leave other fields alone/as defaults. +[^1]: Unlike other PRs, a version-bump PR does not require review. But do wait for CI to complete first. +[^2]: You can create a tag manually as a separate step if you want to tag a non-tip commit. +[^3]: You can look at release notes for [other recent releases](https://github.com/hypothesis/wp-hypothesis/releases) as exemplars. You don't need to include every change (especially, e.g., dependency updates). + ## License [BSD](http://opensource.org/licenses/BSD-2-Clause) diff --git a/hypothesis.php b/hypothesis.php index e63e0db..f1d4ad3 100644 --- a/hypothesis.php +++ b/hypothesis.php @@ -3,7 +3,7 @@ * Plugin Name: Hypothesis * Plugin URI: https://hypothes.is/ * Description: Hypothesis is an open platform for the collaborative evaluation of knowledge. This plugin embeds the necessary scripts in your WordPress site to enable any user to use Hypothesis without installing any extensions. - * Version: 0.6.0 + * Version: 0.7.0 * Requires at least: 6.2 * Requires PHP: 7.4 * Author: The Hypothesis Project and contributors @@ -23,7 +23,7 @@ function hypothesis_load_plugin_textdomain() { } add_action( 'plugins_loaded', 'hypothesis_load_plugin_textdomain' ); -define( 'HYPOTHESIS_PLUGIN_VERSION', '0.6.0' ); +define( 'HYPOTHESIS_PLUGIN_VERSION', '0.7.0' ); require_once __DIR__ . '/class-hypothesissettingspage.php'; diff --git a/package.json b/package.json index df8de61..253aad0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hypothesis", - "version": "0.6.0", + "version": "0.7.0", "main": "Gruntfile.js", "author": "The Hypothesis Project and contributors", "repository": "http://github.com/hypothesis/wp-hypothesis/", diff --git a/readme.txt b/readme.txt index d0d8065..8b2a78b 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: timmmmyboy, BigBlueHat, JakeHartnell, greatislander, acelaya Tags: hypothesis, annotation, comments Requires at least: 6.2 Tested up to: 6.4.2 -Stable tag: 0.6.0 +Stable tag: 0.7.0 License: BSD License URI: http://opensource.org/licenses/BSD-2-Clause @@ -21,6 +21,10 @@ Hypothesis is a web annotation tool that allows users to provide commentary, ref == Changelog == += 0.7.0 = +* Add support for WordPress v6 +* Update to WordPress coding standard v3 + = 0.6.0 = * Fix PDF links in multisite and other customized installations (props @boonbgorges). * Tested up to WordPress 5.2.2.