- Changed the return type of
pb.beforeSend
hook to allow modifying the request url (#1930).The old return format is soft-deprecated and will still work, but you'll get a// old pb.beforeSend = function (url, options) { ... return options; } // new pb.beforeSend = function (url, options) { ... return { url, options }; }
console.warn
message to replace it.