Skip to content

v1.12.1

Compare
Choose a tag to compare
@dr-dimitru dr-dimitru released this 01 Oct 02:13
· 204 commits to master since this release
a7d5636

New:

  • 📋 allowedOrigins option - {Regex|Boolean} - Regex of Origins that are allowed CORS access or false to disable completely. Default: /^http:\/\/localhost:12\d\d\d$/. Defaults to localhost:12000-localhost:13000 for allowing Meteor-Cordova builds access. Thanks to @risetechnologies for sending a PR #676
  • 📋 interceptRequest hook - {Function} - this option is much higher than interceptDownolad in 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-type update to 12.3.0, was 12.0.0
  • 📦 [Atmosphere] ostrio:cookies update to 2.4.1, was 2.3.0