Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit 74318bd

Browse files
committed
Merge branch 'release/v1.0.0-rc2'
2 parents 3da3411 + ae34fa1 commit 74318bd

17 files changed

+296
-160
lines changed
Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
1-
---
2-
name: Bug report
3-
about: Create a report to help us improve
4-
5-
---
6-
7-
**Describe the bug**
8-
A clear and concise description of what the bug is.
9-
10-
**To Reproduce**
11-
Steps to reproduce the behavior:
12-
1. Go to '...'
13-
2. Click on '....'
14-
3. Scroll down to '....'
15-
4. See error
16-
17-
**Expected behavior**
18-
A clear and concise description of what you expected to happen.
19-
20-
**Screenshots**
21-
If applicable, add screenshots to help explain your problem.
22-
23-
**Versions**
24-
- WordPress version
25-
- WooCommerce version
26-
- Plugin version [e.g. "1.0.0 (Beta 3)" or "develop @ 027c6aa"]
27-
28-
**Additional context**
29-
Add any other context about the problem here.
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
**Describe the bug**
8+
A clear and concise description of what the bug is.
9+
10+
**To Reproduce**
11+
Steps to reproduce the behavior:
12+
1. Go to '...'
13+
2. Click on '....'
14+
3. Scroll down to '....'
15+
4. See error
16+
17+
**Expected behavior**
18+
A clear and concise description of what you expected to happen.
19+
20+
**Screenshots**
21+
If applicable, add screenshots to help explain your problem.
22+
23+
**Versions**
24+
- WordPress version
25+
- WooCommerce version
26+
- Plugin version [e.g. "1.0.0 (Beta 3)" or "develop @ 027c6aa"]
27+
- PHP version
28+
29+
**Additional context**
30+
Add any other context about the problem here.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
tests/coverage
22
vendor
3+
*.DS_Store

.travis.yml

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,51 @@ cache:
1010
- $HOME/.composer/cache
1111

1212
php:
13+
- 7.3
1314
- 7.2
1415
- 7.1
1516
- 7.0
1617

1718
env:
1819
- WP_VERSION=latest WC_VERSION=latest
19-
- WP_VERSION=latest WC_VERSION=3.4.5
20-
- WP_VERSION=latest WC_VERSION=3.3.5
21-
- WP_VERSION=latest WC_VERSION=3.2.6
20+
- WP_VERSION=4.9.9 WC_VERSION=latest
21+
- WP_VERSION=4.9.9 WC_VERSION=3.4.7
22+
- WP_VERSION=4.9.9 WC_VERSION=3.3.5
23+
- WP_VERSION=4.9.9 WC_VERSION=3.2.6
2224

25+
# Considerations for the test matrix:
26+
#
27+
# - The "WC Requires At Least" is 3.2.6, so that's the lowest we need to go
28+
# - WordPress < 5.0 doesn't officially support PHP 7.3.
29+
# - WordPress 5.0 requires at least WooCommerce 3.5.1
2330
matrix:
2431
fast_finish: true
2532
include:
2633
- name: Coding Standards
2734
php: 7.2
28-
env: WP_VERSION=trunk WC_VERSION=latest RUN_PHPCS=1
29-
# Generate code coverage from PHP 7.1.
35+
env: WP_VERSION=latest WC_VERSION=latest RUN_PHPCS=1
3036
- name: Code Coverage
3137
php: 7.2
32-
env: WP_VERSION=latest WP_MULTISITE=0 WC_VERSION=latest RUN_CODE_COVERAGE=1
33-
38+
env: WP_VERSION=latest WC_VERSION=latest RUN_CODE_COVERAGE=1
39+
- name: Bleeding Edge
40+
php: 7.3
41+
env: WP_VERSION=trunk WC_VERSION=latest
42+
exclude:
43+
- php: 7.3
44+
env: WP_VERSION=4.9.9 WC_VERSION=latest
45+
- php: 7.3
46+
env: WP_VERSION=4.9.9 WC_VERSION=3.4.7
47+
- php: 7.3
48+
env: WP_VERSION=4.9.9 WC_VERSION=3.3.5
49+
- php: 7.3
50+
env: WP_VERSION=4.9.9 WC_VERSION=3.2.6
3451
allow_failures:
3552
- name: Code Coverage
3653
php: 7.2
37-
env: WP_VERSION=latest WP_MULTISITE=0 WC_VERSION=latest RUN_CODE_COVERAGE=1
54+
env: WP_VERSION=latest WC_VERSION=latest RUN_CODE_COVERAGE=1
55+
- name: Bleeding Edge
56+
php: 7.3
57+
env: WP_VERSION=trunk WC_VERSION=latest
3858

