57800b46f3
feat: HPOS support added. ( #748 )
...
* feat: HPOS support added.
* fix: Refund connections and connection permission fixed
* chore: Linter compliance met.
* devops: CI script updated.
* devops: CI script updated.
* fix: Syntax error fixed.
* devops: CI script updated.
* devops: CI script updated.
* devops: CI script updated.
* chore: PHPStan fixes started.
* chore: linter compliance met.
* chore: fix scanning and type-hinting for non-stubbed classes
* dev: refactor Order model around WC_Abstract_Order
* chore: update dev deps
* devops: PHPStan and Linter compliance met.
* devops: HPOS test temporarily suppressed.
---------
Co-authored-by: David Levine <david@axepress.dev >
2023-06-21 13:21:29 -04:00
4ef46acd15
chore: setup PHPStan ( #746 )
...
* chore: setup PHPStan
* chore: General code cleanup for PHPStan
* chore: PHPStan to level 2
* chore: PHPStan to level 2
* fix: Syntax error fixed.
* devops: PHPStan level 2 reached.
* devops: PHPStan level 3 passed
* devops: PHPStan level 4 passed
* chore: fix bad typehints from jwt-auth [phpstan]
* chore: simplify conditional logic in WC_Terms::register_connections()
* chore: add stubs for WP type properties.
* fix: check for valid WC_Order_Item before caching order.
* chore: lint
* devops: PHPStan level 6 passed.
* chore: Linter compliance met.
* chore: simplify logic and check for valid term.
* fix: ensure valid types (partial)
* chore: [phpcs] allow inline type annotations
* devops: PHPStan level 8 reached.
* devops: More stability fixes.
* fix: general bugfixes and improvements
* devops: Code Quality GA script added.
* devops: Linter compliance met & 2 "phpstan-ignore" statements set.
* devops: PHPStan config and CI script fixed.
* fix: "cartItem" query resolution refactored
* devops: GA scripts updated.
* chore: Simple copy changes
---------
Co-authored-by: Geoff Taylor <geoff@axistaylor.com >
2023-06-13 16:17:02 -04:00
Geoffrey K Taylor and GitHub
56c40465e5
chore: CHANGELOG.md and version numbers updated. ( #747 )
v0.13.0
2023-05-22 16:09:24 -04:00
Geoffrey K Taylor and GitHub
ba13b2ec0a
feat: Authorizing URLs implemented and tested. ( #745 )
...
* feat: Authorizing URLs implemented and tested.
* feat: More woographql_*_nonce functions implemented.
* chore: linting changes made.
* chore: linting changes made.
* fix: woographql_*_ functions tested.
* chore: WPCS compliance met.
* devops: lint-code script updated to PHP v8.0
* chore: WPCS compliance met
* devops: TransferSessionHandlerTest & QLSessionHandlerTest updated
* devops: codeclimate.yml added.
* chore: Linter compliance met
* devops: Harmonizing WordPress doc written and Settings doc updated.
* chore: Typo fixed in docs.
* fix: General bugfixes and improvements related to Auth URLs
* devops: More docs.
* chore: Linter compliance met
* chore: small change made to docs.
2023-05-22 13:43:10 -04:00
Geoffrey K Taylor and GitHub
6ea04741da
devops: Docs refactored heavily and provided meta data. ( #743 )
2023-05-01 22:36:00 -04:00
Geoffrey K Taylor and GitHub
c7f92422b8
chore: CHANGELOG updated. ( #742 )
v0.12.5
2023-04-21 04:53:19 -04:00
Geoffrey K Taylor and GitHub
1f191039c1
feat: woographql_viewable_order_types hook added ( #741 )
...
* feat: woographql_viewable_order_types hook added
* chore: WPCS compliance met
2023-04-21 04:50:26 -04:00
Geoffrey K Taylor and GitHub
8c779b4f82
chore: CHANGELOG update. ( #740 )
2023-04-20 21:10:50 -04:00
Geoffrey K Taylor and GitHub
fb4b73850c
fix: PaymentToken child types fixed. ( #739 )
2023-04-20 21:04:06 -04:00
Geoffrey K Taylor and GitHub
ca50a90a07
chore: CHANGELOG and version numbers updated. ( #738 )
2023-04-20 20:32:10 -04:00
Geoffrey K Taylor and GitHub
0da1a819eb
feat: filters added to product and order orderby enumerations ( #737 )
2023-04-20 20:26:50 -04:00
Geoffrey K Taylor and GitHub
80252b0998
feat: Country queries implemented. ( #736 )
...
* feat: Country queries implemented.
* chore: WPCS compliance met and late-minute renames.
2023-04-20 19:59:25 -04:00
Geoffrey K Taylor and GitHub
27d9297494
feat: payment method mutations and fields implemented. ( #735 )
...
* feat: payment method mutation implemented.
* devops: Unit test updated.
* chore: WPCS compliance met.
2023-04-20 17:33:58 -04:00
Geoffrey K Taylor and GitHub
41caf45926
schema link added to docs toc. ( #734 )
v0.12.4
2023-04-19 03:22:34 -04:00
Geoffrey K Taylor and GitHub
f65cfe92c7
chore: CHANGELOG.md and version numbers updated. ( #733 )
2023-04-19 00:17:40 -04:00
Geoffrey K Taylor and GitHub
f4b153f147
feat: Docs Restored. Unsupported product type setting implemented. ( #731 )
...
* feat: docs started. Unsupported product type implemented.
* chore: WPCS compliance met
* chore: file renamed.
* feat: More docs written
* feat: 2 more docs written
* fix: settings docs images added.
* fix: settings docs images added.
* devops: UnsupportProductTypeTest added.
* devops: More docs changes.
* chore: WPCS compliance met
* devops: UnsupportedProductTypeTest updated.
* chore: WPCS compliance met
2023-04-18 23:48:08 -04:00
Geoffrey K Taylor and GitHub
b2d6608e9a
fix: Meta data type error fixed. ( #728 )
...
* fix: Meta data type error fixed.
* devops: CouponQueriesTest updated.
* chore: WPCS compliance met
2023-04-18 23:43:39 -04:00
Scott Bolinger and GitHub
c5cf6b6b35
fix case sensitive apply coupon mutation ( #729 )
...
The applyCoupon mutation is case sensitive, but coupons are not. This fixes trying to add a coupon code with lower case letters, such as `10off`. Previously you would get an error that the coupon doesn't exist because of mismatch in the case.
2023-04-18 23:12:06 -04:00
Geoffrey K Taylor and GitHub
f55404e36a
chore: CHANGELOG.md and version numbers updated. ( #727 )
v0.12.3
2023-04-04 12:12:56 -04:00
Geoffrey K Taylor and GitHub
c068671d93
feat: WooGraphQL settings tab added. ( #726 )
...
* feat: WooGraphQL settings tab added.
* chore: WPCS compliance met
* bugfix: Order Item Node ID implemented.
* chore: Deprecated "AppContext::getLoader" calls replaced.
* chore: WPCS compliance met.
* fix: DownloadableItem "id" field implemented
2023-04-04 12:02:25 -04:00
Geoffrey K Taylor and GitHub
4fc9b93d0c
CHANGELOG and version updated. ( #724 )
v0.12.2
2023-03-31 20:18:26 -04:00
Geoffrey K Taylor and GitHub
4bdf283c04
fix: Fixes order return type for guest. ( #723 )
2023-03-31 20:11:08 -04:00
Geoffrey K Taylor and GitHub
461caad55b
feat: "NAME" added to "PostTypeOrderbyEnum" values ( #722 )
2023-03-29 13:18:06 -04:00
6532e0a4f7
Adds taxes to variation prices. ( #717 )
...
Co-authored-by: Andres A <andres@Andress-MacBook-Pro.local >
2023-03-21 15:32:06 -04:00
7343ab2174
Fix wrong arg in sale place wc_get_price_to_display and remove wc_get_price_to_display from raw price. ( #716 )
...
Co-authored-by: Andres A <andres@Andress-MacBook-Pro.local >
2023-03-17 14:52:15 -04:00
2b93c07a09
Adds noop for set_customer_session_cookie. ( #710 )
...
* Added noop for set_customer_session_cookie.
* fixup! Added noop for set_customer_session_cookie.
---------
Co-authored-by: Andres A <andres@Andress-MBP.home >
2023-03-10 14:38:18 -05:00
bde5fc5bbd
Adds tax calculation to regular and sale prices. ( #714 )
...
* Adds tax calculation to regular and sale prices.
* fixup! Adds tax calculation to regular and sale prices.
* Fix phpunit deprecated method.
* fixup! Fix phpunit deprecated method.
* fixup! fixup! Fix phpunit deprecated method.
* Fix missing param in function.
* Fix linting.
---------
Co-authored-by: Andres A <andres@Andress-MBP.home >
2023-03-10 13:46:39 -05:00
Geoffrey K Taylor and GitHub
e4f7da8fdb
chore: CHANGELOG.md and version numbers updated ( #705 )
...
* chore: CHANGELOG.md and version numbers updated
* chore: Unstable test skipped.
* chore: WPCS compliance met.
v0.12.1
2023-02-02 17:53:23 -05:00
Geoffrey K Taylor and GitHub
de8cad3a81
fix: Fixed all product connection filtering regressions ( #704 )
...
* fix: Fixed all product connection filtering regressions
* chore: WPCS compliance met
* fix: Unsupport syntax refactored
2023-02-02 16:47:19 -05:00
18e66cdb4f
Updates deprecated DataSource::resolve_post_object ( #697 )
...
* Updates deprecated DataSource::resolve_post_object
* chore: Unneeded class declarations removed.
---------
Co-authored-by: Geoff Taylor <geoff@axistaylor.com >
2023-02-01 17:54:20 -05:00
Geoffrey K Taylor and GitHub
82e5e72ff9
fix: Product "price" field now supports the "taxes included" display … ( #703 )
...
* fix: Product "price" field now supports the "taxes included" display setting.
* chore: WPCS compliance met.
2023-02-01 17:53:20 -05:00
Geoffrey K Taylor and GitHub
121918ffe2
devops: Test Scripts updated. ( #702 )
...
* devops: Test Scripts updated.
* chore: WPCS compliance met.
2023-02-01 14:57:46 -05:00
Geoffrey K Taylor and GitHub
0a54ce9edc
feat: Auth no longer needed for the raw order totals ( #700 )
2023-02-01 14:01:56 -05:00
Geoffrey K Taylor and GitHub
30b34aaaac
fix: Customer order connection args priority fixed. ( #698 )
2023-01-25 15:44:44 -05:00
Geoffrey K Taylor and GitHub
c083fa51a4
fix: Parent connection classes namespaces updated. ( #696 )
2023-01-24 17:21:16 -05:00
Jonathan Motes and GitHub
e2a72bfebb
Updates WPGRAPHQL_WOOCOMMERCE_VERSION constant to match plugin version. ( #676 )
2023-01-23 15:51:43 -05:00
Berry Hijwegen and GitHub
7f6a7a1c13
Add filter to add custom fields to product sort ( #690 )
2023-01-23 15:50:50 -05:00
Gilles and GitHub
e772b2387e
fix:$post_type must be an array when passed to in_array() ( #695 )
...
* * `$post_type` must be an array when passed to `in_array()`.
* Removes unused `$post_type_obj` variable.
* * Fixes tabs.
2023-01-23 15:48:09 -05:00
Geoff Taylor
23c7f30347
chore: version numbers updated. CHANGELOG updated.
v0.12.0
2022-12-07 17:33:22 -05:00
ba14f1cfd9
fix: product variation raw price not visible for public users ( #671 )
...
* fix: product variation raw price not visible for public users
* fixup! fix: product variation raw price not visible for public users
* fixup! fixup! fix: product variation raw price not visible for public users
* chore: WPCS compliance met
Co-authored-by: Andres A <andres@Andress-MacBook-Pro.local >
Co-authored-by: Geoff Taylor <geoff@axistaylor.com >
2022-12-07 17:26:55 -05:00
Fabio Jun and GitHub
ddb5195c48
Change deprecated method is_graphql_http_request ( #667 )
...
to is_graphql_http_request
2022-12-07 17:06:30 -05:00
Alexey Vertinsky and GitHub
ae56a35e2d
Remove error when search coupons ( #672 )
...
Call to undefined function WPGraphQL\\WooCommerce\\Connection\\codecept_debug()
appears when search coupons accessed
2022-12-07 17:06:00 -05:00
0b8ce4f634
fix: Connections need to connect to Types that implement the Node interface ( #675 )
...
* - implement Node on different Types
* - update class-customers to return arrays for edges and nodes
- move id resolver from product-attribute interface to the specific types
* - return empty arrays for edges/nodes for coupon connections
- update test to check for falsy vs null
* - remove manual registration of the `Product` Interface
- register the fields to the Product Interface
* - fix code style
* - fix code style
* - no longer pass type registry to Product::register_interface()
* - use post type registry to register the Product type as an Interface
* WPGraphQL v1.13.x support added.
* WPGraphQL v1.13.x support added.
* fix: filter corrected.
* fix: Needed code restored
* fix: Needed code restored
* parent field no longer overwritten
* chore: WPCS compliance met.
Co-authored-by: Geoff Taylor <geoff@axistaylor.com >
2022-12-07 17:04:39 -05:00
Geoff Taylor
25a5734386
chore: CHANGELOG updated.
v0.11.2
2022-08-29 13:42:00 -04:00
Geoffrey K Taylor and GitHub
a89e567189
chore: Old docs removed. New logo added. ( #652 )
2022-08-29 13:35:15 -04:00
Geoffrey K Taylor and GitHub
0b4c3e0aa8
fix: is_post_private overrode in WC_Post model abstract class ( #651 )
...
* fix: is_post_private overrode in WC_Post model abstract class
* chore: WPCS compliance met.
2022-08-29 13:29:14 -04:00
0867d430ef
(Query) Format currency in cart type ( #619 )
...
* Format cart item price
* Fix price return type
* chore: CartQueriesTest updated with new price fields formatting
Co-authored-by: Geoff Taylor <geoff@axistaylor.com >
2022-08-29 13:24:50 -04:00
Matthijs Knigge and GitHub
505d60d5da
feat: Add filter hook to stock status enum ( #634 )
2022-08-29 13:19:56 -04:00
Geoffrey K Taylor and GitHub
0c918bb802
fix: temporary customers node fix applied and tested. ( #650 )
...
* fix: temporary customers node fix applied and tested.
* chore: WPCS compliance met
2022-08-26 22:43:09 -04:00
Geoffrey K Taylor and GitHub
b7c7b2d299
fix: Cart emptied after checkout ( #649 )
...
* fix: Cart emptied after checkout
* chore: WPCS compliance met.
2022-08-26 20:32:37 -04:00