Skip to content

Commit 8c3a2de

Browse files
committed
version numbers updated.
1 parent bef3537 commit 8c3a2de

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,20 @@
66
## Quick Install
77
1. Install & activate [WooCommerce](https://woocommerce.com/)
88
2. Install & activate [WPGraphQL](https://www.wpgraphql.com/)
9-
3. (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.
10-
4. Clone or download the zip of this repository into your WordPress plugin directory & activate the **WP GraphQL WooCommerce** plugin
9+
3. Clone or download the zip of this repository into your WordPress plugin directory & activate the **WP GraphQL WooCommerce** plugin.
10+
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.
11+
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.
1112

1213
## What does this plugin do?
1314
It adds WooCommerce functionality to the WPGraphQL schema using WooCommerce's [CRUD](https://github.com/woocommerce/woocommerce/wiki/CRUD-Objects-in-3.0) objects.
1415

1516
## Features
16-
- Query product, customers, coupons, order, refund, product variations with complex filtering options.
17-
- Add items to cart and process user store session using HTTP header defined by WooGraphQL's built-in session handler
18-
- Create/process user checkout with the `checkout` mutation.
17+
- Query **product**, **product variations**, **customers**, **coupons**, **orders**, **refunds** and **more** with complex filtering options.
18+
- Manipulate customer session data using customer and cart mutations while managing customer session token using HTTP headers or cookies *(not recommended)*. *[HTTP header example w/ React/Apollo](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/88)*
19+
- Create orders using the `order` mutations with the `checkout` mutation.
1920

2021
## Future Features
22+
- Payment Processing
2123
- Adminstrator mutations. Eg. Creating and deleting products, coupons, and refunds.
2224

2325
## Playground
@@ -84,14 +86,16 @@ If you use the command with at least a `suite` specified, **Codeception** will r
8486

8587
To learn more about the usage of Codeception with WordPress view the [Documentation](https://codeception.com/for/wordpress)
8688

87-
## Functional and Acceptance Tests (Docker/Docker-Compose required)
89+
## Functional and Acceptance Tests (Docker && Docker-Compose required)
8890
It's possible to run functional and acceptance tests, but is very limited at the moment. The script docker entrypoint script runs all three suites (acceptance, functional, and wpunit) at once. This will change eventually, however as of right now, this is the limitation.
8991

9092
### Running tests
91-
Even though the two suite use a Docker environment to run, the docker environment relies on a few environmental variables defined in `.env.dist` and a volume source provided by the test install script and the configuration `codeception.dist.yml`. If you have created a `codeception.yml` file ensure it is identical to `codeception.dist.yml` or delete it.
93+
Even though the two suites use a Docker environment to run, the `testing` service in the `docker.compose.yml` file requires the `.env.dist` and `codeception.dist.yml` untouched.
9294
Run the following in the terminal to run all three suites. Isolating specific suites should be simple to figure out.
9395
```
94-
docker-compose run --rm -e SUITE=acceptance;wpunit;functional -e DEBUG=1 -e COVERAGE=1 testing --scale app=0
96+
docker-compose run --rm -e \
97+
SUITE=acceptance;wpunit;functional \
98+
-e DEBUG=1 -e COVERAGE=1 testing --scale app=0
9599
```
96100
- The `COVERAGE`, and `DEBUG` vars are optional flags for toggle codecoverage and debug output.
97101
- `--scale app=0` ensures that the service running a local app doesn't create any instances. It must be added or a collision with `mysql` will occur. More on this service in the next section
@@ -118,6 +122,4 @@ If you get HTTP 500 error upon activation or accessing the `endpoint` and have *
118122

119123
**GraphQL-PHP** :point_right: **[OpenCollective](https://opencollective.com/webonyx-graphql-php)**
120124

121-
## Follow
122-
[![alt text](http://i.imgur.com/tXSoThF.png)](https://twitter.com/woographql)
123-
[![alt text](http://i.imgur.com/P3YfQoD.png)](https://www.facebook.com/woographql)
125+
## Follow [![alt text](http://i.imgur.com/tXSoThF.png)](https://twitter.com/woographql)[![alt text](http://i.imgur.com/P3YfQoD.png)](https://www.facebook.com/woographql)

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: GraphQL, WooCommerce, WPGraphQL
44
Requires at least: 4.9
55
Tested up to: 5.2
66
Requires PHP: 5.6
7-
Stable tag: 0.3.2
7+
Stable tag: 0.3.3
88
License: GPL-3
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1010
Maintained at: https://github.com/wp-graphql/wp-graphql-woocommerce

wp-graphql-woocommerce.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: WPGraphQL WooCommerce (WooGraphQL)
44
* Plugin URI: https://github.com/kidunot89/wp-graphql-woocommerce
55
* Description: Adds Woocommerce Functionality to WPGraphQL schema.
6-
* Version: 0.3.2
6+
* Version: 0.3.3
77
* Author: kidunot89
88
* Author URI: https://axistaylor.com
99
* Text Domain: wp-graphql-woocommerce
@@ -39,7 +39,7 @@
3939
function wp_graphql_woocommerce_constants() {
4040
// Plugin version.
4141
if ( ! defined( 'WPGRAPHQL_WOOCOMMERCE_VERSION' ) ) {
42-
define( 'WPGRAPHQL_WOOCOMMERCE_VERSION', '0.3.2' );
42+
define( 'WPGRAPHQL_WOOCOMMERCE_VERSION', '0.3.3' );
4343
}
4444
// Plugin Folder Path.
4545
if ( ! defined( 'WPGRAPHQL_WOOCOMMERCE_PLUGIN_DIR' ) ) {

0 commit comments

Comments
 (0)