Node.js framework v3.4.3 Release Notes
Release Date: 2020-05-11 // almost 4 years ago-
News :
- ➕ added:
HASH(value, [type])
for creating hash like in jComponent - ➕ added:
SchemaOptions.repo
as alias toSchemaInstance.model.$$repository
- ➕ added: a new type
CONVERT syntax
toschema.define()
(more in docs) - ➕ added:
SchemaEntity.verify(name, function($), [cache])
for async verification of values - ➕ added:
TEMP
variable as a new global variable (it's cleaned every 7 minutes) - added:
CONF.allow_persistent_images: true
which allows to reuse resized images in temp directory - ➕ added:
req.filecache(callback)
as alias forF.exists()
- ➕ added: own QueryParser
- ➕ added:
RESTBuilderInstance.convert('name:String,age:Number')
method - ➕ added:
RESTBuilder.upgrade(fn(restbuilder))
for upgrading ofRESTBuilder
- ➕ added:
RESTBuilder
parses Total.js Errors in responses as Error - ➕ added:
String.prototype.env()
replaces all values in the form[key]
forCONF.key
- ➕ added: WebSocket supports a new type - raw
buffer
- ➕ added:
Number.fixed(decimals)
⚡️ Updates :
- ⚡️ updated:
websocket.send2(message, comparer, replacer, [params])
by addingparams
argument for comparer function - ⚡️ updated:
Websocket.encodedecode
can enable/disable easily encoding of messages - ⚡️ updated: bundling skips all bundles with
-bk.bundle
in filename - ⚡️ updated: bundle filenames are displayed in console
- ⚡️ updated:
UPDATE()
method by addingnoarchive
argument - ⚡️ updated:
TEST()
method supports[subdomain]
keyword andMETHOD url
in URL address - ⚡️ updated:
MODIFY([filename], fn)
by addingfilename
argument - ⚡️ updated: background of schedulers by @fgnm
- ⚡️ updated:
U.download()
by addingparam
argument - ⚡️ updated:
U.request()
by addingparam
argument - ⚡️ updated:
schema.cl(name, [value])
method by addingvalue
argument for replacing of existing code-list - ⚡️ updated: Tangular version to
v4.0.0
👌 Improvements :
- 👌 improved:
filename
in modificators (now filenames contain relative paths) - 👌 improved: performance of
U.request()
(around +10%) - 👌 improved: performance of
U.download()
(around +10%) - 👌 improved: performance of
RESTBuilder
- 👌 improved: CSS minifier by compressing single hex color from e.g.
#000000
to#000
🛠 Fixes :
- 🛠 fixed: localization in
totaljs
executable script - 🛠 fixed: phone validation
- 🛠 fixed:
DOWNLOAD()
- 🛠 fixed:
Number.VAT()
by Tomas Novak - 🛠 fixed: debugging mode in Node.js v14
- fixed:
allow_compile_html
in static files - 🛠 fixed:
ROUTE()
method, there was a problem with spacesGET /*
- 🛠 fixed:
ACTION()
with json output - 🛠 fixed: controller in
$ACTION()
with usedget
andquery
actions - 🛠 fixed:
PATCH
method in$ACTION()
- 🛠 fixed:
schema.allow()
inPATCH
method - 🛠 fixed: image resizing in debug-mode
- ➕ added: