v1.12.1
New:
- 📋
allowedOriginsoption - {Regex|Boolean} - Regex of Origins that are allowed CORS access orfalseto disable completely. Default:/^http:\/\/localhost:12\d\d\d$/. Defaults tolocalhost:12000-localhost:13000for allowing Meteor-Cordova builds access. Thanks to @risetechnologies for sending a PR #676 - 📋
interceptRequesthook - {Function} - this option is much higher thaninterceptDownoladin the router callback-chain, right after path match condition. Hook called with single argument —{http: {request: {...}, response: {...}}, params: {...}}object with minimally parsed URI params
Other:
- 👷♂️ Merge #676, solving authentication on Cordova, - thanks to @risetechnologies
- 👨💻️ Fix ending/closing reading stream of a file, and potential memory leaks. Thanks to @bbenoist for proposing this in #711
- 👨💻 Reorder callbacks in
.abort()method of FileUpload instance on the Client. Fixing #706, thanks to @mariusrak and @jankapunkt - 📦 Upgrade NPM and Atmosphere dependencies
- 📦 [NPM]
file-typeupdate to12.3.0, was12.0.0 - 📦 [Atmosphere]
ostrio:cookiesupdate to2.4.1, was2.3.0