Reference13r2:Release Notes SDK

From innovaphone-wiki

Jump to: navigation, search
There are other versions of this article: Reference13r1 | Reference13r2 (this version) | Reference13r3

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!


Contents

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 2 (136146)

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

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.

13r2 Service Release 10 (136338)

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

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

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.

126307 - JavaScript Runtime: PbxApiConnection object extended by the info property

The info property contains inforamtionof the App Object from which the AppWebsocket connection was established.

126282 - SDK docu: App Store Guide updated regarding V13r3 beta App Store App

The App Store Guide refers now to V13r3 beta release of the App Store App.

125725 - SDK docu: Client APIs tutorial extended by User Infos

Added example on accessing user infos in the client model.

126372 - SDK docu: fixed example for Service Lic usage

JavaScript App Service usage example was not complete.

125307 - SDK docu: fixed typos in JavaScript Runtime

Among other typos fixed example for apis definition.

125722 - SDK docu: PbxTableUsers added description for the pseudo property

Enables filtering on object type.

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.

125838 - SDK: app filelist added to release builds

The filelist required for the App Store releases is generated while creating a release build

125825 - SDK: manufacturer prefix for release builds

Release builds of the apps created with build-release.bat now contain the manufacturer prefix in the binary filename.

13r2 Service Release 14 (136373)

126690 - App Files: Documentation for Files Api

127570 - JS SDK: Database: Support for double values in SQL results

Before the fix, numerical values from the database were erroneously casted to an integer.

That prevented the usage of larger numbers than 2147483647.

126909 - JS SDK: Fixed crash if Timers.clearInterval was called inside callback of the interval

Clearing an interval inside the callback led a a crash, that is fixed now.

13r2 Service Release 15 (136377)

127140 - SDK docu: CheckAppLic added to Licensing

Added description of possibility to check licenses from App Service in cases where no AppWebsocket connection is available.

13r2 Service Release 16

129633 - JS SDK: Fix example for JsonApiConnection.unlicensed

The old example did not show the usage of the unlicensed attribute but the onmessage callback.

129276 - JS SDK: Webserver: Add support for incoming websocket connections

We added a function WebServer.onwebsocket that can be used to handle plain Websocket connections (without the AppWebsocket protocol).


Text and binary messages are supported.

129726 - SDK: Added testmode property to the "info" object of the AppLogin message

The "testmode" is set to true if the PBX is running in the Test Mode.

13r2 Service Release 17

132039 - DBFiles: do not crash if encrypted files are retrieved without a configured encryption key

132325 - SDK: added PbxAdminApi GetLocation function

The GetLocation function of the PbxAdminApi can be used to retrieve components of the WebSocket URI that can be used to establish a connection to specific PBX.

Personal tools