You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eduardo Diaz edited this page Feb 15, 2019
·
3 revisions
Here you can find some notes to help you understand how to migrate to v8 from v7:
JOI validation library has been removed. The errors raised for input validation on sign function have changed, previously we raised ValidationError, now it is a plain Error. Error messages have also changed.
Keep in mind the new validation on objects (options, options.headers and optionally payload) have changed a bit by using lodash. Now it is checked that those are objects, that's it, with JOI some other validations/allowances were applied.
Package size has been reduced. This can only affect you if you depended on some of the deleted files (non functional files).