v16.0.0 Javascript Standard Style

31 views
Skip to first unread message

Evan Tahler

unread,
Nov 23, 2016, 3:08:13 PM11/23/16
to actionHero.js
https://github.com/evantahler/actionhero/releases/tag/v16.0.0

Javascript Standard Style

Version 16 is a re-write of many parts of ActionHero's internals to follow the Standard JavaScript Style Guide. This new guide replaces ESLint as our linting tool, and comes with good opinions on how to write safe, readable JS code. ActionHero now passes this linter, and as such, should be much easier to work with

All new contributions to ActionHero must follow this style, and will be tested as part of the test suite automatically.

To conform with proper JS style, some breaking changes were introduced:

  • api.Connecton() rather than api.connection()
  • api.GenericServer() rather than api.genericServer()
  • api.ActionProcessor() rather than api.actionProcessor()
  • require("actionhero") not require("actionhero").actionheroPrototype should you be using ActionHero programatically.

By @evantahler via #983

Remove "uncaught" from error message (Taks)

Disable file request logging by default on production

Update all dependent packages to latest versions

  • This includes replacing node-uuid with uuid (#984)
Reply all
Reply to author
Forward
0 new messages