---
title: 20.015
project: jComponent V20
version: 20.016
section: changelog
language: en
license: MIT
url: https://totaljs.es/docs/jcomponent-v20/20-016/changelog/20-015/
updated: 2026-11-22T18:41:52.302Z
---

# 20.015

> The official list of changes of jComponent, up to release 20.015.

## 20.015

- 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()`

## 20.014

- added missing `ENCRYPT(str, key, type)` method
- added missing `DECRYPT(hex, key, type)` method

## 20.013

- fixed `Number.prototype.round()`
- added missing `CMD(name, [a], [b], [c], [d])` method
- added `EXE()` alias to `EXEC()`

## 20.012

- added missing `component.$ready` property for several components (j-Layout, j-Windows, etc.) that implement it
- added missing `API(url, name, data, callback, [scope])` method

## 20.011

- fixed `SYNC` keyword in the `AJAX()` method
- added a missing `onprogress` handler to the `AJAX()` and `UPLOAD()` method

## 20.009

- jComponent initialization for Samsumg mobile
- added missing `COOKIES`

## 20.008

- added support for `@method_name` for the `component.EXEC()` method (it executes parent component method)
- renamed the `CSS()` method to the `STYLE()`
- added `window.jc_globals = { ... }` object for disabling jComponent globals method:
	- it only supports one method: `CSS: false`, which disables the registration of the `CSS()` method
- fixed the `target` option for the `ui-import` element
- fixed the `class` option for the `ui-import` element
- fixed the `init` option for the `ui-import` element
- fixed `ui-bind` with custom `template` selector
- fixed the virtual DOM operator `-->` with two dashes

## 20.007

- fixed `plugin.get()` method
- fixed adding `DEF.version` to all AJAX `.html` requests
- fixed adding `DEF.language` to all AJAX  requests
- improved `ui-bind` by adding:
	- compatibility with v19 with only visible elements to be rendered
	- `forcerender` command that allows rendering in hidden elements
- fixed `NEWUIBIND()` method
- fixed internal `.exec` functionality
- improved downloading components from CDN
- added missing `plugin.off()` and `component.off()` method
- extended `component.autobind20([delay], [realtimebinding])` method by adding two arguments
- added missing `component.closest(selector)` method
- fixed functionality with dynamic plugins
- fixed plugin `class` config option
- improved loading plugin instance
- fixed functionality in the `CLRELOAD()` method
- fixed evaluating code lists in paths `path #codelist1 #codelist2`
- added support for flags in the `CMD()` method
- fixed importing dependencies defined in components
- added global variable `REPO`

## 20.006

- added missing `Date.toUTC([ticks])` method
- fixed a warning information about downloading UI components from CDN
- fixed appending `array` in the `plugin.push()` method
- added TAPI alternative:
	- `DEF.pipe = '/total-api-endpoint/'`
	- `plugin.pipe(name, [data], [path|callback])`
	- `PIPE(name, [data], [path|callback])`
- improved `Thelpers.empty(value, [def], [raw])` by adding `raw` argument
- added old `knockknock` event
- added `native: Boolean` option to the custom `SCROLLBAR()`
- fixed links with `@` in the `IMPORT()` method
- fixed "complex" paths in plugins
- fixed parsing of empty keys when using `String.parseConfig()`

## 20.005

- fixed obtaining plugin path in the form `?1/something` or `?1.something`

## 20.004

- added `component.setPath(path)` method
- added `$(element).scrollbar()` for finding the closest custom scrollbar instance
- added a new attribute `source="URL address"` for `ui-component` element
- extended `component.bind()` by adding `notify` flag (it notifies all components within the path about the component state)

## 20.003

- fixed cache in the `AJAX()` method
- added `Array.group(key)` method

## 20.001

- fixed `EXEC()` calls
- fixed `CLINIT()` with `extend` argument
- fixed `track` option in `<ui-bind>`
- fixed `format` option in `<ui-bind>`
- fixed reconfiguring unintialized components in `<ui-bind>`
- extended jQuery by adding `$.autofocus([selector])` method
- fixed unexpected removing of custom scrollbars
- fixed component's dependencies
- added missing `component.push()` method
- fixed `enabled` and `disabled` of `<ui-bind>` commands for HTML controls
- fixed `PREF` functionality
- fixed `@singleton` in the `IMPORT()` method
- added missing `UNAUTHORIZED()` method
- increased delay after importing 3rd party content via the `IMPORT()` method
- fixed `real-time` binding values in the `component.autobind20()` method