3959
before_script:
4060
- export PATH="$HOME/.composer/vendor/bin:$PATH"
@@ -43,9 +63,8 @@ before_script:
4363
wget https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.0/coveralls.phar
4464
chmod +x coveralls.phar
4565
mkdir -p build/logs
46-
else
47-
phpenv config-rm xdebug.ini
4866
fi
67+
- phpenv config-rm xdebug.ini || true
4968
- |
5069
if [[ ${GITHUB_AUTH_TOKEN} != '' ]]; then
5170
composer config -g github-oauth.github.com $GITHUB_AUTH_TOKEN
@@ -57,7 +76,7 @@ before_script:
5776
script:
5877
- |
5978
if [[ ${RUN_CODE_COVERAGE} ]]; then
60-
./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
79+
phpdbg -qrr -d memory_limit=-1 ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=build/logs/clover.xml --exclude-group=timeout
6180
else
6281
./vendor/bin/phpunit
6382
fi

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [Version 1.0.0 (Release Candidate 2)] - 2018-12-14
9+
10+
* Reduced overhead of PHP autoloader ([#86], props @schlessera).
11+
* Converted the `customer_user_agent` column from `varchar(200)` to `text` ([#91]).
12+
* Fixed an issue where `empty()` was being called on a non-variable, which causes a fatal error in PHP < 5.5 ([#94]).
13+
* Prevented empty strings from being saved to the `order_key` column, which causes issues with the column's uniqueness constraint ([#101], props @crstauf).
14+
* Fixed an issue where *existing* invalid emails in the system were causing migration errors as they were re-saved ([#104]).
15+
* Updated Travis CI testing matrix to include WordPress 5.0 ([#103]).
16+
* Repaired the generation of code coverage reports for Coveralls ([#87], [#88]).
17+
818
## [Version 1.0.0 (Release Candidate)] - 2018-09-25
919

1020
* Major refactoring of the WP-CLI migration commands ([#61], [#79], [#81]).
@@ -48,6 +58,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
4858

4959

5060
[Unreleased]: https://github.com/liquidweb/woocommerce-order-tables/compare/master...develop
61+
[Version 1.0.0 (Release Candidate 2)]: https://github.com/liquidweb/woocommerce-order-tables/releases/tag/v1.0.0-rc2
5162
[Version 1.0.0 (Release Candidate)]: https://github.com/liquidweb/woocommerce-order-tables/releases/tag/v1.0.0-rc1
5263
[Version 1.0.0 (Beta 3)]: https://github.com/liquidweb/woocommerce-order-tables/releases/tag/v1.0.0-beta.3
5364
[Version 1.0.0 (Beta 2)]: https://github.com/liquidweb/woocommerce-order-tables/releases/tag/v1.0.0-beta.2
@@ -80,3 +91,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
8091
[#81]: https://github.com/liquidweb/woocommerce-order-tables/pull/81
8192
[#82]: https://github.com/liquidweb/woocommerce-order-tables/pull/82
8293
[#84]: https://github.com/liquidweb/woocommerce-order-tables/pull/84
94+
[#86]: https://github.com/liquidweb/woocommerce-order-tables/pull/86
95+
[#87]: https://github.com/liquidweb/woocommerce-order-tables/pull/87
96+
[#88]: https://github.com/liquidweb/woocommerce-order-tables/pull/88
97+
[#91]: https://github.com/liquidweb/woocommerce-order-tables/pull/91
98+
[#94]: https://github.com/liquidweb/woocommerce-order-tables/pull/94
99+
[#101]: https://github.com/liquidweb/woocommerce-order-tables/pull/101
100+
[#103]: https://github.com/liquidweb/woocommerce-order-tables/pull/103
101+
[#104]: https://github.com/liquidweb/woocommerce-order-tables/pull/104

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# WooCommerce Custom Orders Table
22

33
[![Build Status](https://travis-ci.org/liquidweb/woocommerce-custom-orders-table.svg?branch=develop)](https://travis-ci.org/liquidweb/woocommerce-custom-orders-table)
4-
[![Coverage Status](https://coveralls.io/repos/github/liquidweb/woocommerce-custom-orders-table/badge.svg?branch=feature%2Fcode-coverage)](https://coveralls.io/github/liquidweb/woocommerce-custom-orders-table?branch=feature%2Fcode-coverage)
4+
[![Coverage Status](https://coveralls.io/repos/github/liquidweb/woocommerce-custom-orders-table/badge.svg?branch=develop)](https://coveralls.io/github/liquidweb/woocommerce-custom-orders-table?branch=develop)
55

66
This plugin improves WooCommerce performance by introducing a custom table to hold all of the most common order information in a single, properly-indexed location.
77

composer.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"require-dev": {
77
"php": "^7.0",
88
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
9-
"phpunit/phpunit": "6.2.3",
10-
"wimg/php-compatibility": "^8.1",
9+
"phpunit/phpunit": "^6.5",
10+
"wimg/php-compatibility": "^9.0",
1111
"woocommerce/woocommerce": "dev-master",
1212
"woocommerce/woocommerce-git-hooks": "*",
13-
"woocommerce/woocommerce-sniffs": "^0.0.1",
13+
"woocommerce/woocommerce-sniffs": "^0.0.2",
1414
"wp-cli/wp-cli": "^2.0",
15-
"wp-coding-standards/wpcs": "^0.14"
15+
"wp-coding-standards/wpcs": "^1.1"
1616
},
1717
"autoload-dev": {
1818
"classmap": [
@@ -40,10 +40,13 @@
4040
"phpunit --testsuite=plugin --coverage-html=tests/coverage"
4141
]
4242
},
43+
"scripts-descriptions": {
44+
"test-coverage": "Generate test coverage for the plugin"
45+
},
4346
"config": {
4447
"sort-packages": true,
4548
"platform": {
46-
"php": "7.0"
49+
"php": "7.2"
4750
}
4851
},
4952
"extra": {

0 commit comments

Comments
 (0)