mirror of
https://github.com/moodle/moodle.git
synced 2025-03-11 03:15:24 +01:00
48 lines
1.4 KiB
Plaintext
Executable File
48 lines
1.4 KiB
Plaintext
Executable File
DataSource Release Notes
|
|
|
|
**** version 2.3.0 ****
|
|
|
|
* DataSource requests over XHR no longer automatically insert a "?" in the URIs
|
|
between the host and the query. Implementers should explicitly include the
|
|
question mark if it is required by your server. Please refer to the DataTable XHR
|
|
examples for implementation details.
|
|
|
|
* DataSource provides the following static type conversion methods:
|
|
DataSource.parseDate(), DataSource.parseNumber(), and DataSource.parseString().
|
|
These are executed in the scope of the DataSource instance.
|
|
|
|
* DataSource now supports the following values for the property xhrConnMode:
|
|
"queueRequests"
|
|
"allowAll"
|
|
"cancelStaleRequests"
|
|
"ignoreStaleResponses"
|
|
|
|
|
|
|
|
|
|
**** version 2.2.2 ***
|
|
|
|
* No changes.
|
|
|
|
|
|
|
|
**** version 2.2.1 ***
|
|
|
|
* Fixed parseTextData() to longer reverse-order data or truncate first record.
|
|
* Fixed bug where data values of 0 (zero) were being converted to empty string.
|
|
* Fixed erroneous undefined values created by parseDataArray().
|
|
* Callback functions now receive an additional argument in the form of a boolean
|
|
to indicate data error.
|
|
* Support for nested JSON data.
|
|
* Support for responseShema.fields.converter to take string response and custom
|
|
convert data type.
|
|
* Added static converter methods YAHOO.util.DataSource.convertNumber and
|
|
YAHOO.util.DataSource.convertDate.
|
|
* Improved type checking with YAHOO.lang.
|
|
|
|
|
|
|
|
**** version 2.2.0 ***
|
|
|
|
* Beta release.
|