From 256b443c0c6e9ab4dfda62e1b91aeaa70e6abf3d Mon Sep 17 00:00:00 2001 From: Corey McKrill <916023+coreymckrill@users.noreply.github.com> Date: Fri, 12 Jul 2024 16:35:12 -0700 Subject: [PATCH 1/3] Update changelog, tested versions for 1.2.0 --- changelog.txt | 14 ++++++++++++++ wc-smooth-generator.php | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 80accc3..ddaa0ab 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,19 @@ *** Changelog *** += 1.2.0 - xxxx-xx-xx = +* Add - --country and --type arguments for the `generate customers` command. +* Add - customer generator attempts to localize data based on the specified country. +* Add - orders will now include order attribution meta data. +* Add - a progress bar in the Web UI. +* Add - all generators now use a `batch` function under the hood when generating multiple items. +* Change - customer generator defaults to only using countries that the store is configured to sell to. +* Change - customer generator attempts to keep data consistent between name, username, and email address. +* Change - coupon generator now generates more unique coupon codes. +* Change - background process for the Web UI now generates items in batches instead of one at a time. +* Change - menu item under WP Admin > Tools is now just "Smooth Generator" for better space efficiency. +* Dev - update build tools, remove Grunt. +* Fix - coupon generator will always generate the specified number of coupons. + = 1.1.0 - 2023-03-14 = * Add - some generated orders will now include fees. * Add - the possibility for billing, shipping, and location addresses to be different in orders. diff --git a/wc-smooth-generator.php b/wc-smooth-generator.php index 163bb15..6d72511 100644 --- a/wc-smooth-generator.php +++ b/wc-smooth-generator.php @@ -7,10 +7,10 @@ * Author: Automattic * Author URI: https://woocommerce.com * - * Tested up to: 6.2 + * Tested up to: 6.5 * Requires PHP: 7.4 * WC requires at least: 5.0.0 - * WC tested up to: 7.9.0 + * WC tested up to: 9.1.0 * Woo: 000000:0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 * * @package WooCommerce From c03d6f6c1afe044016395433d72d0d8f423e8a1f Mon Sep 17 00:00:00 2001 From: Corey McKrill <916023+coreymckrill@users.noreply.github.com> Date: Fri, 12 Jul 2024 17:11:07 -0700 Subject: [PATCH 2/3] Tweaks for npm scripts --- package.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f5427a6..4d18615 100644 --- a/package.json +++ b/package.json @@ -9,14 +9,12 @@ }, "license": "GPL-3.0+", "scripts": { - "setup": "npm install && composer install", - "build": "composer install --no-dev && npm install --only=prod && composer archive --file=$npm_package_name --format=zip && npm run postarchive", - "postarchive": "rm -rf $npm_package_name && unzip $npm_package_name.zip -d $npm_package_name && rm $npm_package_name.zip && zip -r $npm_package_name.zip $npm_package_name && rm -rf $npm_package_name", + "setup": "npm install && composer install && husky install", + "build": "composer install --no-dev && npm install --only=prod && composer archive --file=$npm_package_name --format=zip", "phpcs": "composer run phpcs", "lint": "composer run lint", "lint:staged": "composer run lint-staged", - "lint:branch": "composer run lint-branch", - "prepare": "husky install" + "lint:branch": "composer run lint-branch" }, "devDependencies": { "husky": "^8.0.0" From d093a8e00ffa040d1dcd68378a50a023a3f37f35 Mon Sep 17 00:00:00 2001 From: Corey McKrill <916023+coreymckrill@users.noreply.github.com> Date: Fri, 12 Jul 2024 17:36:21 -0700 Subject: [PATCH 3/3] Bump version to 1.2.0 --- changelog.txt | 2 +- package-lock.json | 4 ++-- package.json | 2 +- wc-smooth-generator.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/changelog.txt b/changelog.txt index ddaa0ab..e456a17 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,6 +1,6 @@ *** Changelog *** -= 1.2.0 - xxxx-xx-xx = += 1.2.0 - 2024-07-12 = * Add - --country and --type arguments for the `generate customers` command. * Add - customer generator attempts to localize data based on the specified country. * Add - orders will now include order attribution meta data. diff --git a/package-lock.json b/package-lock.json index ebf6c89..6e80a35 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "wc-smooth-generator", - "version": "1.1.0", + "version": "1.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "wc-smooth-generator", - "version": "1.1.0", + "version": "1.2.0", "license": "GPL-3.0+", "devDependencies": { "husky": "^8.0.0" diff --git a/package.json b/package.json index 4d18615..d0ed6f6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wc-smooth-generator", "title": "WooCommerce Smooth Generator", - "version": "1.1.0", + "version": "1.2.0", "homepage": "https://github.com/woocommerce/wc-smooth-generator", "repository": { "type": "git", diff --git a/wc-smooth-generator.php b/wc-smooth-generator.php index 6d72511..88d783d 100644 --- a/wc-smooth-generator.php +++ b/wc-smooth-generator.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Smooth Generator * Plugin URI: https://woocommerce.com * Description: A smooth product, order, customer, and coupon generator for WooCommerce. - * Version: 1.1.0 + * Version: 1.2.0 * Author: Automattic * Author URI: https://woocommerce.com *