Hello,
I'll be updating the default (`latest`) trunk of ZappaJS to follow the
2.x line. You might want to make sure your package.json are properly set
if you'd rather follow the 1.x train (I don't expect to update it
anymore, all new dev will go to 2.x).
There are two changes in this new version:
- methods that support objects or dual-parameters parameters have been
rewritten to use a common mapping function; this simplified the code
(server- and client-side) greatly but might have introduced subtle
changes in parameters handling; although none was detectable through
the test-suite, and I haven't seen any in my deployments.
- the Redis-backed session sharing from ExpressJS to Socket.IO actually
works (I guess nobody ever used it before); I've been using it in
production[1] for a couple months and it works nicely. This meant
changing some internals.
I've been using ZappaJS 2.x in production for a few months now so it
should be well-soaked; I'd recommend you start tracking this new release.
Feel free to report any issues on the github issue tracker
https://github.com/zappajs/zappajs/issues
ZappaJS 2.0.3 is the current release, I'll be pushing a newer 2.0.4 with
up-to-date dependencies (Socket.IO etc.) shortly, updating github to
present 2.x as the default, and using 2.x on the github pages
(documentation site).
Stéphane
[1]
https://github.com/shimaore/spicy-action/blob/master/index.coffee.md
--
tel:
+33643482771
http://stephane.shimaore.net/