Reference13r2:Release Notes SDK
From innovaphone-wiki
This is the SDK 13r2 Release Notes Document.
Service Releases are planned for the second monday each month.
Please see the disclaimer before using the information presented here!
SDK 13r2
13r2 Service Release 1 (136122)
111701 - Added remTranslation() to ui1 lib
Corresponding function to addTranslation().Removes an ui element from translator object.
112307 - IHTTPClient::SetTimeout to support timeouts for HTTP requests
111852 - PbxApi: Added support for "AddProfile" and "DelProfile" and "UpdateProfile"
Added support for "AddProfile" and "DelProfile" and "UpdateProfile" to PbxApi
112273 - SDK: Fix for segmentation fault in JavaScript Runtime when receiving big messages using JsonApi
The internal buffer size of the JsonApi library was smaller than the maximum websocket message size.
112364 - SDK: HttpClient (JavaScript) - Add additional timeout and error handling
- The timeout of the HttpClient object can now be set.
- The HttpClientRequest object now has a dedicated onerror callback that can be used to detect timeouts and other connection issues.
13r2 Service Release 10
121579 - Fixed IProcess::Spawn "permission denied"
Apps can now use IProcess::Spawn too.121163 - SDK docu: Client APIs publishing description improved
121515 - SDK: JavaScript: Add support for HTTP authentication in WebServer
WebServer.onrequest now supports setting an additional callback for HTTP authentication.If it is set, the webserver will request HTTP authentication from clients and then ask the application for the password.
If it is not set, no HTTP authentication is done, as before.
121553 - SDK: JavaScriptRuntime: Parsing APIs in config.json did not work in some cases
There was a bug in parsing the "apis" section in the config.json.Parsing stopped on the first non-object. So placing the "presence" and "hidden" flags before objects representing an API led to the API being ignored.
121524 - WebserverPlugin: redirect dynamic password request to the user for the registered path
The request for a user name and passowrd (in case that dynamic authentication is activated) will now be redirected to the user object which is connected to the requested resource path. If no user is assigend to, a fallback to the default user of the webserver plugin will be used.
13r2 Service Release 11
122934 - SDK: fix missing PBX manager plugin icon in C++ template
Fixed case sensitve filename of the icon.
13r2 Service Release 12 (136349)
124430 - SDK: JavaScript: Add possibility to get MAC address of AP
Network.macAddress() now returns the MAC address of the App Platform.
13r2 Service Release 13
124636 - Devices Protocol: Added description for GetDeviceConfigs and GetDeviceConfig messages
124581 - HTTPClient: certain Send call combination might result in a trap
Calling Send within HTTPClientSendResult again resulted in a trap.
125307 - SDK docu: fixed typos in JavaScript Runtime
Among other typos fixed example for apis definition.
125015 - SDK docu: Service License description added to Licensing
The license type Service documented.
124606 - SDK docu: sysclient configuration message description updated
Configuration message relationship to the 3rd party provisioning apps explained.
124641 - SDK: Add GetPbxLicenses message to PbxAdmin API
GetPbxLicenses returns information about all local PBX licenses of the PBX from which the AppWebsocket connection was established.
13r2 Service Release 2
112490 - Debug log output for prepared SQL statements was wrong
113542 - Replicator: clarified documentation for createReplicator and Update
113604 - SDK docu: add chapter about app licensing
Added a new chapter that describes the different options for licensing your app including code examples for the license check.
113514 - SDK docu: clarify usage of modes in JavaScript Runtime
The documentation stated that modes are configured using the URI of the app object.It should state that modes are configured using the name of the app object.
113621 - SDK: JsonApi (JavaScript) - Add unlicensed property
Possibility to check if a JsonApiConnection is licensed.
113612 - Template for JS apps: Include SVG library into html files
13r2 Service Release 3 (136155)
114362 - Fixed a wrong description in Config JavaScript documentation
13r2 Service Release 4 (136164)
115266 - IDns: Avoid access to already deleted memory
In IDns::GetHostByName requests with the "all" parameter set to true, there was a bug in the library causing access to already deleted memory.
13r2 Service Release 5 (136185)
115704 - SDK docu: added tutorial to migrate from SDK V13r1 to SDK V13r2
The scope of the tutorial is to migrate an existing VisualStudio project from SDK V13r1 to SDK V13r2.
115606 - SDK docu: JSON API Framework Documentation extended by an example
Example Code chapter added with a simple JSON API implementation.
115492 - SDK docu: service APIs configuration in the JavaScript Runtime
Added a description for service APIs configuration in the JavaScript Runtime
115410 - SDK documenatation: innovaphone.appwebsocket.Connection description for parameters password and domain added
115417 - Support for AppInfo hidden element in the JavaScript Runtime
The hidden flag can now be configured in the config.json.
115019 - Support for service APIs in the JavaScript Runtime
New section "serviceApis" in config.json, similar to the "apis" section.
13r2 Service Release 6 (136223)
116817 - Extended documented for com.innovaphone.devices
Added some further messages GetDomains, GetDevices and GetFilteredDevices
116091 - JavaScript Runtime: Rework handling of build number and label from httpfiles.zip
- The build number from the build.txt is now displayed in the AP manager (instead of the build number of the used JavaScript Runtime).
- The label to be displayed in the AP manager can now be defined using a label.txt file.
116278 - myApps: Allow clipboard-write for app iframes
So that apps can copy text to the clipboard using the Clipboard API.<iframe allow="...; clipboard-read">
116139 - SDK docu: Typos fixed in the App Development Guide
Various typos in the documentation
116867 - SDK docu: updated FAQ in the getting started tutorial
Updated FAQ and fixed typos.
116900 - SDK docu: V13r1 o V13r2 project update turorial fixed
Various corrections in the documentation
116238 - SDK: added batch build for JS apps
Added batch build script for release builds. Supports setting build number and release state label for JavaScript Runtime apps.
116028 - SDK: admin app name check fixed in the C++ template
App service checked for "manufacturer-template1Admin" app name, but registered "manufacturer-template1admin", so no counter reset via admin app was possible.
116148 - SDK: support for RELEASE_STATE environment variable
To be able to set Release State Label via environment variable
13r2 Service Release 7 (136254)
117723 - innovaphone SDK setup: Fixed an missleading error message during setup
118187 - innovaphone SDK: Fixed an error in version number handling
118047 - JavaScript: Avoid trap when sending too big messages
The following functions now give a JS error, if the application sends messages bigger than 65535 bytes in a single message:
JsonApiConnection.send
PbxApiConnection.send
WebserverRequest.send
117651 - PBX RCC: Add timestamp when call was started to Call-Info
So that the duration of the call can be displayed even if the App was started after start of call
117036 - SDK docu: added App Store Guide
Tutorial about preparing and publishing an App on the innovaphone App Store
117852 - SDK docu: extend UI1 Lib documentation by Web Browser Information
Documentation extended by the description of the Web Browser Information object (innovaphone.ui1.lib.browser) that contains client related information.
117851 - SDK docu: fixes in the PbxAdminApi documentation
Typos and missing values fixed.
117731 - SDK: Make login info available at JsonApiConnection object
C++const char * IJsonApiConnection::JsonApiInfo()
JavaScript
JsonApiConnection.info
The info contains a string representation of the login information. It can be used to get additional info like the user's PBX.
117798 - Template for JS apps: fixed reference path for JavaScript intellisense
Adjusted reference path to v13r2 SDK folder structure.
13r2 Service Release 8 (136268)
118761 - Added services API to reference documentation
118468 - FileSystem::WriteBinaryFile to write binary data
And update documentation of WriteWholeFile with obsolete
13r2 Service Release 9
119573 - JavaScript: Support for impersonation in PbxApi
Added function PbxApiConnection.create(targetApi)- Returns a new PbxApiConnection object for a given targetApi string.
- This mechanism can be used to talk to a target API that was created using the CreateApi message of the PbxImpersonationApi.
Added function PbxApiConnection.close()
- Deletes the PbxApiConnection object programatically
- Can be used if the application is no longer interested in using that PbxApi on that connection.
120193 - PbxAdminApi: Added support for "External"
Added support for "External" property to PbxAdminApi
119783 - SDK docu: App Store Guide extended App Description requirements
The app description should contain at least an english version of the description text.
120351 - SDK docu: myApps Protocol fixed SetUserActivity message type
Message type for SetUserAcivity was fixed according current implementation.
119680 - SDK: Add DeleteApi message to PbxImpersonation API
Can be used to delete an impersonated API that was generated using CreateApi before.
120463 - SDK: fix memory leak on databaseprovider in C++ template
Delete Databaseprovider pointer on App termination.
120495 - SDK: JavaScript: Add AppInstance module
The AppInstance object provides information about the app service and app instance.- serviceId
- serviceDns
- name
- domain
- password
120669 - SDK: JavaScript: Increase maximum incoming message size in PbxApi
The message size was increased to 64K.