Skip to content

Commit db09501

Browse files
committed
Version numbers and Repo templates updated.
1 parent 6e0aa5d commit db09501

26 files changed

+232
-347
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,11 @@ If applicable, add screenshots to help explain your problem.
3434
- Browser [e.g. stock browser, safari]
3535
- Version [e.g. 22]
3636

37+
**Plugin Versions**
38+
- **WooGraphQL Version:**
39+
- **WPGraphQL Version:**
40+
- **WordPress Version:**
41+
- **WooCommerce Version:**
42+
3743
**Additional context**
3844
Add any other context about the problem here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Thanks for sending a pull request! Please make sure you click the link above to
44
🚨Please review the [guidelines for contributing](./CONTRIBUTING.md) to this repository.
55

66
- [ ] Make sure you are making a pull request against the **develop branch** (left side). Also you should start *your branch* off *our develop*.
7-
- [ ] Make sure you are requesting to pull request from a **topic/feature/bugfix branch** (right side). Don't pull request from your master!
7+
- [ ] Make sure you are requesting to pull request from a **topic/feature/bugfix/devops branch** (right side). Don't pull request from your master!
8+
- [ ] Have you ensured/updated that CLI tests to extend coverage to any new logic. Learn how to modify the tests [here](https://woographql.com/contributing/2-local-testing).
89

910
What does this implement/fix? Explain your changes.
1011
---------------------------------------------------
@@ -28,6 +29,8 @@ Any other comments?
2829

2930
Where has this been tested?
3031
---------------------------
31-
**Operating System:**
3232

33-
**WordPress Version:**
33+
- **WooGraphQL Version:**
34+
- **WPGraphQL Version:**
35+
- **WordPress Version:**
36+
- **WooCommerce Version:**

CHANGELOG.md

Lines changed: 36 additions & 300 deletions
Large diffs are not rendered by default.

README.txt

Lines changed: 119 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,132 @@
22
Contributors: kidunot89, ranaaterning, jasonbahl, saleebm
33
Tags: GraphQL, WooCommerce, WPGraphQL
44
Requires at least: 4.9
5-
Tested up to: 5.2
5+
Tested up to: 5.6
66
Requires PHP: 7.1
77
Requires WooCommerce: 4.8.0
88
Requires WPGraphQL: 1.0.0+
99
Works with WPGraphQL-JWT-Authentication: 0.4.0+
10-
Stable tag: 0.7.0
10+
Stable tag: 0.8.0
1111
License: GPL-3
1212
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1313
Maintained at: https://github.com/wp-graphql/wp-graphql-woocommerce
1414

1515
== Description ==
1616
Adds WooCommerce functionality to the WPGraphQL schema.
17+
18+
19+
== Usage ==
20+
21+
1. Install & activate [WooCommerce](https://woocommerce.com/)
22+
2. Install & activate [WPGraphQL](https://www.wpgraphql.com/)
23+
3. Clone or download the zip of this repository into your WordPress plugin directory & activate the **WP GraphQL WooCommerce** plugin.
24+
4. (Optional) Install & activate [WPGraphQL-JWT-Authentication](https://github.com/wp-graphql/wp-graphql-jwt-authentication) to add a `login` mutation that returns a JSON Web Token.
25+
5. (Optional) Install & activate [WPGraphQL-CORS](https://github.com/funkhaus/wp-graphql-cors) to add an extra layer of security using HTTP CORS and some of WPGraphQL advanced functionality.
26+
27+
== Changelog ==
28+
29+
== [v0.8.0](https://github.com/wp-graphql/wp-graphql-woocommerce/tree/v0.8.0) (2021-02-26) ==
30+
31+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-woocommerce/compare/v0.7.0...v0.8.0)
32+
33+
**Breaking changes:**
34+
35+
- Cart transaction queue refactored [\#398](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/398) ([kidunot89](https://github.com/kidunot89))
36+
37+
**New Features:**
38+
39+
- New cart mutations and cart bugfixes. [\#439](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/439) ([kidunot89](https://github.com/kidunot89))
40+
- Docker/Codeception/CI configurations overhauled [\#416](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/416) ([kidunot89](https://github.com/kidunot89))
41+
- implements metadata for customer register and update [\#402](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/402) ([believelody](https://github.com/believelody))
42+
43+
**Fixed:**
44+
45+
- Variation image: guard against null image\_id [\#441](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/441) ([jacobarriola](https://github.com/jacobarriola))
46+
- Typecast added to "MetaData" type field resolvers return values [\#430](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/430) ([kidunot89](https://github.com/kidunot89))
47+
- Bugfix variations [\#424](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/424) ([kidunot89](https://github.com/kidunot89))
48+
- Variable product pricing ranges fixed. [\#387](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/387) ([kidunot89](https://github.com/kidunot89))
49+
50+
**Other Changes:**
51+
52+
- Update Slack link [\#417](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/417) ([jasonbahl](https://github.com/jasonbahl))
53+
- \[Docs\]: Fix 'Edit on GitHub' link [\#395](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/395) ([jacobarriola](https://github.com/jacobarriola))
54+
- \[Docs\]: Update sample queries with latest schema changes [\#394](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/394) ([jacobarriola](https://github.com/jacobarriola))
55+
- WPGraphQLTestCase implemented [\#322](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/322) ([kidunot89](https://github.com/kidunot89))
56+
57+
== [v0.7.0](https://github.com/wp-graphql/wp-graphql-woocommerce/tree/v0.7.0) (2020-11-24) ==
58+
59+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-woocommerce/compare/v0.6.2...v0.7.0)
60+
61+
**Fixed:**
62+
63+
- Allow multiple "orderby" fields [\#374](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/374) ([loganstellway](https://github.com/loganstellway))
64+
65+
**Other Changes:**
66+
67+
- Release v0.7.0 [\#383](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/383) ([kidunot89](https://github.com/kidunot89))
68+
- Guard against false terms when plucking IDs [\#364](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/364) ([jacobarriola](https://github.com/jacobarriola))
69+
70+
== [v0.6.2](https://github.com/wp-graphql/wp-graphql-woocommerce/tree/v0.6.2) (2020-11-24) ==
71+
72+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-woocommerce/compare/v0.6.1...v0.6.2)
73+
74+
**New Features:**
75+
76+
- Better extension support [\#353](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/353) ([kidunot89](https://github.com/kidunot89))
77+
78+
**Fixed:**
79+
80+
- Make the username field optional in registerCustomer mutation [\#381](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/381) ([kidunot89](https://github.com/kidunot89))
81+
82+
**Other Changes:**
83+
84+
- Feature/itemized cart tax [\#380](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/380) ([kidunot89](https://github.com/kidunot89))
85+
- "Product\_Connection\_Resolver::set\_query\_arg\(\)" removed. [\#376](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/376) ([kidunot89](https://github.com/kidunot89))
86+
- WPGraphQL v1 CI Fix [\#375](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/375) ([kidunot89](https://github.com/kidunot89))
87+
- Guard against empty terms [\#373](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/373) ([jacobarriola](https://github.com/jacobarriola))
88+
- support added for externally defined product type queries. [\#366](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/366) ([kidunot89](https://github.com/kidunot89))
89+
- Fix Syntax Error in php7.2 and 7.4 [\#355](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/355) ([namli](https://github.com/namli))
90+
- Connect terms to their source [\#351](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/351) ([jacobarriola](https://github.com/jacobarriola))
91+
- Return connected TermObjects from the PostObjectType [\#346](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/346) ([jacobarriola](https://github.com/jacobarriola))
92+
93+
== [v0.6.1](https://github.com/wp-graphql/wp-graphql-woocommerce/tree/v0.6.1) (2020-10-15) ==
94+
95+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-woocommerce/compare/v0.5.1...v0.6.1)
96+
97+
## Release Summary
98+
99+
- [x] Demo/Examples sections added to README.md
100+
- [x] More WooGraphQL + WPGraphQL extension integration bugfixes
101+
- [x] Connection resolver classes support all new WPGraphQL v0.6.0+ features
102+
- [x] Better cart validation and error messages
103+
- [x] Replaces unauthorized queries with authorized queries for unauthorized queries instead of return `null`. For example `orders(...) {...}` should default to `customer{ orders(...) {...} }` when user is not authorized to execute `orders(...) {...}`
104+
105+
**New Features:**
106+
107+
- Support for some node interfaces added to the product and order models. [\#337](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/337) ([kidunot89](https://github.com/kidunot89))
108+
- Field caps removed from product raw price and description fields. [\#332](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/332) ([kidunot89](https://github.com/kidunot89))
109+
- "Root\_Query" class implemented. [\#331](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/331) ([kidunot89](https://github.com/kidunot89))
110+
- "price" field added to "GroupProduct" type. [\#319](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/319) ([kidunot89](https://github.com/kidunot89))
111+
- Two new fields added to the "ProductCategory" type. [\#318](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/318) ([kidunot89](https://github.com/kidunot89))
112+
- Adds some label fields to the attribute types. [\#314](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/314) ([kidunot89](https://github.com/kidunot89))
113+
- New error handling method introduced in the "addToCart" mutation [\#312](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/312) ([kidunot89](https://github.com/kidunot89))
114+
115+
**Fixed:**
116+
117+
- Fixes downloadableItems accessibility bug. [\#316](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/316) ([kidunot89](https://github.com/kidunot89))
118+
- Fixes cart item validation and error handling on checkout [\#315](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/315) ([kidunot89](https://github.com/kidunot89))
119+
- "galleryImages" connection refactored. [\#311](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/311) ([kidunot89](https://github.com/kidunot89))
120+
- Fixes some unit tests [\#302](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/302) ([kidunot89](https://github.com/kidunot89))
121+
- Rating input type changed to "Int" [\#301](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/301) ([kidunot89](https://github.com/kidunot89))
122+
- Fixed : missing static keyword for static variable [\#294](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/294) ([hwsiew](https://github.com/hwsiew))
123+
124+
**Other Changes:**
125+
126+
- Adds demo/examples [\#344](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/344) ([imranhsayed](https://github.com/imranhsayed))
127+
- Remove undefined codecept\_debug\(\) function [\#343](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/343) ([jacobarriola](https://github.com/jacobarriola))
128+
- Fixed : \#303 [\#304](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/304) ([hwsiew](https://github.com/hwsiew))
129+
- Skip conditional added to stripe test [\#298](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/298) ([kidunot89](https://github.com/kidunot89))
130+
- Adds support for changes made in WPGraphQL v0.9.0 [\#288](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/288) ([kidunot89](https://github.com/kidunot89))
131+
- Update some README.md links [\#287](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/287) ([kidunot89](https://github.com/kidunot89))
132+
- Changing how we verify the JWT plugin [\#273](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/273) ([renatonascalves](https://github.com/renatonascalves))
133+
- Adds Local-Testing Contribution Guides [\#242](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/242) ([kidunot89](https://github.com/kidunot89))

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
"codeception/util-universalframework": "^1.0",
4040
"codeception/module-rest": "^1.2",
4141
"simpod/php-coveralls-mirror": "^3.0",
42-
"stripe/stripe-php": "^7.28",
42+
"stripe/stripe-php": "^7.75",
4343
"wp-coding-standards/wpcs": "^2.3",
4444
"johnpbloch/wordpress": "~5.3",
4545
"wp-graphql/wp-graphql-jwt-authentication": "^0.4.1",
4646
"wpackagist-plugin/wp-graphql": "^1.1.8",
47-
"wpackagist-plugin/woocommerce": "^4.4",
47+
"wpackagist-plugin/woocommerce": "^5.0",
4848
"wpackagist-plugin/woocommerce-gateway-stripe": "^4.5",
4949
"wpackagist-theme/twentytwentyone": "^1.0",
5050
"phpunit/phpunit": "<=9.4.4",

includes/mutation/class-cart-add-items.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Registers mutation for adding multiple items to the cart.
66
*
77
* @package WPGraphQL\WooCommerce\Mutation
8-
* @since 0.7.0
8+
* @since 0.8.0
99
*/
1010

1111
namespace WPGraphQL\WooCommerce\Mutation;

includes/mutation/class-cart-fill.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Designed for minimal use.
77
*
88
* @package WPGraphQL\WooCommerce\Mutation
9-
* @since 0.7.0
9+
* @since 0.8.0
1010
*/
1111

1212
namespace WPGraphQL\WooCommerce\Mutation;

includes/type/enum/class-cart-error-type.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* WPEnum Type - CartErrorType
44
*
55
* @package WPGraphQL\WooCommerce\Type\WPEnum
6-
* @since 0.7.0
6+
* @since 0.8.0
77
*/
88

99
namespace WPGraphQL\WooCommerce\Type\WPEnum;

includes/type/input/class-cart-item-input.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* WPInputObjectType - CartItemInput
44
*
55
* @package WPGraphQL\WooCommerce\Type\WPInputObject
6-
* @since 0.7.0
6+
* @since 0.8.0
77
*/
88

99
namespace WPGraphQL\WooCommerce\Type\WPInputObject;

includes/type/interface/class-cart-error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* WPInterface Type - Cart_Error
44
*
55
* @package WPGraphQL\WooCommerce\Type\WPInterface
6-
* @since 0.7.0
6+
* @since 0.8.0
77
*/
88

99
namespace WPGraphQL\WooCommerce\Type\WPInterface;

0 commit comments

Comments
 (0)