19 min read
November report 2026
A quick overview of all changes and news from the entire Total.js Platform. Read more about our work.

November report 2026
Total.js framework 5
- added the MCP code mode:
GET /$mcp/client.jsreturns a JavaScript client of the MCP tools (one function per tool with JSDoc for its arguments and result) that calls them throughtools/call, so an agent can write a script that uses the tools and only the output of the script goes back to the model- the same
Total.mcp.auth(Authorization: Bearer) andTotal.mcp.filterapply as fortools/list ?q=wordsreturns only the tools whose name or description contain all the words- it is available whenever
CONF.$mcpis enabled; nothing runs on the server
- the same
- fixed the memory under load: a finished request leaves the pending requests at once (the list kept every request with its
reqandresuntil the next 5-second timeout check, so the heap grew with the traffic) - fixed the timeout check of the pending requests: the timeout answer of one request no longer removes another request without an answer from the list (it never got the timeout answer)
- note: the issue CVE-2026-105481 (unsolicited data on a reused keep-alive socket,
http.Agent) is fixed only by updating Node.js ; the Brotli issue CVE-2026-111497 does not affect the framework (onlygzipanddeflateare decompressed) - added a new global class
User - added a new action method
.env(str)for definining environment in the action$.env {String} - added a new action and controller's method
$.throw(err)to printing error into the console - added a new action and controller's method
$.touch([url]) - added a new action and controller's method
$.invalidsafe(msg, err) - added a new command
total5 test [name1] [name2]that runs the tests from the current directory or from itstestsdirectory (it loadsconfig, the optionalinit.jsand the scripts; without names it runs all scripts) - added
Test.fake(name, action)that replaces an action with a fake andTest.restore()that puts the original actions back - improved
total5 test: the framework of the tested project is found from its subdirectories too (e.g. fromtests) - fixed
urlin the view engine - fixed
$.invalidsafe(msg, err): in an action it threw aReferenceError(the request ended in a timeout) and in a controller the error for the log was replaced by the message for the user - added a native PostgreSQL client + QueryBuilderPG, initialization
DATA.init('connection name', 'connection string?pooling=1') - fixed sending emails through the Total API with
CONF.$tapimail(the callbacks ofMAIL(),HTMLMAIL()andLOGMAIL()run) and the audit logs withCONF.$tapilogger - fixed the
X-PriorityandSensitivityheaders ofhigh(),low()andconfidential()in the mail sent over SMTP - fixed the
writeroption ofREQUEST(), it was ignored and an empty body was sent - fixed
RESTBuilder.API().get(), it switched the request to GET and failed with "write after end" - fixed
compress()ofRESTBuilder.API(),nullvalues were still sent - fixed
U.set()with a path that goes on after an index (items[0].namemadeitems[0]an array) - fixed the
cacheoption ofNEWACTION(): actions withoutidshared one cache entry and the cached response could be changed by the caller - fixed the
tlsoption ofU.connect(), the socket was never upgraded - fixed
U.parseURI(),REQUEST(),RESTBuilderand proxies with credentials in the URL (user:pass@), they failed with "user is not defined" - fixed the
>and<prefixes ofupdate()andmodify()in the NoSQL QueryBuilder - fixed
scalar()of the NoSQL QueryBuilder:avgreturns the average and the aggregates work without a key - fixed
countandpagesoflist()with the NoSQL QueryBuilder - fixed
search()withbegandendin the PostgreSQL QueryBuilder - fixed the toggle
!nameofupdate()in the PostgreSQL QueryBuilder (the column is quoted) - fixed
fields()beforeautoquery()andautoqueryjson(): later queries no longer select extra columns - fixed
gridfields()with an empty or missing value - fixed the
memorykey of FlowStream, it did not limit the heap of forks and worker threads - fixed
$.send(null)in FlowStream:endfired once per output and a paused output stopped the message for the next outputs - fixed
TRANSFORM()without a callback:$.invalid()threw aTypeErrorand the Promise never settled - fixed
F.worker.isfork, it wastruein worker threads andfalsein forks - fixed
NEWFORK():--workerdid not reach the child process, soF.worker.iswasfalsein forks - fixed
NEWTHREADPOOL():worker.datawasundefinedin pool threads,pool.countwas the pool object, and a worker that exited threw aReferenceErrorand was not replaced - fixed loading the framework from
node -e(process.argv[1]andprocess.mainModuleare undefined there) - fixed the errors of JSON schema arrays whose items are objects with properties (wrong path, index and error)
- fixed double HTML encoding of the text added by
@{title2()} - fixed
@{language}in views rendered withF.view() - fixed views with more than one
@{}value in a<style>block - fixed the
filterargument ofImage.miniature()(and.filter()), it was placed after-thumbnail - fixed the
[attr]selector without a value in the HTML parser - fixed
F.TCMS.compile()with an object of widgets - fixed
$.href()with an object or array value, a trailing&and lost parameters when it is called more than once - fixed binary WebSocket messages with compression, they were sent as compressed text frames
- fixed WebSocket clients rejected by the authorization: they get the close code
4001(or4004) instead of a dropped connection - fixed
fs.clone(id)without a new id in the Promise form - fixed
$tms : false, it did not remove the TMS route when$tmsurlstayed the same - fixed MCP tools whose action throws an exception: the request gets an error answer instead of waiting for the timeout
- fixed the MCP edit proxy (
options.editmcp): it lists theApp_*tools,App_mkdircreates the folder inside the project andApp_readreturns the current revision - fixed
AIPARSER('ollama')with tool calls in separate chunks, it readsfunction.index - fixed the generic
AIPARSER()with tool calls without id in separate chunks, they no longer overwrite each other - fixed
asyncactions that throw an exception: the action is answered with an error (routes and MCP tools) instead of waiting for the timeout - fixed the MCP edit tools: paths without the leading
/,App_deleteremoves the revisions of the deleted file or folder and answers for/,App_moveof a folder moves the revisions of its files (and not of a folder with a longer name) - fixed
App_moveof a folder in the MCP edit tools on Windows: the moved revisions were saved with\in their path andApp_readdid not find them - fixed double HTML encoding of the title, description and keywords set by
@{meta(title, description, keywords)} - fixed a global variable
languagecreated by every compiled view - fixed
$.href({ key: value })and@{href({ key: value })}, they returned the URL without the query - fixed
Image.background():-backgroundgoes before-extentso the color is used - fixed the
-,*and/prefixes ofupdate()andmodify()in the NoSQL QueryBuilder (they all added the value) - fixed
search()withbegandendin the PostgreSQL QueryBuilder on columns that are not text - fixed the compression errors of WebSocket messages, they threw "self is not defined" instead of reaching the
errorevent - fixed
WEBSOCKETCLIENTlosing a message that arrives together with the101answer - fixed
clone(),copy()andreadbuffer()ofFILESTORAGEwhile the storage is paused - added the compact schema type
email2: it works likeemailand removes the tag of the address (name+tag@domain.comis changed toname@domain.com) - fixed
WebSocketClient.ping()while the client is reconnecting: it threwCannot read properties of null (reading 'write') - fixed the
closeevent ofWebSocketClient: it is emitted when the connection ends with an error (a ping without an answer, an error of the socket) - added the one-way runtime script: the file
runtime.jsin the root of the app is checked every 5 seconds, removed and evaluated as a server-side code without a restart of the appCONF.$script = 'filename'changes the filename (relative to the root of the app), an empty value disables it
- added a native SQLite client
client-sqlite.jswith the same API as the PostgreSQL client (connect(),pool(),client.query(sql, [params], [callback])), it uses the built-in Node.js modulenode:sqlite- parameters:
$1or?with an array,:namewith an object - declared types
BOOLEAN,DATE,DATETIME,TIMESTAMPandJSONare parsed,BLOBis returned as aBuffer - a query waits for a locked database without blocking the process (
?timeout=5000)
- parameters:
- added SQLite to QueryBuilder (
querybuilder-sqlite.js):DATA.init('name', 'sqlite://databases/app.db'), the database engine is chosen according to the connection string- the filename is relative to the root of the app,
sqlite:///absolute/path/app.dbis an absolute path andsqlite://is the in-memory database - options:
?pooling=1(count of connections),?schema=name,?wal=1,?readonly=1,?foreignkeys=0,?timeout=5000 - arrays and objects are stored as JSON (declare their columns as
JSON), dates are stored as ISO 8601 text in UTC
- the filename is relative to the root of the app,
DATA.init(name, null)closes the connections of the removed database- fixed the MCP tool
App_infowithout the file with the stats of the app (e.g.total5 mcp), it threwCannot read properties of undefined (reading '0') - improved
MEMORIZE(), changes that wait for writing are written when the app is exiting - extended
BLOCKED($, [limit], [expire]), the$argument can be a string with a custom key, e.g.BLOCKED('user@example.com', 5) - added a local configuration
/config-local, it's loaded after the/configfile and it overwrites its values (it's intended for values that aren't stored in a repository) - fixed the root of the app in a FlowStream worker thread
jComponent UI library
- added missing
plugin.unwatch(path, [callback])method - added
abortandtimeouthandling to theAJAX()method - added error handling for scripts and styles to the
IMPORT()method (the callback is executed even if the import fails) - improved performance of
SET()(compiled setters are cached) - improved performance of
Array.prototype.quicksort()(sharedIntl.Collatorinstance) - improved
inDOM()by usingelement.isConnected - improved
COOKIES.set(), theexpireargument is optional and it doesn't modifyNOW - changed:
Number.prototype.format()rounds decimals instead of cutting them - changed:
Date.prototype.format('iso')returns a real UTC date - changed:
<ui-bind>commandshtml,text,value,title,hrefandsrcrender0instead of theemptyvalue - changed:
EXTENSION()executes the callback for existing instances with the same arguments as for new instances(instance, config, cls) - changed:
AJAX()evaluates a response as an error from the status code400(before399) - changed:
WAIT(path, callback)waits for a truthy value - fixed collisions in the cache of paths (different paths could return the same value)
- fixed
SET(path, function(value)) - fixed
CMD(),plugin.cmd()and$(element).CMD()methods - fixed
OFF(name, callback)for unregistered events - fixed emitting of events when a handler unregisters itself
- fixed infinite loop in the
autofocus()method - fixed infinite loop in the
TRANSLATE()method with unclosed@(markup - fixed
$characters in translations in theTRANSLATE()method - fixed
CONFIG('.path', config)for components without a path - fixed counting of pending elements for the
readyevent - fixed
?1|(parent plugin) in paths - fixed
plugin.watch()with multiple pathspath1 + path2 - fixed
plugin.set(object) - fixed
plugin.modifiedproperty - fixed
component.unwatch()(it affectedcomponent.datasource()too) - fixed
component.autofill()and processing of auto-filled values - fixed
component.setPath()with the?character - fixed
component.caniuse()with the|separator - fixed the previous value in the
component.configure(key, value, init, prev)delegate - fixed
checkboxin the defaultcomponent.setter() - fixed internal
component.$setter()without flags - fixed duplicated
component.attr()declaration - fixed multiple commands
html+titlein<ui-bind> - fixed using of a previous value in
<ui-bind>when a command throws an error - fixed arguments in
$(element).SEEX() - fixed double execution of callbacks in cached
AJAX()requests - fixed
opt.respond()in therequestevent - fixed sending of
Stringdata in theAJAX()method - fixed implicit global variable
arrin theAJAX()response - fixed
encryptargument in theSTRINGIFY()method - fixed restoring of values in the
CACHEPATH()method - fixed HTTP method parsing with
!in theCLINIT()method - fixed a possible interval leak in the
WAIT()method - fixed
COOKIES.set()with a number of days andCOOKIES.get()for values with the=character - fixed
localStorageerrors in theBLOCKED()method and in the initialization - fixed 12-hour clock (
hh,h,am/pm) inString.prototype.parseDate()andDate.prototype.format() - fixed a missing day and milliseconds in
String.prototype.parseDate() - fixed apostrophes and environment variables in
Date.prototype.format() - fixed
Number.prototype.add()with a number - fixed
Number.prototype.format()with exponential notation - fixed
Number.prototype.pluralize()without all arguments - fixed
String.prototype.parseExpire()without a unit - fixed
String.prototype.parseSource()with thenumbertype - fixed
Array.prototype.findValue()with cache - fixed sorting of different data types by the same key in
Array.prototype.quicksort() - fixed short HEX colors in the
APPEARANCE()method - fixed
VISIBLE()for elements placed directly in the<body> - fixed checking of window size in the internal resize handler
- fixed
resizehandler, animations anddestroy()in theSCROLLBAR() - fixed double emitting of custom flags in
SET(),PUSH()and inAJAX()with a path as a callback - fixed creating of objects for array items in
SET(), e.g.SET('list[1].name', value) - fixed
PUSH()to a value that is not an array (the pushed value was lost) - fixed missing notification in
PUSH()for a non-existent path - fixed
flags.skipwhich stayed in the flags of a cached path aftercomponent.rewrite() - fixed
Array.prototype.take(0) - fixed
<ui-bind>commandformatwith a number of decimals, e.g.format:2 - fixed
<ui-bind>commandformatfor values without theformatmethod (Boolean,Object) - fixed wildcard routes, e.g.
ROUTE('/docs/*')matches/docs/and all nested URL addresses - fixed priority of routes, a fixed route
ROUTE('/docs/intro/')has a higher priority than a wildcard routeROUTE('/docs/*') - fixed emitting of
404when a wildcard route is found - updated Tangular to
v5.0.6
Tangular template engine
- added
module.exportsfor Node.js - added cache of compiled templates to
Tangular.render()(limit1000templates) - improved performance of the
encodehelper - changed: the apostrophe
'is encoded as' - changed:
Math,JSON,RegExp,parseInt,parseFloat,isNaN,isFinite,NaN,Infinity,encodeURIComponentanddecodeURIComponentcan't be used as names of model fields - fixed variables in expressions with a path, e.g.
{{ a.b + c }}and{{ if a.b > c.d }} - fixed built-in objects and keywords, e.g.
{{ Math.round(price) }}and{{ if typeof(value) === 'string' }} - fixed strings with a dot or with the
|character, e.g.{{ "12.5" | helper }}and{{ value | helper('a|b') }} - fixed
$indexafter a nested loop - fixed rewriting of a model field by a loop item with the same name
- fixed possible collisions of internal names in nested loops
- fixed custom tags with special characters, e.g.
Tangular.compile(template, '[[', ']]') - fixed a compiled template executed with the
nullmodel - fixed the
querifyhelper when it is not available
UI Components
Website: https://componentator.com
- redesigned Componentator.com
- added a new component WebMCP
- updated
readycomponent by adding UI loading animation - added a new component emojipicker
- added a new component colorpalette
- added a new component iconpicker
- added a new component bulletchart
- added a new component calendarchart
- added a new component daterange
- added a new component flowchart
- added a new component funnelchart
- added a new component heatmap
- added a new component histogram
- added a new component livefeed
- added a new component networkchart
- added a new component rankchart
- added a new component scatterchart
- added a new component scoregauge
- added a new component sharechart
- added a new component sparkline
- added a new component statbox
- added a new component statstable
- added a new component timechart
- added a new component treemap
- added a new component uptimebar
- added a new component useravatar
- added a new component vitals
- added a new component worldmap
- fixed
Invalid Dateindatepickerwhenclock,ampmorclearoptions differ between calls - added custom colors to
j-ColorPicker
Tables
Website: https://www.totaljs.com/tables/
- fixed authentication bypass on the
/pipe/endpoint (disabled whenpipetokenis not configured) - hardened the
Data|sqlquery guard (blocks statement stacking, data-modifying CTEs,SELECT INTO, row locks and server-side file/large-object/network functions) - fixed in-memory cache update when renaming a category or a tab
- fixed the create hook in the
Data|cloneaction - updated jComponent library
- added a new
comparewindow for importing schemas - fixed autocomplete, it doesn't offer values from the copies of records
- improved synchronization of the database schema (only the changed table and dependent views are synchronized, in one transaction)
- added automatic indexes for relations,
parentidand default sorting - fixed linked columns when a table contains several relations to the same table
- fixed synchronization of the database when a column type or custom SQL is changed
Todomator
Website: https://www.totaljs.com/todomator/
- fixed removing user permissions when saving a user
- fixed notification when creating a comment
- fixed creating an invalid notification when updating a logwork
- fixed the "update" type in the "ticket" event
- removed unused routes "data_read" and "data_save"
- removed "querybuilderpg" dependency (replaced by "DATA.init()")
IoT
Website: https://www.totaljs.com/iot/
Admin:
- closed the
/pipe/endpoint when thepipetokenis not configured - added missing permissions to all
Driversactions - added missing permissions to
Endpoints(simulations) andPanels|Categoriesactions - restricted
Dictionaries|updateto the allowed tables only - improved SQL validation in reports (a single SELECT/WITH statement only), applied to executing and open data too
- added protection against brute-force attacks to the admin login (max. 10 attempts per IP address)
- admin sessions are bound to the password, a password change cancels all older sessions
- fixed storing of data views when creating a zone
- fixed missing locality in the zone search
- fixed losing zone/data view sensors when the update failed on an unknown sensor
- fixed visibility of the
Data viewsplugin for users with thedataviewspermission - fixed the
minoutput in data view charts - fixed the
sumoutput in sensor charts - fixed the audit log (a wrong object was stored)
- fixed responses of
Simulations|createandSimulations|update - fixed crashing of the simulation service on a missing row or endpoint
- fixed the admin language (
eu-->en) - fixed delayed applying of disabled/removed panels in the public update endpoint
- added
dailystats to data views - added input validation to
Devices|remove,Devices|detail,Alerts|removeandDataViews|read - added validation of the
statsvalue inDevices|Sensors|update - improved performance of data view charts (the query uses the index)
- allowed
Drivers|list,Drivers|readmeandDrivers|settingsfor users with thedevicespermission
Streamer:
- fixed inserting/updating data in the
storage(applied data schema) - fixed the
/notify/{id}/endpoint, which failed on every request - fixed downloading files from the
/private/endpoint - added a
tokenoption to the config, it protects the/and/private/endpoints via thex-tokenheader - fixed processing of device commands, which could stop after the first error
- commands for a missing device or input are now marked as failed
- fixed reloading of the Flow when a driver had no sensors or incomplete data
- fixed losing a whole batch of values because of one invalid value
- improved writing performance with larger batches
- added a limit for the queue of waiting values to protect the memory
- waiting values are now stored before the instance is closed
- fixed assigning values to the wrong minute in the statistics
- fixed sharing a serial number between devices without their own configuration
- fixed detection of devices with extension drivers
- the
/private/endpoint is not available without a configured token
Other posts from Total.js Platform
- 2026-11-12Using AI for Traffic Analysis and Smart Parking Monitoring
- 2026-11-10Total.js Platform and NVIDIA DeepStream: Automated AI Video Anonymization
- 2026-11-02October report 2026
- 2026-10-23Node.js Security Vulnerabilities
- 2026-10-01September report 2026
- 2026-09-01August report 2026
- 2026-08-21How to write better Total.js Applications using AI?
- 2026-08-01July report 2026
- 2026-07-24Total.js AIModel: a practical foundation for AI-powered workflows
- 2026-07-01June report 2026
