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

Schemas

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.


Tags

Follow us

Latest blogs
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)
New Total.js Eshop v11
Fri Jan 19 2018 09:55:09 GMT+0100 (CET)
New Total.js CMS v11
Fri Jan 19 2018 00:24:05 GMT+0100 (CET)
Flow 4.1.0
Thu Jan 18 2018 23:58:37 GMT+0100 (CET)

Latest comments
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`.
Peter
Thu Nov 16 2017 07:54:11 GMT+0100 (CET)
Yes, it's valid.
Peter
Thu Nov 16 2017 07:53:06 GMT+0100 (CET)
How do we set the status code in custome middleware?
Nabeel
Mon Oct 02 2017 10:31:40 GMT+0200 (CEST)
Node... Awesome applications.
oscar
Thu Aug 31 2017 02:21:59 GMT+0200 (CEST)
Awesome!
Tema
Wed May 10 2017 06:33:13 GMT+0200 (CEST)
Awesome, thanks!
Tema
Tue May 02 2017 14:13:03 GMT+0200 (CEST)