Releases: CSOIreland/Client-API-Library
Releases · CSOIreland/Client-API-Library
4.1.1
- Method api.modal.confirm fixed for cross-browser compatibility.
4.1.0
- Method api.ajax.config fixed.
- Method api.modal.confirm enhanced to support multiple cascade modals
- Bootstrap 4.5.2 SCSS synched and CSS recompiled with the default Accessibility WCAG 2.1 Level AA color scheme. If you do not require to customise the SCSS then simply copy the following files into your project folder
root/css/
, otherwise recompile your custom SCSS first:root/bootstrap/4.5.2/scss/app.bootstrap.guideline.css
root/bootstrap/4.5.2/scss/app.bootstrap.guideline.map
root/bootstrap/4.5.2/scss/app.bootstrap.guideline.scss
- API Constants cleaned. Diff and synch the
root/template/modal.html
with your project
4.0.4
4.0.3
Support for Bootstrap v4.5.2 added.
- Diff and synch the
root/index.html
to point to the correct Bootstrap resource files - If you do not require to customize the SCSS then simply copy the following files into your project folder
root/css/
, otherwise recompile your custom SCSS first:root/bootstrap/4.5.2/scss/app.bootstrap.guideline.css
root/bootstrap/4.5.2/scss/app.bootstrap.guideline.map
root/bootstrap/4.5.2/scss/app.bootstrap.guideline.scss
4.0.2
- Spinner plugin upgraded to use the Bootstrap background property
bg-
instead of custom colors.
Diff and synch the fileroot/template/spinner.html
in your application
4.0.1
-
Method api.ajax.config refactored and extended:
- Ajax call refactored using the JQuery $.ajax method
- Optional parameter
pAjaxParams
of type{}
implemented to override the $.ajax parameters
-
Method api.content.load extended:
- Optional parameter
pAppend
of typebool
implemented to append the loaded content to the Selector container rather than empty it first.
- Optional parameter
4.0.0
This Version is NOT backward compatible.
N.B. If you upgrade to this version then you must upgrade the Server API Library code to implement the strict JSON-RPC specifications.
- Constant
C_API_VERSION
added for reference - Method api.ajax.jsonrpc.request amended to follow the strict JSON-RPC specifications
callbackFunctionName_onSuccess
accepts the specific parameterresponse.result
rather thanresponse
callbackFunctionName_onError
accepts the specific parameterresponse.error
rather thanresponse
- The plugin ClipboardJs is now required as a dependency
- Function String.prototype.s2ab added
- Header
RESPONSE_Server
overridden following the OWASP security best practice.
3.2.1
- Method api.ajax.callback fixed to accept a
NULL
response for an Ajax callback on error
3.2.0
- Support for Bootstrap 4.3.1 added
- Stylesheet app.bootstrap.guideline.css updated to Bootstrap 4.3.1
- External JS/CSS libraries updated to their latest version
- External CDN resources consolidated over jsDeliver for resilience purpose (where applicable)
3.1.2
- Bootstrap progress-bar animation improved