Updates to transformer 2.1.6 which resolves issues with binding to and from mashup parameters and Navigationfunction
parameters.
Updates to transformer 2.1.5 which adds support for visibility permissions in mashups and fixes emitted arrow functions to properly alias this
. (kklorenzotesta)
Updates to transformer 2.1 and typescript 5. (stefan-lacatus)
Resolves an issue where commands couldn't be interrupted while a progress bar was displayed. (stefan-lacatus)
Updates to transformer 2.0.2 which fixes a bug where enums were not properly inlined when referenced in certain global functions.
Updates the typings for the DisableSubscription
and EnableSubscription
to support the new signatures in Thingworx 9. (kklorenzotesta)
Updates to transformer 2.0.1 which fixes a bug where certain global functions were not properly copied over into services.
Adds a new help
command that can be used to obtain more information about what other commands do or how they are used.
Adds support for loading UIPlugins specified in a twconfig.json
file. UIPlugins are transformer extensions that can customize the output of widgets. Transformers will invoke methods on UIPlugins at several points while processing mashup files. UIPlugins have access to the widget's properties as well as any other data exposed by the transformer and are primarily meant to ensure consistency for widgets that contain hidden properties that are derived from other properties (e.g. navigation widgets contain an additional hidden property containing the parameter definitions for the mashup that was selected as the target).
Adds a new install-widgets
command that can be used to install widget typings and defaults to be used in mashups. This command requires, as an argument, a definitions file that was download from a Thingworx server using ThingCLIWidgetDefinitionDownloader.
Updates to transformer 2.0.0 which adds support for mashups, style definitions, state definitions, CSS and core ui mashups.
Updates to transformer 1.7.4 which resolves an issue that prevented location literal objects from being used.
Removes the projectType
aspect from project entities, which prevented the projects from being imported on Thingworx 8.5 or earlier. (CozminM)
Updates to transformer 1.7.3 with a similar change for compatibility with previous thingworx versions.
Updates to transformer 1.7.2. For more information, see 1.7.2
Updates to transformer 1.7.1, which disables downleveling arrow functions to bound functions.
When printing out diagnostic messages, if the message indicates a relevant line it will be printed out before the message.
Creating a project via the init
command no longer adds @types/node
to the project dependencies.
Adds support in multi-project repositories for projects that contain only XML entities. This makes it possible to have a repository that has a ThingWorx project written in typescript (like the backend) and another that has only XML entities (like the mashups). (stefan-lacatus)
Adds a new push
command that packages and uploads the xml projects using SourceControlImport, while uploading typescript projects as extensions. (stefan-lacatus)
Adds a new pull
command that pulls all xml project entities and updates the local XML files. (stefan-lacatus)
Adds a new --projects
argument that can be specified for the build
, upload
, deploy
, pull
and push
commands to limit the projects that are included when processing those commands.
Updates to transformer version 1.6.1, which includes the type definitions for SQLThing
.
Adds support for specifying which .env file to use. (stefan-lacatus)
Resolves an issue with the install
command that caused an error to be thrown when attempting to import Resource
entities.
The upload
command can now take an additional argument --extensions
that, when specified, causes the command to also upload any extensions in the extensions
directory in the root of the project to the thingworx server before uploading the project extension.
When specifying the @deploy
decorator on thing templates or thing shapes, the deploy command will now invoke the relevant services on things that derive from them.
When @deploy
services return a single value, these values will now be printed out.
Resolve an issue that caused the build process to fail in CICD pipelines where the stdout output was redirected. (stefan-lacatus)
The --uml
argument is now deprecated for the install
command and will print out a warning when used.
Added support for the --trace
argument for the build
command and related commands to create a profiling build.
While building files, a progress bar is now displayed to track the progress. Additionally, the elapsed time will now be displayed at the end of the transform process.
Adds support for a new option copyEntities
that can be defined in twconfig.json
that, when enabled, adds an additional step of copying any XML files in the src
folder(s) to the build output folder. Note that files will be copied with no additional modifications. They won't be assigned to the configured project and any other metadata, such as the change history will be retained.
Resolves an issue with the init
command where the version of the node type declarations was incompatible with the Thingworx type definitions. An older version is now used for new projects.
Updates to thing transformer 1.4.8. For more information, see Thing Transformer 1.4.8
Updates to thing transformer 1.4.7. For more information, see Thing Transformer 1.4.7
Resolves an issue when using install
with the --uml
argument that caused a JSON error to be thrown.
When running the install
command, the generated files will now also have tsdoc comments on the entity classes themselves, in addition to just the collection declarations.
When running the install
command, the argument documentation is now in a format that is compatible with typedoc
.
Adds support for a new argument --uml
that can be specified for the install
command. When specified, the generated declarations will only use direct type references for thing names and infotables, making it possible to generate UML diagrams with the proper connections. Additionally the arguments object used by services will be converted into a regular argument list. Note that declarations created using this argument cannot be used for development because they no longer use the proper types.
Adds support for the excludedEntities
property in twconfig.json
, which is used to prevent certain dependencies of entities from being included when using the install
command.
Updates to thing transformer 1.4.6. For more information, see Thing Transformer 1.4.6
Updates to thing transformer 1.4.5. For more information, see Thing Transformer 1.4.5
Resolves an issue that broke the generate-api
command.
Resolves an issue that caused https requests to thingworx servers to fail. (stefan-lacatus)
Updates to thing transformer 1.3.1 which resolves an issue where inline SQL statements would compile into code with syntax errors.
Adds a schema to newly created twconfig.json
files.
Newly created projects now have the noImplicitOverride
set to true
in tsconfig.json
.
Improved the speed of generating declarations and API exports by removing the standard typescript transformations which are discarded for these processes anyway.
Adds support for generating static field definitions objects and a function to create an infotable given an array of row objects and a data shape name when generating an API declarations file, to be used when invoking thingworx endpoints. (stefan-lacatus)
Adds support for running an additional set of validations when building projects. Classes will now be checked for incorrectly overriding members of their bases classes when possible.
Adds support for displaying warning messages reported by the transformer when building projects.
Updates thing transformer to v0.22.1 which resolves an issue that caused global functions to not be inlined when compiling on windows systems.
Adds support for thing transformer v0.22.
Adds a generate-api
command that generates an API declarations file that can be consumed by a separate frontend or node project. (stefan-lacatus)
Resolves an issue where, with certain configurations, the declarations generated via the watch command would trigger a new declaration generation leading to a loop.
Adds support for generating method helpers, that are useful variables that can be used for logging. The following variables can be enabled: METHOD_NAME
, CLASS_NAME
, FILE_PATH
and LOG_PREFIX
. (stefan-lacatus)
Resolves an issue where, on windows systems, the declarations generated via the watch command would trigger a new declaration generation leading to a loop.
Added a retainVersion
argument for the upload
and deploy
command to prevent automatic version increase.
Resolves an issue with an improperly declared import that prevented building this project without a local copy of thing transformer.
Resolves an issue that caused multiproject builds to fail on windows systems.
Resolves an issue where using the init
command with an app key would cause an incorrect .env
file to be generated and no debug launch configuraition to be created.
Resolves an issue where using the add-project
command would cause an incorrect tsconfig.json
file to be generated for the new project. The configuration had the incorrect path to the collection declaration files, preventing the subprojects from accessing their own entities via collections.