BETA
My accountGet started
Dec 012026
Total.js Platform
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.js returns a JavaScript client of the MCP tools (one function per tool with JSDoc for its arguments and result) that calls them through tools/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) and Total.mcp.filter apply as for tools/list
    • ?q=words returns only the tools whose name or description contain all the words
    • it is available whenever CONF.$mcp is enabled; nothing runs on the server
  • fixed the memory under load: a finished request leaves the pending requests at once (the list kept every request with its req and res until 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 (only gzip and deflate are 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 its tests directory (it loads config, the optional init.js and the scripts; without names it runs all scripts)
  • added Test.fake(name, action) that replaces an action with a fake and Test.restore() that puts the original actions back
  • improved total5 test: the framework of the tested project is found from its subdirectories too (e.g. from tests)
  • fixed url in the view engine
  • fixed $.invalidsafe(msg, err): in an action it threw a ReferenceError (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 of MAIL(), HTMLMAIL() and LOGMAIL() run) and the audit logs with CONF.$tapilogger
  • fixed the X-Priority and Sensitivity headers of high(), low() and confidential() in the mail sent over SMTP
  • fixed the writer option of REQUEST(), 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() of RESTBuilder.API(), null values were still sent
  • fixed U.set() with a path that goes on after an index (items[0].name made items[0] an array)
  • fixed the cache option of NEWACTION(): actions without id shared one cache entry and the cached response could be changed by the caller
  • fixed the tls option of U.connect(), the socket was never upgraded
  • fixed U.parseURI(), REQUEST(), RESTBuilder and proxies with credentials in the URL (user:pass@), they failed with "user is not defined"
  • fixed the > and < prefixes of update() and modify() in the NoSQL QueryBuilder
  • fixed scalar() of the NoSQL QueryBuilder: avg returns the average and the aggregates work without a key
  • fixed count and pages of list() with the NoSQL QueryBuilder
  • fixed search() with beg and end in the PostgreSQL QueryBuilder
  • fixed the toggle !name of update() in the PostgreSQL QueryBuilder (the column is quoted)
  • fixed fields() before autoquery() and autoqueryjson(): later queries no longer select extra columns
  • fixed gridfields() with an empty or missing value
  • fixed the memory key of FlowStream, it did not limit the heap of forks and worker threads
  • fixed $.send(null) in FlowStream: end fired once per output and a paused output stopped the message for the next outputs
  • fixed TRANSFORM() without a callback: $.invalid() threw a TypeError and the Promise never settled
  • fixed F.worker.isfork, it was true in worker threads and false in forks
  • fixed NEWFORK(): --worker did not reach the child process, so F.worker.is was false in forks
  • fixed NEWTHREADPOOL(): worker.data was undefined in pool threads, pool.count was the pool object, and a worker that exited threw a ReferenceError and was not replaced
  • fixed loading the framework from node -e (process.argv[1] and process.mainModule are 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 with F.view()
  • fixed views with more than one @{} value in a <style> block
  • fixed the filter argument of Image.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 (or 4004) 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 $tmsurl stayed 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 the App_* tools, App_mkdir creates the folder inside the project and App_read returns the current revision
  • fixed AIPARSER('ollama') with tool calls in separate chunks, it reads function.index
  • fixed the generic AIPARSER() with tool calls without id in separate chunks, they no longer overwrite each other
  • fixed async actions 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_delete removes the revisions of the deleted file or folder and answers for /, App_move of a folder moves the revisions of its files (and not of a folder with a longer name)
  • fixed App_move of a folder in the MCP edit tools on Windows: the moved revisions were saved with \ in their path and App_read did not find them
  • fixed double HTML encoding of the title, description and keywords set by @{meta(title, description, keywords)}
  • fixed a global variable language created by every compiled view
  • fixed $.href({ key: value }) and @{href({ key: value })}, they returned the URL without the query
  • fixed Image.background(): -background goes before -extent so the color is used
  • fixed the -, * and / prefixes of update() and modify() in the NoSQL QueryBuilder (they all added the value)
  • fixed search() with beg and end in 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 error event
  • fixed WEBSOCKETCLIENT losing a message that arrives together with the 101 answer
  • fixed clone(), copy() and readbuffer() of FILESTORAGE while the storage is paused
  • added the compact schema type email2: it works like email and removes the tag of the address (name+tag@domain.com is changed to name@domain.com)
  • fixed WebSocketClient.ping() while the client is reconnecting: it threw Cannot read properties of null (reading 'write')
  • fixed the close event of WebSocketClient: 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.js in the root of the app is checked every 5 seconds, removed and evaluated as a server-side code without a restart of the app
    • CONF.$script = 'filename' changes the filename (relative to the root of the app), an empty value disables it
  • added a native SQLite client client-sqlite.js with the same API as the PostgreSQL client (connect(), pool(), client.query(sql, [params], [callback])), it uses the built-in Node.js module node:sqlite
    • parameters: $1 or ? with an array, :name with an object
    • declared types BOOLEAN, DATE, DATETIME, TIMESTAMP and JSON are parsed, BLOB is returned as a Buffer
    • a query waits for a locked database without blocking the process (?timeout=5000)
  • 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.db is an absolute path and sqlite:// 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
  • DATA.init(name, null) closes the connections of the removed database
  • fixed the MCP tool App_info without the file with the stats of the app (e.g. total5 mcp), it threw Cannot 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 /config file 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 abort and timeout handling to the AJAX() 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() (shared Intl.Collator instance)
  • improved inDOM() by using element.isConnected
  • improved COOKIES.set(), the expire argument is optional and it doesn't modify NOW
  • changed: Number.prototype.format() rounds decimals instead of cutting them
  • changed: Date.prototype.format('iso') returns a real UTC date
  • changed: <ui-bind> commands html, text, value, title, href and src render 0 instead of the empty value
  • 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 code 400 (before 399)
  • 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 the TRANSLATE() method
  • fixed CONFIG('.path', config) for components without a path
  • fixed counting of pending elements for the ready event
  • fixed ?1| (parent plugin) in paths
  • fixed plugin.watch() with multiple paths path1 + path2
  • fixed plugin.set(object)
  • fixed plugin.modified property
  • fixed component.unwatch() (it affected component.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 checkbox in the default component.setter()
  • fixed internal component.$setter() without flags
  • fixed duplicated component.attr() declaration
  • fixed multiple commands html+title in <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 the request event
  • fixed sending of String data in the AJAX() method
  • fixed implicit global variable arr in the AJAX() response
  • fixed encrypt argument in the STRINGIFY() method
  • fixed restoring of values in the CACHEPATH() method
  • fixed HTTP method parsing with ! in the CLINIT() method
  • fixed a possible interval leak in the WAIT() method
  • fixed COOKIES.set() with a number of days and COOKIES.get() for values with the = character
  • fixed localStorage errors in the BLOCKED() method and in the initialization
  • fixed 12-hour clock (hh, h, am/pm) in String.prototype.parseDate() and Date.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 the number type
  • 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 resize handler, animations and destroy() in the SCROLLBAR()
  • fixed double emitting of custom flags in SET(), PUSH() and in AJAX() 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.skip which stayed in the flags of a cached path after component.rewrite()
  • fixed Array.prototype.take(0)
  • fixed <ui-bind> command format with a number of decimals, e.g. format:2
  • fixed <ui-bind> command format for values without the format method (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 route ROUTE('/docs/*')
  • fixed emitting of 404 when a wildcard route is found
  • updated Tangular to v5.0.6

Tangular template engine

  • added module.exports for Node.js
  • added cache of compiled templates to Tangular.render() (limit 1000 templates)
  • improved performance of the encode helper
  • changed: the apostrophe ' is encoded as '
  • changed: Math, JSON, RegExp, parseInt, parseFloat, isNaN, isFinite, NaN, Infinity, encodeURIComponent and decodeURIComponent can'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 $index after 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 null model
  • fixed the querify helper when it is not available

UI Components

Website: https://componentator.com

  • redesigned Componentator.com
  • added a new component WebMCP
  • updated ready component 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 Date in datepicker when clock, ampm or clear options differ between calls
  • added custom colors to j-ColorPicker

Tables

Website: https://www.totaljs.com/tables/

  • fixed authentication bypass on the /pipe/ endpoint (disabled when pipetoken is not configured)
  • hardened the Data|sql query 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|clone action
  • updated jComponent library
  • added a new compare window 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, parentid and 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 the pipetoken is not configured
  • added missing permissions to all Drivers actions
  • added missing permissions to Endpoints (simulations) and Panels|Categories actions
  • restricted Dictionaries|update to 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 views plugin for users with the dataviews permission
  • fixed the min output in data view charts
  • fixed the sum output in sensor charts
  • fixed the audit log (a wrong object was stored)
  • fixed responses of Simulations|create and Simulations|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 daily stats to data views
  • added input validation to Devices|remove, Devices|detail, Alerts|remove and DataViews|read
  • added validation of the stats value in Devices|Sensors|update
  • improved performance of data view charts (the query uses the index)
  • allowed Drivers|list, Drivers|readme and Drivers|settings for users with the devices permission

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 token option to the config, it protects the / and /private/ endpoints via the x-token header
  • 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