Atoti UI 5.2 is backward compatible with the dashboards, widgets and filters saved in 5.1. The upgrade requires code changes but no content migration.Documentation Index
Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
Use this file to discover all available pages before exploring further.
Dependency upgrades
To upgrade to Atoti UI 5.2, you must upgrade your dependencies to the following versions:react: 18.3.1react-dom: 18.3.1antd: 5.6.4@emotion/react: 11.11.4
You can skip these upgrades if you do not have these dependencies.
Code changes
package.json
The following packages were renamed:@activeviam/activeui-sdk->@activeviam/atoti-ui-sdk@activeviam/activeui-scripts->@activeviam/atoti-ui-cli
@activeviam/atoti-ui-cli changed. They now allow to build and start individual extensions as well as to build and start an application with extensions. This makes them more useful if you build reusable extensions. Finally, our start command now features hot module replacement.
To benefit from these improvements, you must make the following changes to your package.json:
For more information about the arguments you can pass to these commands, use
--help. For instance:env.js
The shape of ourenv.js files has changed. Update it as follows:
jwtServer represents the server handling authentication. See Authentication for more information.
API changes
Please refer to the “Removed” and “Changed” sections of the changelog.Authentication
Off the shelf, Atoti UI 5.1 only supports basic authentication. To implement a different authentication scheme (in particular SSO), you must write both server-side code, and client-side JavaScript code. On the other hand, Atoti UI 5.2 works with any authentication scheme. You do not need to write any client-side JavaScript code to handle your authentication. This is achieved through thewithAuthenticatedClientsAndUser HOC, which can be used as a replacement for the deprecated withSandboxClients, and any custom connectivity HOC.
In your extension’s activate function, this translates into the following changes:
withAuthenticatedClientsAndUser requires some changes on the server side.
Please refer to the dedicated page on authentication for more details.