BTVA is compiled for node.js 22 and may use features not available in older node.js versions. Make sure proper version of node.js is used for project build. Projects that use older versions of @types/node should upgrade to the later versions compatible with node.js 22. Changes in code using obsolete functions may be required.
The latest versions of typescipt have stricter code validation and may report errors where they were previously ignored. Examples: not passing all mandatory function parameters, use of 'this' in workflow definitions (*.wf.ts).
Previously, when pulling and pushing policies, duplicates were allowed, however this didn't allow us to map them correctly. So that being the case, now policies with the same name and of the same type on the environment will break the execution of the code.
The VCD projects based on Angular 8 templates are not supported anymore. Projects must be upgraded to Angular 15 templates.
The following option have been removed:
- `powershell:7.4`
It is now possible to configure how the unit tests are being bootstrapped and executed.
Missing a close curly brace in the Workflow's User Interaction example.
The example now has a close curly brace.
For older vCD projects which are not buildable with Node 22 you can:
- Build them as a separate project
- Use Node version manager to dynamically switch between Node versions during build phases of the different subprojects
- Utilise Maven goals and plugins to dynamically switch to earlier Node version in the vCD project's pom.xml