Skip to main content

25 posts tagged with "Improved"

Enhancements and updates to existing features

View All Tags

Set custom fields values using definition key

We enhanced the endpoint for setting custom field values to support definition keys as an alternative to definition UUIDs. This improvement eliminates the need to hardcode UUIDs in your integration code, making your implementations more maintainable and readable.

➕ POST: /api/custom-fields/v1/set-values/

Set custom field values

trackunit/iris-app v1.3.36 - Node upgraded to v22.14.0

In this version of the App SDK, we have upgraded Node to the current LTS version 22.14.0. Make sure to upgrade your workspace to at least Node v22.14.0.

If using volta, you can install the latest LTS version of Node by running:

volta install node@lts

Otherwise, you can download the latest LTS version of Node from the Node.js website.

trackunit/iris-app v0.0.5 - upgrade to rspack from webpack

In this version of our Iris App SDK we have added support for Rspack as well as the existing Webpack.

To read more on rspack, please visit the rspack documentation.

Iris apps created with @trackunit/iris-app@0.0.5 should already have the required rspack configuration.

Rename and update the webpack config file

Rename the webpack.config.ts file to rspack.config.ts and update the file to use the rspack configuration.

For the new rspack.config.ts file, you shold change the following import:

import { Configuration } from "webpack";

Change to:

import { Configuration } from "@rspack/core";

The end result should look like the following:

import { Configuration } from "@rspack/core";

export default (configuration: Configuration) => {
return configuration;
};

Change the following entries in targets map in the project.json file of your iris app.

For the build target, change the following:

"executor": "@trackunit/iris-app:build",

Change to:

"executor": "@trackunit/iris-app-sdk-rspack:build",

For the serve target, change the following:

"executor": "@trackunit/iris-app:serve",

Change to:

"executor": "@trackunit/iris-app-sdk-rspack:serve",

Also change the webpackConfig option to point to the new rspack.config.ts file instead of the webpack.config.ts file, and rename it to rspackConfig.

The end result should look something like the following.

...
"build": {
"executor": "@trackunit/iris-app-sdk-rspack:build",
"options": {
"outputPath": "dist/apps/your_app",
"rspackConfig": "apps/your_app/rspack.config.ts"
},
"outputs": ["{options.outputPath}"]
},
"serve": {
"executor": "@trackunit/iris-app-sdk-rspack:serve",
"options": {
"rspackConfig": "apps/your_app/rspack.config.ts"
},
"outputs": ["{options.outputPath}"]
},
...

trackunit/iris-app-api v0.0.172 - removed `default-src` from CSP header

[Breaking change] We are removing the default-src from the cspHeader property in the IrisX App manifest.

We are doing this since we have seen issues with more specific CSP rules and conflicts with default-src.

So in case you have to call an external API and defined:

{
"cspHeader": {
"default-src": ["https://api.mycompany.com"]
}
}

Then it should be changed to the more specific connect-src for API calls:

{
"cspHeader": {
"connect-src": ["https://api.mycompany.com"]
}
}