Dev/beta tester (#34993)
* Add documentation as to where to find the settings/features * Fix version picker not working * Bump versions and normalize changelog section * Remove old changelog files * Ensure WR can bump the version * Add minified version of version-picker Co-authored-by: Jonathan Sadowski <sadowski@automattic.com>
This commit is contained in:
parent
7cb84e5b2d
commit
c32eb268cf
|
@ -1,57 +0,0 @@
|
|||
## [2.1](https://github.com/woocommerce/woocommerce/releases) - 2022-06-16
|
||||
|
||||
- Minor - Add WooCommerce Admin Helper Tester functionality to Beta Tester
|
||||
- Minor - Standardize build scripts and create a build:zip script
|
||||
- Patch - Standardize lint scripts: Add lint:fix
|
||||
- Patch - This is only updating monorepo infrastructure.
|
||||
- Minor - Updates the WC sniffs version to latest.
|
||||
|
||||
## [2.0.5](https://github.com/woocommerce/woocommerce/releases) - 2021-12-17
|
||||
|
||||
- Fix: make WC version comparison case insensitive
|
||||
|
||||
## [2.0.4](https://github.com/woocommerce/woocommerce/releases) - 2021-09-29
|
||||
|
||||
- Dev: Bump tested to version
|
||||
- Fix: enqueue logic for css/js assets
|
||||
|
||||
## [2.0.3](https://github.com/woocommerce/woocommerce/releases) - 2021-09-22
|
||||
|
||||
- Fix: Bump version to release version including admin.css.
|
||||
|
||||
## [2.0.2](https://github.com/woocommerce/woocommerce/releases)
|
||||
|
||||
- Fix notice for undefined `item`
|
||||
- Fix auto_update_plugin filter reference
|
||||
- Fix including SSR in bug report
|
||||
- Fix style in version modal header
|
||||
- Add check for WooCommerce installed in default location
|
||||
|
||||
## [2.0.1](https://github.com/woocommerce/woocommerce/releases)
|
||||
|
||||
- Changes to make this plugin compatible with the upcoming WooCommerce 3.6
|
||||
|
||||
## [2.0.0](https://github.com/woocommerce/woocommerce/releases)
|
||||
|
||||
- Enhancement - Re-built to pull updates from the WordPress.org repository rather than GitHub.
|
||||
- Enhancement - Channel selection; choose to receive RC or beta versions.
|
||||
- Enhancement - Admin bar item shows version information, and offers shortcuts to functionality.
|
||||
- Enhancement - Shortcut to log GitHub issues.
|
||||
- Enhancement - Version switcher; choose which release or prerelease to switch to.
|
||||
- Enhancement - Setting to enable auto-updates.
|
||||
|
||||
## [1.0.3](https://github.com/woocommerce/woocommerce/releases)
|
||||
|
||||
- Fix repo URLs and directory renaming.
|
||||
|
||||
## [1.0.2](https://github.com/woocommerce/woocommerce/releases)
|
||||
|
||||
- Updated API URL.
|
||||
|
||||
## [1.0.1](https://github.com/woocommerce/woocommerce/releases)
|
||||
|
||||
- Switched to releases API to get latest release, rather than tag which are not chronological.
|
||||
|
||||
## [1.0](https://github.com/woocommerce/woocommerce/releases)
|
||||
|
||||
- First release.
|
|
@ -0,0 +1,5 @@
|
|||
# Changelog
|
||||
|
||||
---
|
||||
|
||||
[See changelogs for previous versions](https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/plugins/woocommerce-beta-tester/readme.txt).
|
|
@ -1,3 +1,11 @@
|
|||
# WooCommerce Beta Tester
|
||||
|
||||
A plugin that makes it easy to test out pre-releases such as betas release canadidates and even final releases.
|
||||
|
||||
## Usage
|
||||
|
||||
You can get to the settings and features from your top admin bar under the name WC Beta Tester.
|
||||
|
||||
# WooCommerce Admin Test Helper
|
||||
|
||||
A plugin that makes it easier to test the WooCommerce Admin plugin.
|
||||
|
|
|
@ -14,7 +14,7 @@ jQuery( function ( $ ) {
|
|||
* Initialize Version Information click
|
||||
*/
|
||||
init() {
|
||||
const instance = this;
|
||||
instance = this;
|
||||
instance.new_version = undefined;
|
||||
|
||||
$( '#wcbt-modal-version-switch-confirm' ).on(
|
||||
|
@ -38,8 +38,6 @@ jQuery( function ( $ ) {
|
|||
showConfirmVersionSwitchModal( event ) {
|
||||
event.preventDefault();
|
||||
|
||||
const instance = this;
|
||||
|
||||
if ( ! instance.new_version ) {
|
||||
// eslint-disable-next-line no-undef
|
||||
alert( wc_beta_tester_version_picker_params.i18n_pick_version );
|
||||
|
|
|
@ -1 +1 @@
|
|||
jQuery(function(e){const i={init(){const i=this;i.new_version=void 0,e("#wcbt-modal-version-switch-confirm").on("click",this.showConfirmVersionSwitchModal),e("input[type=radio][name=wcbt_switch_to_version]").change(function(){e(this).is(":checked")&&(i.new_version=e(this).val())}).trigger("change")},showConfirmVersionSwitchModal(i){i.preventDefault();i=this;i.new_version?(e(this).WCBackboneModal({template:"wcbt-version-switch-confirm",variable:{new_version:i.new_version}}),e("#wcbt-submit-version-switch").on("click",i.submitSwitchVersionForm)):alert(wc_beta_tester_version_picker_params.i18n_pick_version)},submitSwitchVersionForm(i){i.preventDefault(),e("form[name=wcbt-select-version]").get(0).submit()}};i.init()});
|
||||
jQuery(function(n){const i={init(){instance=this,instance.new_version=void 0,n("#wcbt-modal-version-switch-confirm").on("click",this.showConfirmVersionSwitchModal),n("input[type=radio][name=wcbt_switch_to_version]").change(function(){n(this).is(":checked")&&(instance.new_version=n(this).val())}).trigger("change")},showConfirmVersionSwitchModal(i){i.preventDefault(),instance.new_version?(n(this).WCBackboneModal({template:"wcbt-version-switch-confirm",variable:{new_version:instance.new_version}}),n("#wcbt-submit-version-switch").on("click",instance.submitSwitchVersionForm)):alert(wc_beta_tester_version_picker_params.i18n_pick_version)},submitSwitchVersionForm(i){i.preventDefault(),n("form[name=wcbt-select-version]").get(0).submit()}};i.init()});
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: This PR updates repository tooling and doesn't require a changelog entry.
|
||||
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
Significance: minor
|
||||
Type: dev
|
||||
|
||||
Add version number to composer.json
|
|
@ -1,4 +0,0 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
Move release config in package json into woorelease object.
|
|
@ -1,4 +0,0 @@
|
|||
Significance: minor
|
||||
Type: dev
|
||||
|
||||
Fix node and pnpm versions via engines
|
|
@ -1,5 +0,0 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Package scripts were modified to support simplified running of turbo commands in the monorepo.
|
||||
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: This only changes a build step.
|
||||
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: PHPCS violation fixes
|
||||
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
Significance: minor
|
||||
Type: dev
|
||||
|
||||
Update Composer lock file
|
|
@ -1,4 +0,0 @@
|
|||
Significance: minor
|
||||
Type: dev
|
||||
|
||||
Update tracks debugging to only log after events are validated
|
|
@ -1,4 +0,0 @@
|
|||
Significance: minor
|
||||
Type: dev
|
||||
|
||||
Adjust build/test scripts to remove -- -- that was required for pnpm 6.
|
|
@ -2,7 +2,7 @@
|
|||
Contributors: automattic, bor0, claudiosanches, claudiulodro, kloon, mikejolley, peterfabian1000, rodrigosprimo, wpmuguru
|
||||
Tags: woocommerce, woo commerce, beta, beta tester, bleeding edge, testing
|
||||
Requires at least: 4.7
|
||||
Tested up to: 5.6
|
||||
Tested up to: 6.0
|
||||
Stable tag: 2.1.0
|
||||
License: GPLv3
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
@ -25,6 +25,8 @@ These will surface pre-releases via automatic updates in WordPress. Updates will
|
|||
|
||||
**Note**, this will not check for updates on every admin page load unless you explicitly tell it to. You can do this by clicking the "Check Again" button from the WordPress updates screen or you can set the `WC_BETA_TESTER_FORCE_UPDATE` to true in your `wp-config.php` file.
|
||||
|
||||
You can get to the settings and features from your top admin bar under the name WC Beta Tester.
|
||||
|
||||
== Frequently Asked Questions ==
|
||||
|
||||
= Does this allow me to install multiple versions of WooCommerce at the same time?
|
||||
|
@ -53,10 +55,47 @@ See our [contributing guidelines here](https://github.com/woocommerce/woocommerc
|
|||
|
||||
== Changelog ==
|
||||
|
||||
## [2.1](https://github.com/woocommerce/woocommerce/releases/tag/2.1) - 2022-06-16
|
||||
= 2.1.0 2022-10-11 =
|
||||
|
||||
- Minor - Add WooCommerce Admin Helper Tester functionality to Beta Tester
|
||||
- Minor - Standardize build scripts and create a build:zip script
|
||||
- Patch - Standardize lint scripts: Add lint:fix
|
||||
- Patch - This is only updating monorepo infrastructure.
|
||||
- Minor - Updates the WC sniffs version to latest.
|
||||
* Dev - Add WooCommerce Admin Helper Tester functionality to Beta Tester
|
||||
|
||||
= 2.0.5 - 2021-12-17 =
|
||||
* Fix: make WC version comparison case insensitive
|
||||
|
||||
= 2.0.4 - 2021-09-29 =
|
||||
* Dev: Bump tested to version
|
||||
* Fix: enqueue logic for css/js assets
|
||||
|
||||
= 2.0.3 - 2021-09-22 =
|
||||
* Fix: Bump version to release version including admin.css.
|
||||
|
||||
= 2.0.2 =
|
||||
|
||||
* Fix notice for undefined `item`
|
||||
* Fix auto_update_plugin filter reference
|
||||
* Fix including SSR in bug report
|
||||
* Fix style in version modal header
|
||||
* Add check for WooCommerce installed in default location
|
||||
|
||||
= 2.0.1 =
|
||||
* Changes to make this plugin compatible with the upcoming WooCommerce 3.6
|
||||
|
||||
= 2.0.0 =
|
||||
* Enhancement - Re-built to pull updates from the WordPress.org repository rather than GitHub.
|
||||
* Enhancement - Channel selection; choose to receive RC or beta versions.
|
||||
* Enhancement - Admin bar item shows version information, and offers shortcuts to functionality.
|
||||
* Enhancement - Shortcut to log GitHub issues.
|
||||
* Enhancement - Version switcher; choose which release or prerelease to switch to.
|
||||
* Enhancement - Setting to enable auto-updates.
|
||||
|
||||
= 1.0.3 =
|
||||
* Fix repo URLs and directory renaming.
|
||||
|
||||
= 1.0.2 =
|
||||
* Updated API URL.
|
||||
|
||||
= 1.0.1 =
|
||||
* Switched to releases API to get latest release, rather than tag which are not chronological.
|
||||
|
||||
= 1.0 =
|
||||
* First release.
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
* Author URI: http://woocommerce.com/
|
||||
* Requires at least: 5.8
|
||||
* Tested up to: 6.0
|
||||
* WC requires at least: 3.6.0
|
||||
* WC tested up to: 5.7.0
|
||||
* WC requires at least: 6.7
|
||||
* WC tested up to: 7.0
|
||||
* Text Domain: woocommerce-beta-tester
|
||||
*
|
||||
* @package WC_Beta_Tester
|
||||
|
@ -23,7 +23,7 @@ if ( ! defined( 'WC_BETA_TESTER_FILE' ) ) {
|
|||
}
|
||||
|
||||
if ( ! defined( 'WC_BETA_TESTER_VERSION' ) ) {
|
||||
define( 'WC_BETA_TESTER_VERSION', '2.0.2' );
|
||||
define( 'WC_BETA_TESTER_VERSION', '2.1.0' ); // WRCS: DEFINED_VERSION.
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue