Total.js v2.9.2

Thu Jan 18 2018 23:41:48 GMT+0100 (CET), Peter Širka

Total.js v2.9.2

This version doesn't contain big news but contains important fixes and improvements. Be sure to update your current version with new v2.9.2.

Important news

GZIP compression

I have updated GZIP compression for static files. Now the framework creates a compressed file (GZIP with best compression) and stores it in temporary directory for the future usage. In the next request is this file processed from the temporary directory. This solution saves CPU and memory consumption but not much it increases a disk usage.

Closing open streams

I have replace older onFinished implementation with my solution for closing open streams. New solution is better for the performance and CPU consumption.

New global aliases

I have added new global aliases for sending emails:

  • LOGMAIL() alias to F.logmail()
  • MAIL() alias to F.mail()

Up-To-Date mechanism for local dependencies

Thank to Tema Smirnov for creating up-to-date mechanism for local files. It can be used only with /dependencies file, for example:

module  (5 minutes)  : ~/Volumes/Development/modules/Miscellaneous/clienterror.js
module  (15 minutes) : ~/plugins/monitor.js

Important fixes


This version fixes nested schema validation and schema validation with Array types. You could a problem with it, so it's time to upgrade Total.js to a newest version.

Loading dependencies

Older versions have a problem with loading of multiple packages in order and this version fixes it. Sometimes some packages didn't loaded.

Buy a premium account and support this great JavaScript platform. I'm going to publish new premium CMS v11 and Eshop v11 with this new version. Stay tuned.


Follow us

Latest blogs
Total.js Dashboard v6.0
Mon Apr 23 2018 16:05:59 GMT+0200 (CEST)
Flow v5.0.0
Mon Apr 16 2018 12:32:11 GMT+0200 (CEST)
REST Azure DocumentDB in Node.js / Total.js
Mon Mar 26 2018 09:38:41 GMT+0200 (CEST)
How do I transform ErrorBuilder output?
Mon Jan 29 2018 09:22:49 GMT+0100 (CET)
Flow: REST API components
Mon Jan 22 2018 10:11:14 GMT+0100 (CET)

Latest comments
Not only for Total.js. You can communicate with different websocket servers.
Peter Širka
Mon Apr 23 2018 20:08:20 GMT+0200 (CEST)
hellow every one
Sun Apr 22 2018 10:05:35 GMT+0200 (CEST)
Sat Mar 24 2018 19:46:54 GMT+0100 (CET)
Tue Mar 20 2018 15:07:31 GMT+0100 (CET)
Is WEBSOCKETCLIENT only for internal ws connections between totaljs apps?
Stelios Stephanua
Fri Mar 16 2018 06:04:22 GMT+0100 (CET)
Total.js is amazing! ;)
Leonardo Hessel
Tue Dec 19 2017 19:51:15 GMT+0100 (CET)
It's easy, just set e.g. `res.status = 404`.
Thu Nov 16 2017 07:54:11 GMT+0100 (CET)
Yes, it's valid.
Thu Nov 16 2017 07:53:06 GMT+0100 (CET)
How do we set the status code in custome middleware?
Mon Oct 02 2017 10:31:40 GMT+0200 (CEST)
Node... Awesome applications.
Thu Aug 31 2017 02:21:59 GMT+0200 (CEST)
Wed May 10 2017 06:33:13 GMT+0200 (CEST)
Awesome, thanks!
Tue May 02 2017 14:13:03 GMT+0200 (CEST)