v13.4.2: Unlink and ETags

6 views
Skip to first unread message

Evan Tahler

unread,
Jun 9, 2016, 5:40:57 PM6/9/16
to actionHero.js
https://github.com/evantahler/actionhero/releases/tag/v13.4.2

ActionHero Unlink

  • Just like we have actionhero link to enable a plugin... we now have actionhero unlink to remove that plugin!
  • From the help:
Will remove the linked actions, tasks, initializers, etc from a plugin in your top-level project. 
Please remove the config files manually. 
Remember if your plugin was installed via NPM, also be sure to remove it from your package.json or uninstall it with npm uninstall --save

Etags

  • Actionhero now responds with E-Tags when returning static files (or connection.sendFile() from an action). ETags are a header technology which enables browser to ask if an asset has changed by sending a SHA of the last version of the file they have, and asking the server if there is an update. This can reduce the network load of you server significantly.
  • There is a new option, api.config.servers.web.enableEtag to enable this feature, defaulting totrue.
  • By @S3bb1 via #862

Misc

  • Cleanup sending cache-contolExpires, and Last-Modified Headers if we are returning a 404 for a file request
  • Removed api.utils.hashLength, as it was unused. User Object.keys(item).length if you need this functionality.
  • fix api.task.details, which was broken by a previous release.
  • Typos in docs fixed by @krishnaglick

Package Updates

  • ESLint: v2.11.0
  • IORedis: v2.0.0
  • Should: v9.0.1
Reply all
Reply to author
Forward
0 new messages