I have published a new version of Total.js framework with some fixes and new improvements.

New Total.js framework version 2.7.0
This version brings a few fixes and improvements.
- Changelog
- Upgrade from NPM
$ npm install total.js
or download empty-project - Framework website
News
Static files of Components
I have improved rendering of group of components @{components('group'}
. Now the framework links static files from rendered groups only. In other words: each group of components has its own scripts and styles. This change is a good news for applications using a lot of components.
Prototypes
With this version you can extend some Total.js prototypes easily. Just extend prototype:
Changed default IP
I have changed default IP from 127.0.0.1
to 0.0.0.0
. This change has multiple benefits:
- app can run on
localhost
or127.0.0.1
- app can run on your machine IP e.g.
192.168.200.1
- Amazon EC2 and another similar services use
0.0.0.0
IP for Node.js apps
Controller can be changed in the schema directly
In some cases it's very important to change a controller dynamically and directly in the schema. I have extend SchemaBuilderEntity
by adding a new method .$controller(new_controller)
.
For example:
NoSQL meta-data
Only a few developers know that NoSQL supports meta-data - key-value
storage. I have extended database object by adding new methods:
Meta-data are stored in plain-text JSON file: orders.nosql-meta
and all meta-data are read into the memory automatically when the DB is loaded.
Improved Unit-Testing
I have improved unit-testing in Total.js framework. Read more information about new unit-testing system in Total.js documentation or follow this example.
Example of some test:
RESULT:
Improved RESTBuilder
I have added a new features into the RESTBuilder:
instance.robot()
extends user-agent by addingbot
keywordinstance.mobile()
extends user-agent by addingiPhone
keywordinstance.file(name, filename, [buffer])
can upload file asmultipart/form-data
Follow Total.js Framework on Twitter and give a star on Github.
Other posts from Total.js Platform
- 2025-08-25IoT platform — Total.js
- 2025-08-22How to install OpenPlatform — IoT platform
- 2025-08-18Total.js Tables is here!
- 2025-08-18How to install Flow — IoT platform
- 2025-08-15How to install OpenReports — IoT platform
- 2025-08-08How to install stream to IoT platform — Total.js
- 2025-08-04July report 2025
- 2025-08-01How to install IoT platform — Total.js
- 2025-07-15Revolutionize Your IoT Management with Total.js IoT Platform: Simplify, Monitor, and Optimize
- 2025-07-01June report 2025