Skip to content

v2.2.0

Compare
Choose a tag to compare
@seb86 seb86 released this 17 Mar 02:53
· 13 commits to master since this release

What's New?

  • REST-API: Added validation endpoint cocart/jwt/validate-token.
  • WP-CLI: New commands to help list, view, validate, clear expired (or force all) and create tokens.

Bug Fix

  • Fixed user agent not checking the value of the header.

Improvements

  • Improved creating token and user identification.
  • Improved destroying token when user changes password.
  • Improved the cleanup of expired tokens to work in batches of 100 for performance.

For Developers

  • Introduced new filter cocart_jwt_auth_token_user_data to allow additional user data to be applied to the payload before the token is generated.