chore: Pre-release v0.14.0 (#751)

* chore: CHANGELOG.md and README.md updated.

* chore: README.md updated.
This commit is contained in:
Geoffrey K Taylor
2023-06-21 14:41:43 -04:00
committed by GitHub
parent 57800b46f3
commit e3e16e2a0f
6 changed files with 64 additions and 5 deletions
+12
View File
@@ -1,5 +1,17 @@
# Changelog
## [v0.14.0](https://github.com/wp-graphql/wp-graphql-woocommerce/tree/v0.14.0) (2023-06-21)
[Full Changelog](https://github.com/wp-graphql/wp-graphql-woocommerce/compare/v0.13.0...v0.14.0)
**Breaking changes:**
- feat: HPOS support added. [\#748](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/748) ([kidunot89](https://github.com/kidunot89))
**Other Changes:**
- chore: setup PHPStan [\#746](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/746) ([justlevine](https://github.com/justlevine))
## [v0.13.0](https://github.com/wp-graphql/wp-graphql-woocommerce/tree/v0.13.0) (2023-05-22)
[Full Changelog](https://github.com/wp-graphql/wp-graphql-woocommerce/compare/v0.12.5...v0.13.0)
+47 -2
View File
@@ -1,12 +1,15 @@
<img src="./logo.svg" width="250px" />
<p align="center">
<img src="./logo.svg" width="200px" alt="WPGraphQL WooCommerce (WooGraphQL) Logo" />
</p>
# WPGraphQL WooCommerce (WooGraphQL)
<a href="https://woographql.com/" target="_blank">Docs</a> • <a href="https://www.axistaylor.com" target="_blank">AxisTaylor</a> • <a href="https://join.slack.com/t/wp-graphql/shared_invite/zt-3vloo60z-PpJV2PFIwEathWDOxCTTLA" target="_blank">Join Slack</a>
<a href="https://woographql.com" target="_blank">Website</a> • <a href="https://woographql.com/docs" target="_blank">Docs</a> • <a href="https://www.axistaylor.com" target="_blank">AxisTaylor</a> • <a href="https://join.slack.com/t/wp-graphql/shared_invite/zt-3vloo60z-PpJV2PFIwEathWDOxCTTLA" target="_blank">Join Slack</a>
[![Automated-Testing](https://github.com/wp-graphql/wp-graphql-woocommerce/workflows/Automated-Testing/badge.svg?branch=develop)](https://github.com/wp-graphql/wp-graphql-woocommerce/actions?query=workflow%3A%22Automated-Testing%22) [![Coding-Standards](https://github.com/wp-graphql/wp-graphql-woocommerce/workflows/Coding-Standards/badge.svg?branch=develop)](https://github.com/wp-graphql/wp-graphql-woocommerce/actions?query=workflow%3A%22Coding-Standards%22) [![Coverage Status](https://coveralls.io/repos/github/wp-graphql/wp-graphql-woocommerce/badge.svg?branch=develop)](https://coveralls.io/github/wp-graphql/wp-graphql-woocommerce?branch=develop) [![Financial Contributors on Open Collective](https://opencollective.com/woographql/all/badge.svg?label=financial+contributors)](https://opencollective.com/woographql)
## Install
### Installing manually
1. Install and activate [WPGraphQL](https://wpgraphql.com/) and [WooCommerce](https://woocommerce.com/)
@@ -57,6 +60,48 @@ Thank you for your patience
- Product CRUD mutations.
- And some other stuff I'm sure :thinking_face:
## For WooCommerce Extensions Support
WooGraphQL Pro is an advanced version of WooGraphQL that provides compatibility with a variety of popular WooCommerce extensions. This compatibility empowers you to leverage these extensions within the context of the GraphQL API, thereby enabling you to build more dynamic and powerful headless eCommerce applications.
The following WooCommerce extensions are supported by WooGraphQL Pro:
- WooCommerce Subscriptions
- WooCommerce Product Bundles
- WooCommerce Product Add-Ons
- WooCommerce Composite Products
### Installing Supported WooCommerce Extensions (Optional)
If you wish to use any of the supported WooCommerce extensions with WooGraphQL Pro, follow these steps:
1. Purchase your desired extensions from the WooCommerce marketplace. The supported extensions are listed above.
2. Download the `.zip` file(s) for your purchased extension(s) from your WooCommerce account.
3. In your WordPress Admin Dashboard, navigate to Plugins > Add New > Upload Plugin, and upload the downloaded `.zip` file(s).
4. Once the upload is complete, click on 'Activate Plugin' to activate the extension(s).
### Installing and Activating WooGraphQL Pro
To install and activate WooGraphQL Pro, follow these steps:
1. Purchase WooGraphQL Pro from our official [website](https://woographql.com/pro).
2. After purchase you should find yourself on your account dashboard. Go to the `Licenses` page and generate and new license and copy it for later.
3. Next go to the `Downloads` page and download the latest version of WooGraphQL Pro.
4. Go to your WordPress Admin Dashboard, navigate to Plugins > Add New > Upload Plugin, and upload the `woographql-pro.zip` file you downloaded.
5. After uploading, click 'Activate Plugin' to activate WooGraphQL Pro.
### Enabling Schema Support for Installed Extensions
To enable schema support for your installed extensions, follow these steps:
1. Navigate to the WPGraphQL settings page on your WordPress Admin Dashboard.
2. Click on the 'WooGraphQL' tab.
3. Here, you'll find a list of WooGraphQL configuration options. Go below to the **WooGraphQL Pro** section and paste in license and check the boxes next to your installed extensions to enable schema support for them.
Note: The 'Enable Unsupported Product Type' option can be found on the same settings tab. If you enable this option, any product type without a proper GraphQL type will default to the `UnsupportedProduct` type, which is identical to the `SimpleProduct` type. With this type, the client can use the `metaData` field to get a `string` representation of the meta data on the type. This could potentially be all that's needed for simpler product types.
With WooGraphQL Pro and your chosen extensions now installed, you're ready to build more sophisticated, feature-rich eCommerce solutions with WordPress and WooCommerce.
## Playground
Feel free to test out the extension using this [GraphiQL Playground](https://woographql.com/playground). The playground allows you to execute queries and mutations, as well as view the schema (*).
+1 -1
View File
@@ -7,7 +7,7 @@ Requires PHP: 7.1
Requires WooCommerce: 4.8.0
Requires WPGraphQL: 1.14.0+
Works with WPGraphQL-JWT-Authentication: 0.7.0+
Stable tag: 0.13.0
Stable tag: 0.14.0
License: GPL-3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Maintained at: https://github.com/wp-graphql/wp-graphql-woocommerce
+1
View File
@@ -3,6 +3,7 @@
* Register hooks for the filtering DB queries.
*
* @package WPGraphQL\WooCommerce\Data
* @since 0.14.0
*/
namespace WPGraphQL\WooCommerce\Data;
@@ -6,6 +6,7 @@
* for the custom orders table/HPOS
*
* @package WPGraphQL\WooCommerce\Data\Cursor;
* @since 0.14.0
*/
namespace WPGraphQL\WooCommerce\Data\Cursor;
+2 -2
View File
@@ -3,7 +3,7 @@
* Plugin Name: WPGraphQL WooCommerce (WooGraphQL)
* Plugin URI: https://github.com/wp-graphql/wp-graphql-woocommerce
* Description: Adds Woocommerce Functionality to WPGraphQL schema.
* Version: 0.13.0
* Version: 0.14.0
* Author: kidunot89
* Author URI: https://axistaylor.com
* Text Domain: wp-graphql-woocommerce
@@ -33,7 +33,7 @@ defined( 'ABSPATH' ) || exit;
function constants() {
// Plugin version.
if ( ! defined( 'WPGRAPHQL_WOOCOMMERCE_VERSION' ) ) {
define( 'WPGRAPHQL_WOOCOMMERCE_VERSION', '0.13.0' );
define( 'WPGRAPHQL_WOOCOMMERCE_VERSION', '0.14.0' );
}
// Plugin Folder Path.
if ( ! defined( 'WPGRAPHQL_WOOCOMMERCE_PLUGIN_DIR' ) ) {