Migrating from an Older Version
Migrating to 0.3.x
0.3.0 represented a big change for the SDK, with lots of changes meant to
bring in new functionality, increase stability and security, and improve
usability.
In particular, the following are breaking changes:
window.Fluxwas renamed towindow.FluxSdk, and has a new signatureFlux.loginhas been deprecated and split into two methods,getAuthorizeUrlandexchangeCredentials. You are now responsible for storing credentials yourself.- Please see the Implicit Flow guide for more details on how to set this up
User.getwhoamiis nowUser.fetchProfileDatatablehas been renamed toDataTable. Similarly named methods have also been renamed to match, e.g., fromProject.getDatabletoProject.getDataTableDatatable.capabilityis nowDataTable.fetchCapabilityDatatable.projecthas been deprecated with no new equivalentCell-related methods have been renamed and, in some cases, have new signatures:Datatable.cellsis nowDataTable.listCellsDatatable.getis nowDataTable.fetchCellDatatable.deleteis nowDataTable.deleteCellDatatable.createis nowDataTable.createCellDatatable.setis nowDataTable.updateCell
- Web socket handling has been changed, so that accessing a data table no longer
automatically opens a web socket. Please see
DataTable.openWebSocketandDataTable.addWebSocketHandlerfor more details.
Note that there may be additional breaking changes.
Questions? Please let us know!