req is now passed through in the authPass object if available so you can check for thisHook.authPass.req and read/write to session data etc in any hook. No more constantly having to manually pass through req.
The Express bodyParser and bodyParserJSON settings now have config variables bodyParserJSON and bodyParserURLencoded . Default settings exist for both as before but they can now be over-ridden.
The server system is now in an Iris module rather than a floating file in the root directory so it can use hooks. The first of these hook_system_ready is a new way of running something once the system has initialised properly. Room to add lots more later for extending other features.
Tidied up boot.js and server.js so that things are in a more sensible place.
req
is now passed through in theauthPass
object if available so you can check forthisHook.authPass.req
and read/write to session data etc in any hook. No more constantly having to manually pass through req.bodyParserJSON
andbodyParserURLencoded
. Default settings exist for both as before but they can now be over-ridden.hook_system_ready
is a new way of running something once the system has initialised properly. Room to add lots more later for extending other features.No breaking changes.