Skip to content

Commit a2d212f

Browse files
committed
chore: CHANGELOG.md created.
1 parent 57bc225 commit a2d212f

18 files changed

+302
-407
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ c3.php
1818
.env
1919
.codeception.yml
2020
composer.lock
21+
.github_changelog_generator

CHANGELOG.md

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
# Changelog
2+
3+
## [v0.7.0](https://github.com/wp-graphql/wp-graphql-jwt-authentication/tree/v0.7.0) (2023-03-31)
4+
5+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.6.0...v0.7.0)
6+
7+
**Other Changes:**
8+
9+
- fix: php-jwt version fixed. [\#172](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/172) ([kidunot89](https://github.com/kidunot89))
10+
- Remove codecept\_debug which causes internal server error [\#159](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/159) ([paolospag](https://github.com/paolospag))
11+
- Build with composer --no-dev [\#155](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/155) ([markkelnar](https://github.com/markkelnar))
12+
- Allow multiple iss domains [\#141](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/141) ([fjobeir](https://github.com/fjobeir))
13+
- Set a 400+ status when throwing WP\_Errors [\#137](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/137) ([pcraciunoiu](https://github.com/pcraciunoiu))
14+
- Added the action graphql\_jwt\_auth\_before\_authenticate and the filter … [\#135](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/135) ([spiralni](https://github.com/spiralni))
15+
- Fix incorrect error message on invalid secret [\#126](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/126) ([markspolakovs](https://github.com/markspolakovs))
16+
- fix\(response headers\): replace single header instead of overwriting them all [\#118](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/118) ([tsmith-rv](https://github.com/tsmith-rv))
17+
- \#87 - Force Auth Secret to be set, else throw Exception [\#88](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/88) ([jasonbahl](https://github.com/jasonbahl))
18+
- Adds Option to define if a cookie should be set on login. [\#85](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/85) ([henrikwirth](https://github.com/henrikwirth))
19+
- Update php-jwt to latest version [\#84](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/84) ([efoken](https://github.com/efoken))
20+
- Fix Auth Expiration time filter and add it to documentation [\#83](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/83) ([henrikwirth](https://github.com/henrikwirth))
21+
22+
## [v0.6.0](https://github.com/wp-graphql/wp-graphql-jwt-authentication/tree/v0.6.0) (2022-10-25)
23+
24+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.5.2...v0.6.0)
25+
26+
## [v0.5.2](https://github.com/wp-graphql/wp-graphql-jwt-authentication/tree/v0.5.2) (2022-05-16)
27+
28+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.5.1...v0.5.2)
29+
30+
## [v0.5.1](https://github.com/wp-graphql/wp-graphql-jwt-authentication/tree/v0.5.1) (2022-04-22)
31+
32+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.5.0...v0.5.1)
33+
34+
## [v0.5.0](https://github.com/wp-graphql/wp-graphql-jwt-authentication/tree/v0.5.0) (2022-04-15)
35+
36+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.4.1...v0.5.0)
37+
38+
## [v0.4.1](https://github.com/wp-graphql/wp-graphql-jwt-authentication/tree/v0.4.1) (2020-05-04)
39+
40+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.4.0...v0.4.1)
41+
42+
## [v0.4.0](https://github.com/wp-graphql/wp-graphql-jwt-authentication/tree/v0.4.0) (2020-02-20)
43+
44+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.3.5...v0.4.0)
45+
46+
**Fixed:**
47+
48+
- \#69 - Backward Compatibility fixes for playing nice with WPGraphQL for WooCommerce [\#75](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/75) ([jasonbahl](https://github.com/jasonbahl))
49+
- \#69 - JWT Tokens could not be returned after regiserUser mutation [\#72](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/72) ([jasonbahl](https://github.com/jasonbahl))
50+
51+
**Other Changes:**
52+
53+
- Release/v0.4.0 [\#81](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/81) ([jasonbahl](https://github.com/jasonbahl))
54+
- Docs/add all mutations [\#78](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/78) ([henrikwirth](https://github.com/henrikwirth))
55+
- Bug/\#69 jwt could not be returned after user registered [\#74](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/74) ([jasonbahl](https://github.com/jasonbahl))
56+
- \#45 - auth and refresh token are same for non-admins [\#64](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/64) ([jasonbahl](https://github.com/jasonbahl))
57+
58+
## [v0.3.5](https://github.com/wp-graphql/wp-graphql-jwt-authentication/tree/v0.3.5) (2020-01-29)
59+
60+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.3.4...v0.3.5)
61+
62+
**Other Changes:**
63+
64+
- release/v0.3.5 [\#68](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/68) ([jasonbahl](https://github.com/jasonbahl))
65+
- - WPGraphQL v0.6.0 regression [\#66](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/66) ([jasonbahl](https://github.com/jasonbahl))
66+
67+
## [v0.3.4](https://github.com/wp-graphql/wp-graphql-jwt-authentication/tree/v0.3.4) (2020-01-21)
68+
69+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.3.3...v0.3.4)
70+
71+
**Other Changes:**
72+
73+
- release/v0.3.4 - Update version [\#63](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/63) ([jasonbahl](https://github.com/jasonbahl))
74+
- JWT field registration updated. [\#62](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/62) ([kidunot89](https://github.com/kidunot89))
75+
- Remove type-hinting from "Auth::get\_signed\_token" [\#61](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/61) ([kidunot89](https://github.com/kidunot89))
76+
- Revert "Revert "Adds WPGraphQL v0.6.0 support"" [\#60](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/60) ([jasonbahl](https://github.com/jasonbahl))
77+
- Adds user ID to LoginPayload [\#57](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/57) ([kidunot89](https://github.com/kidunot89))
78+
- Revert "Adds WPGraphQL v0.6.0 support" [\#56](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/56) ([jasonbahl](https://github.com/jasonbahl))
79+
- Adds WPGraphQL v0.6.0 support [\#55](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/55) ([kidunot89](https://github.com/kidunot89))
80+
- Correct a couple broken links in readme [\#54](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/54) ([kellenmace](https://github.com/kellenmace))
81+
- - Update travis.yml config [\#52](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/52) ([jasonbahl](https://github.com/jasonbahl))
82+
83+
## [v0.3.3](https://github.com/wp-graphql/wp-graphql-jwt-authentication/tree/v0.3.3) (2019-10-18)
84+
85+
[Full Changelog](https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/V0.3.2...v0.3.3)
86+
87+
**New Features:**
88+
89+
- \#49 - use register\_graphql\_mutation [\#50](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/50) ([jasonbahl](https://github.com/jasonbahl))
90+
91+
**Fixed:**
92+
93+
- \#41 - JWT fields cannot be retrieved via viewer query [\#42](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/42) ([jasonbahl](https://github.com/jasonbahl))
94+
- Conflicts with "The Events Calendar" also active [\#40](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/40) ([jasonbahl](https://github.com/jasonbahl))
95+
96+
**Other Changes:**
97+
98+
- Fixes Type hinting [\#47](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/47) ([kidunot89](https://github.com/kidunot89))
99+
- Removed vendor from .distignore [\#46](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/46) ([igoojoe](https://github.com/igoojoe))
100+
- BUGFIX: $auth\_header always setted [\#37](https://github.com/wp-graphql/wp-graphql-jwt-authentication/pull/37) ([OnekO](https://github.com/OnekO))
101+
102+
103+
104+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

vendor/autoload.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
// autoload.php @generated by Composer
44

5+
if (PHP_VERSION_ID < 50600) {
6+
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
7+
exit(1);
8+
}
9+
510
require_once __DIR__ . '/composer/autoload_real.php';
611

712
return ComposerAutoloaderInitb81212723df6ec6a4125604686c14dbf::getLoader();

vendor/composer/InstalledVersions.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@
2121
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
2222
*
2323
* To require its presence, you can require `composer-runtime-api ^2.0`
24+
*
25+
* @final
2426
*/
2527
class InstalledVersions
2628
{
2729
/**
2830
* @var mixed[]|null
29-
* @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
31+
* @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
3032
*/
3133
private static $installed;
3234

@@ -37,7 +39,7 @@ class InstalledVersions
3739

3840
/**
3941
* @var array[]
40-
* @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
42+
* @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
4143
*/
4244
private static $installedByVendor = array();
4345

@@ -241,7 +243,7 @@ public static function getInstallPath($packageName)
241243

242244
/**
243245
* @return array
244-
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
246+
* @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
245247
*/
246248
public static function getRootPackage()
247249
{
@@ -255,7 +257,7 @@ public static function getRootPackage()
255257
*
256258
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
257259
* @return array[]
258-
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
260+
* @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
259261
*/
260262
public static function getRawData()
261263
{
@@ -278,7 +280,7 @@ public static function getRawData()
278280
* Returns the raw data of all installed.php which are currently loaded for custom implementations
279281
*
280282
* @return array[]
281-
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
283+
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
282284
*/
283285
public static function getAllRawData()
284286
{
@@ -301,7 +303,7 @@ public static function getAllRawData()
301303
* @param array[] $data A vendor/composer/installed.php data set
302304
* @return void
303305
*
304-
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
306+
* @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
305307
*/
306308
public static function reload($data)
307309
{
@@ -311,7 +313,7 @@ public static function reload($data)
311313

312314
/**
313315
* @return array[]
314-
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
316+
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
315317
*/
316318
private static function getInstalled()
317319
{

vendor/composer/autoload_classmap.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_classmap.php @generated by Composer
44

5-
$vendorDir = dirname(dirname(__FILE__));
5+
$vendorDir = dirname(__DIR__);
66
$baseDir = dirname($vendorDir);
77

88
return array(
@@ -11,7 +11,6 @@
1111
'Firebase\\JWT\\ExpiredException' => $vendorDir . '/firebase/php-jwt/src/ExpiredException.php',
1212
'Firebase\\JWT\\JWK' => $vendorDir . '/firebase/php-jwt/src/JWK.php',
1313
'Firebase\\JWT\\JWT' => $vendorDir . '/firebase/php-jwt/src/JWT.php',
14-
'Firebase\\JWT\\Key' => $vendorDir . '/firebase/php-jwt/src/Key.php',
1514
'Firebase\\JWT\\SignatureInvalidException' => $vendorDir . '/firebase/php-jwt/src/SignatureInvalidException.php',
1615
'WPGraphQL\\JWT_Authentication\\Auth' => $baseDir . '/src/Auth.php',
1716
'WPGraphQL\\JWT_Authentication\\Login' => $baseDir . '/src/Login.php',

vendor/composer/autoload_namespaces.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_namespaces.php @generated by Composer
44

5-
$vendorDir = dirname(dirname(__FILE__));
5+
$vendorDir = dirname(__DIR__);
66
$baseDir = dirname($vendorDir);
77

88
return array(

vendor/composer/autoload_psr4.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_psr4.php @generated by Composer
44

5-
$vendorDir = dirname(dirname(__FILE__));
5+
$vendorDir = dirname(__DIR__);
66
$baseDir = dirname($vendorDir);
77

88
return array(

vendor/composer/autoload_real.php

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,30 +25,11 @@ public static function getLoader()
2525
require __DIR__ . '/platform_check.php';
2626

2727
spl_autoload_register(array('ComposerAutoloaderInitb81212723df6ec6a4125604686c14dbf', 'loadClassLoader'), true, true);
28-
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
28+
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
2929
spl_autoload_unregister(array('ComposerAutoloaderInitb81212723df6ec6a4125604686c14dbf', 'loadClassLoader'));
3030

31-
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32-
if ($useStaticLoader) {
33-
require __DIR__ . '/autoload_static.php';
34-
35-
call_user_func(\Composer\Autoload\ComposerStaticInitb81212723df6ec6a4125604686c14dbf::getInitializer($loader));
36-
} else {
37-
$map = require __DIR__ . '/autoload_namespaces.php';
38-
foreach ($map as $namespace => $path) {
39-
$loader->set($namespace, $path);
40-
}
41-
42-
$map = require __DIR__ . '/autoload_psr4.php';
43-
foreach ($map as $namespace => $path) {
44-
$loader->setPsr4($namespace, $path);
45-
}
46-
47-
$classMap = require __DIR__ . '/autoload_classmap.php';
48-
if ($classMap) {
49-
$loader->addClassMap($classMap);
50-
}
51-
}
31+
require __DIR__ . '/autoload_static.php';
32+
call_user_func(\Composer\Autoload\ComposerStaticInitb81212723df6ec6a4125604686c14dbf::getInitializer($loader));
5233

5334
$loader->register(true);
5435

vendor/composer/autoload_static.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class ComposerStaticInitb81212723df6ec6a4125604686c14dbf
3434
'Firebase\\JWT\\ExpiredException' => __DIR__ . '/..' . '/firebase/php-jwt/src/ExpiredException.php',
3535
'Firebase\\JWT\\JWK' => __DIR__ . '/..' . '/firebase/php-jwt/src/JWK.php',
3636
'Firebase\\JWT\\JWT' => __DIR__ . '/..' . '/firebase/php-jwt/src/JWT.php',
37-
'Firebase\\JWT\\Key' => __DIR__ . '/..' . '/firebase/php-jwt/src/Key.php',
3837
'Firebase\\JWT\\SignatureInvalidException' => __DIR__ . '/..' . '/firebase/php-jwt/src/SignatureInvalidException.php',
3938
'WPGraphQL\\JWT_Authentication\\Auth' => __DIR__ . '/../..' . '/src/Auth.php',
4039
'WPGraphQL\\JWT_Authentication\\Login' => __DIR__ . '/../..' . '/src/Login.php',

0 commit comments

Comments
 (0)