Version 2.8.0
2019-MM-DD
- feature datasync: add the
Webcom#pushIdToDateTimemethod to retrieve the timestamp associated to a push id - feature auth: add the
Webcom#avatarURLmethod to get a user's avatar from the auth details passed to the authentication callbacks - feature auth: add the
Webcom#makeNextAuthOperationContextualmethod to make it possible to attach a new identity to an existing account and to sign-in with multiple identities (multi-factor sign-in) - feature auth: add the
Webcom#addIdentitymethod and depreciateWebcom#addAccount - feature auth: add the
Webcom#authInternallymethod, which manages both authentication with email/password and authentication with phone - feature datasync: implement a ping-pong mechanism on the websocket to watch its disconnection in cases the OS doesn't send the offline event (WEBCOM-217)
- feature datasync: make the
Webcom#persistmethod return a boolean indicating whether some data have been actually persisted - feature datasync: make the
api.Query#onandapi.Query#oncemethods accept a list of event types (WEBCOM-302) - feature datasync: add an a
valueFormatoption to theWebcom#transactionmethod to pass aapi.DataSnapshotobject instead of a JSON object to the update function - feature datasync: make
Webcom#set,Webcom#update,Webcom#push,Webcom#remove,Webcom#transaction,api.Query#on,api.Query#oncemethods pass errors to their callback functions instead of throwing them - feature datasync: interpret special path segments (".", "..", "#...") in the
Webcom#childmethod (WEBCOM-305) - feature datasync: add the
Webcom#datasyncBaseURLproperty to ease the use of REST API in javaScript - feature add the
api.WebcomAppclass to represent a Webcom app associated to a Webcom platform - feature add a constructor signature to the
Webcomclass that accepts aapi.WebcomAppdescriptor - feature datasync: add a {@code goOnline} option to the
Webcomconstructor to prevent the websocket to be established at startup (WEBCOM-218) - fix datasync: make the
Webcom#persistfunction save pending write operations together with locally cached data (WEBCOM-258) - fix datasync: a new subscription doesn't call its callbacks on cached data when it requires to send a listen command to the server and the websocket is already established (WEBCOM-245)
- fix datasync: fix queries combining
api.Query#startAtandapi.Query#limitconstraints when the queried node has already an ongoing subscription (WEBCOM-249) - fix datasync: fixed queries with
api.Query#startAtand {link api.Query#limit} (WEBCOM-249) - fix datasync: make
Webcom#goOnlineandWebcom#goOfflineswitch on or off only the websocket associated to theWebcominstance (WEBCOM-218) - fix datasync: make a websocket switched off by
Webcom#goOfflinestay off until the next call toWebcom#goOnline, even if the network comes online (WEBCOM-218) - fix datasync: make each websocket save its own authentication state without collision with each other (WEBCOM-218)
- fix datasync: make the local authentication callbacks passed to the
Webcom#authXXXmethods not require a datasync websocket to be called (WEBCOM-218) - misc datasync: use the new /datasync/v2 route to establish the websocket (WEBCOM-228)
comment:#(Version 2.7.1-3, 2019-09-03 documentation release only)
comment:#(Version 2.7.1-2, 2019-06-20 documentation release only)
comment:#(Version 2.7.1-1, 2019-04-04 documentation release only)
Version 2.7.1
2019-03-27
- feature datasync: add
Webcom#shouldBeOnlineto get the websocket connectivity state expected by the user - fix auth: fix the promise returned by the new
Webcom#updateIdentityProfilefunction - misc update dependencies of nodejs version:
faye-websocket(0.11.1),request(2.88.0),babel-runtime(6.26.0)
Version 2.7.0
2019-03-13
- feature auth: add
Webcom#sendOtp,Webcom#addAccount,Webcom#verifyIdentity,Webcom#updateIdentityProfileandWebcom#authWithPhoneto use the new phone/Otp authentication method (WEBCOM-128) - feature auth: add
Webcom#sendPasswordResetCode,Webcom#sendVerificationCodeto manage email- and phone-base identities, as well as message parameters (WEBCOM-180) - feature auth: add
Webcom#removeAccountandWebcom#removeIdentitymethods to share account deletion between all kinds of authentication methods - feature auth: make the
Webcom#verifyIdentityauthenticate with the verified user (WEBCOM-71) - feature auth: make the
Webcom#registerAuthCallbackmethod return the registered callback - feature datasync: add the
api.DataSnapshot#rawValmethod (WEBCOM-38) - feature datasync: add the
api.Query#pathStringmethod to get the current node path (without the host) - fix datasync: fix the JSON array extraction computed by the
api.DataSnapshot#valmethod (WEBCOM-38) - misc auth: deprecate
Webcom#updateEmailPasswordProfile,Webcom#createUser,Webcom#removeUser,Webcom#sendConfirmationEmail, {@Webcom#sendPasswordResetEmail}
Version 2.6.1
2018-09-19
- fix fix some REST request that were failing in nodejs
- misc doc: replace bower with node in the quickreference guide
Version 2.6.0
2018-09-12
- feature datasync: add a persistent mode to make it possible to work offline
- fix datasync: make several queries on the same node work together
- fix datasync: properly initialize the online monitor when run on Android
- fix datasync: adapt the promises returned by the Webcom API to work properly with iOS native callbacks
- misc doc: fix typo in wakeup doc
Version 2.5.0
2018-08-23
- feature auth: add the
Webcom#sendConfirmationEmailmethod - fix auth: removed the
emailparameter of theWebcom#updateEmailPasswordProfilemethod
Version 2.4.1
2018-08-23
- misc doc: fix typo in equalsTo Quary SDK method
- misc doc: fix typo in REST API tutorial
- misc doc: fix android api doc references
(doc fixes only)
Version 2.4.0
2018-07-09
- feature auth: add the
Webcom#updateEmailPasswordProfilemethod - fix network error properly caught at websocket establishment in NodeJs
Version 2.3.2
2018-06-21
- fix a mis-wired test was randomly crashing the websocket initialization in NodeJs
Version 2.3.1
2018-06-15
- fix auth: fix the Promise returned by
authWithPrivateKey()
Version 2.3.0
2018-06-06
- feature auth: authentication with a custom 3rd-party identity provider
- fix auth: improve the management of rejected promises when using ES5-callback style
- misc doc: update tutorials with OIDC and custom login
Version 2.2.1
2018-05-29
- fix auth: fix POST requests in nodejs, with forms including a JSON object field
Version 2.2.0
2018-04-05
- feature datasync: add queries
api.Query#limit,api.Query#endAt,api.Query#startAtandapi.Query#equalTomethods
Version 2.1.0
2018-03-12
- feature auth: add the
Webcom#registerAuthCallbackandWebcom#unregisterAuthCallbackmethods
Version 2.0.0
2018-01-18
- feature auth: add authentication with Mobile Connect for some Orange countries (France, Spain, Morocco, Jordan, Madagascar)
- feature auth: add support for Orange-Wassup authentication (used by mobile SDKs that encapsulate the javascript SDK)
- break auth: some error message codes have changed for authentication-related operations
- feature auth: improve the error message of XHR requests in case of network error
Version 1.3.2
2017-06-29
- feature auth: add authentication with login-oauth2
- feature auth: add an optional user-profile option to the
authWithPasswordmethod - feature auth: add the
authWithTokenandauthWithPrivateKeymethods and deprecate theauthmethod feature auth: use the callback function passed to authXXX methods act as a (local) Promise-callback and no longer register it as a global authentication callback
fix auth: fix transport for REST request in nodejs
fix datasync: fix
transactionmethod when the hash of the data to update has changedbreak auth: deprecate the
unauthmethod, uselogoutinstead
Version 1.2.4
2017-02-16
- fix proxy usage with nodejs
Version 1.2.3
2017-02-08
- fix proxy support for node. Uses HTTPS_PROXY or https_proxy environment variable.
Version 1.2.2
2017-01-17
- feature auth: add anonymous login feature
- feature datasync: add the
transactionmethod
Version 1.0.3
2016-07-06
- fix fix crash on react-native: returns empty useragent if navigator.useragent undefined
Version 1.0.1
2016-06-09
- break change namespace URL
- Before : https://webcom.orange.com/base/YOUR_NAMESPACE
- Now : https://io.datasync.orange.com/base/YOUR_NAMESPACE
- fix auth: use XHR for login purpose with Safari browsers
Version 0.2.3
2015-11-23
- feature add proxy support for nodejs:
Use HTTPS_PROXY env variable to set a proxy, for example:
- http://proxy.example.com
- http://username:password@proxy.example.com (with auth)