Skip to content

Commit 916841e

Browse files
committed
version bump: 2.0.0
1 parent fd3b552 commit 916841e

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ add_filter(
681681
## Credits
682682

683683
- [PHP-JWT from firebase](https://github.com/firebase/php-jwt)
684-
- [JWT Authentication for WP REST API](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/)
684+
- [JWT Authentication for WP REST API](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/). My _JWT-Auth_ plugin was a "copy-then-modify" of _JWT Authentication for WP REST API_ plugin.
685685
- [Devices utility by pesseba](https://github.com/pesseba)
686686

687687
## License

jwt-auth.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: JWT Auth
44
* Plugin URI: https://github.com/usefulteam/jwt-auth
55
* Description: WordPress JWT Authentication.
6-
* Version: 1.4.2
6+
* Version: 2.0.0
77
* Author: Useful Team
88
* Author URI: https://usefulteam.com
99
* License: GPL-3.0
@@ -19,7 +19,7 @@
1919
// Helper constants.
2020
define( 'JWT_AUTH_PLUGIN_DIR', rtrim( plugin_dir_path( __FILE__ ), '/' ) );
2121
define( 'JWT_AUTH_PLUGIN_URL', rtrim( plugin_dir_url( __FILE__ ), '/' ) );
22-
define( 'JWT_AUTH_PLUGIN_VERSION', '1.4.2' );
22+
define( 'JWT_AUTH_PLUGIN_VERSION', '2.0.0' );
2323

2424
// Require composer.
2525
require __DIR__ . '/vendor/autoload.php';

readme.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributors: contactjavas
44
Donate link: https://www.paypal.me/bagusjavas
55
Tags: jwt, jwt-auth, token-authentication, json-web-token
66
Requires at least: 5.2
7-
Tested up to: 5.5
7+
Tested up to: 5.8
88
Stable tag: trunk
99
Requires PHP: 7.2
1010
License: GPLv3
@@ -707,6 +707,13 @@ You can help this plugin stay alive and maintained by giving **5 Stars** Rating/
707707
3. Other error responses
708708

709709
== Changelog ==
710+
= 2.0.0 =
711+
- Breaking change: rename `jwt_auth_valid_token_extra` filter to `jwt_auth_extra_token_check`. Please check if you use this filter.
712+
- Breaking bugfix: the actual http statusCode didn't follow the response statusCode. Now the actual http statusCode follows the response statusCode.
713+
- New feature: connected device. Thanks @pesseba.
714+
- Might be a breaking change: Add WordPress & WC default endpoints to `jwt_auth_default_whitelist` to prevent error when visiting WordPress admin area.
715+
- Documentation: prevent misleading example by updating the `jwt_auth_whitelist` usage.
716+
710717
= 1.4.2 =
711718
- Bugfix: add `permission_callback` argument since it's required in WP 5.5
712719

0 commit comments

Comments
 (0)