Skip to content

Releases: wp-graphql/wp-graphql-jwt-authentication

v0.7.0

31 Mar 21:58
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.7.0

v0.6.0

25 Oct 14:49
5a7d9a9
Compare
Choose a tag to compare

Release Notes

fix: fixes a bug where all headers were being replaced instead of adding headers. Thanks, and happy anniversary @tsmith-rv.
feat: When the GRAPHQL_JWT_AUTH_SET_COOKIES constant is set to true, WordPress will set the cookies upon successful authentication with JWT Auth. Thanks @henrikwirth!

New Contributors

Full Changelog: v0.5.2...v0.6.0

v0.5.2

16 May 16:58
9e8678d
Compare
Choose a tag to compare
v0.5.2 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.5.1...v0.5.2

v0.5.1

22 Apr 17:35
443a1bd
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.5.0...v0.5.1

v0.5.0

15 Apr 19:10
b98b94e
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.4.1...v0.5.0

v0.4.1

04 May 21:48
7905ab9
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release

Release Notes

Breaking changes

  • Potential breaking change. The filter graphql_jwt_auth_expire has been fixed to take the filtered value and add it to the issue date. So, you can use the filter, return a value of 600 and that will add 600 seconds to the issue date, and your token will expire 10 minutes after issue. If you were using this filter already, and were doing this math yourself, you should update to just return the number of seconds after issue you would like the token to expire.

Bugfixes

  • Fixes (and adds documentation for) graphql_jwt_auth_expire filter. Thanks @henrikwirth!

New Features

  • Updates underlying Firebase\JWT dependency. Thanks @efoken!
  • Ensures users cannot use the plugin without first defining the GRAPHQL_JWT_AUTH_SECRET_KEY

v0.4.0

20 Feb 17:53
e65055d
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Release Notes

Breaking Changes

From a GraphQL Consumer perspective there shouldn't be any breaking changes. The shape of queries and mutations remain the same in this release.

Some internal functions were modified, so for plugins that extend this (i.e. WPGraphQL for WooCommerce) it's best to check your use of internal functions for how changes may affect your code.

If anything, this should fix things that previously broke when updating to WPGraphQL v0.5.0/v0.6.0 support.

New Features

  • Removed /tests/_output directory from being versioned and added it to .gitignore
  • Updates to README.md to show more mutations. Thanks @henrikwirth!

Bugfixes

  • Prevent execution of GraphQL Queries when an invalid token is passed through Authorization headers. If a Token is bad, the entire request should halt execution and let the requestor have a chance to try again with a proper token. Fixes #38 and #21
  • Fixes some regression issues with WPGraphQL v0.6.0 (fixes #69)

v0.3.5

29 Jan 14:47
0ad0481
Compare
Choose a tag to compare
v0.3.5 Pre-release
Pre-release

Release Notes

Bugfix

  • This fixes a regression from the v0.3.4 release where the ManageTokens.php file was attempting to execute a method from WPGraphQL that has been deprecated and removed.

v0.3.4

21 Jan 22:45
2ebbc31
Compare
Choose a tag to compare
v0.3.4 Pre-release
Pre-release

Release Notes

  • update Coveralls.yml
  • update Travis.yml
  • update to README.md
  • update to bin/install-wp-tests.sh
  • update composer.json
  • update phpcs.ruleset.xml
  • pass id through with the login resolver to allow added fields to have access to the id
  • convert fields to use register_graphql_fields API instead of filtering the WPObjectType directly
  • add new graphql_jwt_user_types filter
  • update field definitions to not rely on Types:: static methods which was deprecated by WPGraphQL in v0.6.0

v0.3.3

18 Oct 19:43
91b76ec
Compare
Choose a tag to compare
v0.3.3 Pre-release
Pre-release

Release Summary

  • Updates the registration of the login mutation to use regsiter_graphql_mutation so that the mutation payload can be filtered for additional output fields.
  • Fixes issues with the test environment