v15.1.0: Static File Fixes and remove Node-Resque/Task Domains

8 views
Skip to first unread message

Evan Tahler

unread,
Sep 28, 2016, 6:18:35 PM9/28/16
to actionHero.js
https://github.com/evantahler/actionhero/releases/tag/v15.1.0

Web Server static file cache and ETAG fixes

A collection of fixes have been included to properly handle ETAG headers and cache priority.

  • Ensure that ETAG value is distinct for each file
  • Fix Cache header return logic and order (ETAG vs expires and last-modified)
  • Respect accept-encoding priority order as set by request header

Node Resuqe v4

Node Resque v4.0.0 removes the use of domains within tasks. This feature of node.js has been deprecated for some time. However, this means now that if your task raises an uncaught exception/rejection, the ActionHero application will not crash, rather than logging an error.

Furthermore, since the application has crashed, the job which caused the crash will not be moved into the error queue within resque.

The behavior for tasks which properly return an error has not changed.

ActionHero Clsuter

Project Internals

ES6 transition.

  • The first pass of transitioning the codebase to use new ES6 helper methods was to remove any references to var in favor of const and let, and to use arrow functions to better handle scope (no more self = this)
  • ESLINT file updated to allow for ES6 mode
  • by @evantahler via #946

Misc Bugs

  • Fix the error string when unable to actionhero link properly (@dangerdespain via #942)

Packages

  • Coveralls v2.11.13
  • Request v2.27.0
  • ESLint v3.6.0
  • Ioredis v2.4.0
  • Node Resque v4.0.0
Reply all
Reply to author
Forward
0 new messages