This was a busy week for actionHero! We are now up to version 4.2.2. Note that this release again changed some of the internal API's. As always, you can check out the details here.
This week also saw pull requests from 2 new contributors, https://github.com/macrauder and https://github.com/jacobbubu. It's a very strange feeling knowing that (at least) these 2 folks care enough about this project to read into the guts and make fixes. I'm very happy they are using actionHero and making it better, but it's strange that I have no idea what they are using it for, and more so that I know nothing about them. I've had popular open source projects before, but I rarely every received any pull requests.
I probably should ask them about it :D
This release is another API-changing release which addresses a number of performance issues. Most notably to developers, most internal methods no longer require the
api object to be passed back. This was creating a number of cicurlar references (which are bad). This release also changes the way that actions are processed (to be closer to how tasks work, with a dedicated 'processor' object).
There is also a check on boot for tasks which remain in the delayed state but have no reference in the delayed queue. It's possible for a task to end up in this state if the server was shutdown at the moment that task was being inspected.
This release adds the ability to set the
action.blockedConnectionTypes attribute on an action. This allows you to create actions only for "web" or "socket" clients. The default will remain that actions are available for all client types.
Thanks to https://github.com/jacobbubu for the pull request and suggestion
Allowing support to limit the connection.type for which an action if valid for. Define the array of
action.blockedConnectionTypes = ['socket', 'webSocket'] for example to not allow access from TCP or webSocket clients. Not defining the array will allow all client types in.
This version is a bug fix to resolve a problem that was introduced in version 2.2.0 regarding form parsing for web clients.
Thanks to https://github.com/macrauder for narrowing down the problem and submitting a pull request for it.
<< ownCloud + DreamHost: Your own Unlimited DropBox for 13$/mo Makara - a read-write splitting adapter for Active Record >>