Skip to content

Commit 8be0767

Browse files
committed
version number and CHANGELOG.md updated.
1 parent 79c6035 commit 8be0767

File tree

8 files changed

+281
-457
lines changed

8 files changed

+281
-457
lines changed

CHANGELOG.md

Lines changed: 21 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Changelog
22

3+
## [v0.10.0](https://github.com/wp-graphql/wp-graphql-woocommerce/tree/v0.10.0) (2021-06-14)
4+
5+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-woocommerce/compare/v0.8.1...v0.10.0)
6+
7+
**Fixed:**
8+
9+
- "Customer\_Connection\_Resolver" deprecated. [\#511](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/511) ([kidunot89](https://github.com/kidunot89))
10+
- Cart\_Item\_Connection\_Resolver pagination fixed. [\#509](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/509) ([kidunot89](https://github.com/kidunot89))
11+
- Update class-checkout-mutation.php [\#507](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/507) ([manuelsampl](https://github.com/manuelsampl))
12+
- "Order/Refund\_Connection\_Resolver" classes deprecated [\#500](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/500) ([kidunot89](https://github.com/kidunot89))
13+
- "Coupon\_Connection\_Resolver" deprecated. [\#497](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/497) ([kidunot89](https://github.com/kidunot89))
14+
- "Product\_Connection\_Resolver" class deprecated [\#495](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/495) ([kidunot89](https://github.com/kidunot89))
15+
- Session Transaction Manager bugfixes and enhancements [\#492](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/492) ([jacobarriola](https://github.com/jacobarriola))
16+
- Checkout mutation: Add or Update order metas [\#484](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/484) ([adrienpicard](https://github.com/adrienpicard))
17+
18+
**Other Changes:**
19+
20+
- update plugin URL to point to the actual repo [\#459](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/459) ([andrewminion-luminfire](https://github.com/andrewminion-luminfire))
21+
322
## [v0.8.1](https://github.com/wp-graphql/wp-graphql-woocommerce/tree/v0.8.1) (2021-03-17)
423

524
[Full Changelog](https://github.com/wp-graphql/wp-graphql-woocommerce/compare/v0.8.0...v0.8.1)
@@ -16,6 +35,7 @@
1635
**Other Changes:**
1736

1837
- \[Docs\]: homepage typo fixes [\#445](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/445) ([jacobarriola](https://github.com/jacobarriola))
38+
- Release v0.8.0 [\#444](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/444) ([kidunot89](https://github.com/kidunot89))
1939

2040
## [v0.8.0](https://github.com/wp-graphql/wp-graphql-woocommerce/tree/v0.8.0) (2021-03-01)
2141

@@ -51,77 +71,12 @@
5171

5272
**Fixed:**
5373

54-
- Allow multiple "orderby" fields [\#374](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/374) ([loganstellway](https://github.com/loganstellway))
74+
- Allow multiple "orderby" fields [\#374](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/374) ([lstellway](https://github.com/lstellway))
5575

5676
**Other Changes:**
5777

5878
- Release v0.7.0 [\#383](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/383) ([kidunot89](https://github.com/kidunot89))
5979

60-
## [v0.6.2](https://github.com/wp-graphql/wp-graphql-woocommerce/tree/v0.6.2) (2020-11-24)
61-
62-
[Full Changelog](https://github.com/wp-graphql/wp-graphql-woocommerce/compare/v0.6.1...v0.6.2)
63-
64-
**New Features:**
65-
66-
- Better extension support [\#353](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/353) ([kidunot89](https://github.com/kidunot89))
67-
68-
**Fixed:**
69-
70-
- Make the username field optional in registerCustomer mutation [\#381](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/381) ([kidunot89](https://github.com/kidunot89))
71-
72-
**Other Changes:**
73-
74-
- Feature/itemized cart tax [\#380](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/380) ([kidunot89](https://github.com/kidunot89))
75-
- "Product\_Connection\_Resolver::set\_query\_arg\(\)" removed. [\#376](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/376) ([kidunot89](https://github.com/kidunot89))
76-
- WPGraphQL v1 CI Fix [\#375](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/375) ([kidunot89](https://github.com/kidunot89))
77-
- Guard against empty terms [\#373](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/373) ([jacobarriola](https://github.com/jacobarriola))
78-
- support added for externally defined product type queries. [\#366](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/366) ([kidunot89](https://github.com/kidunot89))
79-
- Guard against false terms when plucking IDs [\#364](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/364) ([jacobarriola](https://github.com/jacobarriola))
80-
- 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))
81-
- Connect terms to their source [\#351](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/351) ([jacobarriola](https://github.com/jacobarriola))
82-
- Return connected TermObjects from the PostObjectType [\#346](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/346) ([jacobarriola](https://github.com/jacobarriola))
83-
- Adds demo/examples [\#344](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/344) ([imranhsayed](https://github.com/imranhsayed))
84-
85-
## [v0.6.1](https://github.com/wp-graphql/wp-graphql-woocommerce/tree/v0.6.1) (2020-10-15)
86-
87-
[Full Changelog](https://github.com/wp-graphql/wp-graphql-woocommerce/compare/v0.5.1...v0.6.1)
88-
89-
## Release Summary
90-
91-
- [x] Demo/Examples sections added to README.md
92-
- [x] More WooGraphQL + WPGraphQL extension integration bugfixes
93-
- [x] Connection resolver classes support all new WPGraphQL v0.6.0+ features
94-
- [x] Better cart validation and error messages
95-
- [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(...) {...}`
96-
97-
**New Features:**
98-
99-
- 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))
100-
- 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))
101-
- "Root\_Query" class implemented. [\#331](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/331) ([kidunot89](https://github.com/kidunot89))
102-
- "price" field added to "GroupProduct" type. [\#319](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/319) ([kidunot89](https://github.com/kidunot89))
103-
- Two new fields added to the "ProductCategory" type. [\#318](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/318) ([kidunot89](https://github.com/kidunot89))
104-
- Adds some label fields to the attribute types. [\#314](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/314) ([kidunot89](https://github.com/kidunot89))
105-
- 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))
106-
107-
**Fixed:**
108-
109-
- Fixes downloadableItems accessibility bug. [\#316](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/316) ([kidunot89](https://github.com/kidunot89))
110-
- 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))
111-
- "galleryImages" connection refactored. [\#311](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/311) ([kidunot89](https://github.com/kidunot89))
112-
- Fixes some unit tests [\#302](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/302) ([kidunot89](https://github.com/kidunot89))
113-
- Rating input type changed to "Int" [\#301](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/301) ([kidunot89](https://github.com/kidunot89))
114-
- Fixed : missing static keyword for static variable [\#294](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/294) ([hwsiew](https://github.com/hwsiew))
115-
116-
**Other Changes:**
117-
118-
- Remove undefined codecept\_debug\(\) function [\#343](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/343) ([jacobarriola](https://github.com/jacobarriola))
119-
- Fixed : \#303 [\#304](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/304) ([hwsiew](https://github.com/hwsiew))
120-
- Skip conditional added to stripe test [\#298](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/298) ([kidunot89](https://github.com/kidunot89))
121-
- 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))
122-
- Update some README.md links [\#287](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/287) ([kidunot89](https://github.com/kidunot89))
123-
- Adds Local-Testing Contribution Guides [\#242](https://github.com/wp-graphql/wp-graphql-woocommerce/pull/242) ([kidunot89](https://github.com/kidunot89))
124-
12580

12681

12782
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

README.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22
Contributors: kidunot89, ranaaterning, jasonbahl, saleebm
33
Tags: GraphQL, WooCommerce, WPGraphQL
44
Requires at least: 4.9
5-
Tested up to: 5.6
5+
Tested up to: 5.7
66
Requires PHP: 7.1
77
Requires WooCommerce: 4.8.0
8-
Requires WPGraphQL: 1.2.6+
8+
Requires WPGraphQL: 1.3.9+
99
Works with WPGraphQL-JWT-Authentication: 0.4.0+
10-
Stable tag: 0.8.1
10+
Stable tag: 0.10.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.
1717

18-
1918
== Usage ==
2019

2120
1. Install & activate [WooCommerce](https://woocommerce.com/)

vendor/composer/ClassLoader.php

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
*/
4343
class ClassLoader
4444
{
45-
private $vendorDir;
46-
4745
// PSR-4
4846
private $prefixLengthsPsr4 = array();
4947
private $prefixDirsPsr4 = array();
@@ -59,13 +57,6 @@ class ClassLoader
5957
private $missingClasses = array();
6058
private $apcuPrefix;
6159

62-
private static $registeredLoaders = array();
63-
64-
public function __construct($vendorDir = null)
65-
{
66-
$this->vendorDir = $vendorDir;
67-
}
68-
6960
public function getPrefixes()
7061
{
7162
if (!empty($this->prefixesPsr0)) {
@@ -309,17 +300,6 @@ public function getApcuPrefix()
309300
public function register($prepend = false)
310301
{
311302
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
312-
313-
if (null === $this->vendorDir) {
314-
return;
315-
}
316-
317-
if ($prepend) {
318-
self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
319-
} else {
320-
unset(self::$registeredLoaders[$this->vendorDir]);
321-
self::$registeredLoaders[$this->vendorDir] = $this;
322-
}
323303
}
324304

325305
/**
@@ -328,17 +308,13 @@ public function register($prepend = false)
328308
public function unregister()
329309
{
330310
spl_autoload_unregister(array($this, 'loadClass'));
331-
332-
if (null !== $this->vendorDir) {
333-
unset(self::$registeredLoaders[$this->vendorDir]);
334-
}
335311
}
336312

337313
/**
338314
* Loads the given class or interface.
339315
*
340316
* @param string $class The name of the class
341-
* @return true|null True if loaded, null otherwise
317+
* @return bool|null True if loaded, null otherwise
342318
*/
343319
public function loadClass($class)
344320
{
@@ -347,8 +323,6 @@ public function loadClass($class)
347323

348324
return true;
349325
}
350-
351-
return null;
352326
}
353327

354328
/**
@@ -393,16 +367,6 @@ public function findFile($class)
393367
return $file;
394368
}
395369

396-
/**
397-
* Returns the currently registered loaders indexed by their corresponding vendor directories.
398-
*
399-
* @return self[]
400-
*/
401-
public static function getRegisteredLoaders()
402-
{
403-
return self::$registeredLoaders;
404-
}
405-
406370
private function findFileWithExtension($class, $ext)
407371
{
408372
// PSR-4 lookup

0 commit comments

Comments
 (0)